Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

design document: how database schema information is renewed #253

Closed
Totktonada opened this issue Dec 23, 2021 · 0 comments · Fixed by #317
Closed

design document: how database schema information is renewed #253

Totktonada opened this issue Dec 23, 2021 · 0 comments · Fixed by #317
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@Totktonada
Copy link
Member

Totktonada commented Dec 23, 2021

It is not easy to deduce design decisions and reasons from the code, so I would like to see a document that would answer the following questions:

  • When and how the schema is reloaded.
  • Where it leans on built-in net.box schema reload and where it doesn't.
  • Which alternatives were considered and why they were declined?
  • The same questions about sharding key and sharding function information reload.

See the following discussion: #111.

See == conditions in schema.batching_result_needs_reload() and sharding.batching_result_needs_sharding_reload() from PR #232.


NB: net.box space objects can update in background, correct? So we can flatten an object using an old schema, receive the new space hash from the storage and compare it with the new schema on the router (because it was updated).

@Totktonada Totktonada added documentation Improvements or additions to documentation teamE labels Dec 23, 2021
@DifferentialOrange DifferentialOrange added 2sp and removed 2sp labels Aug 3, 2022
DifferentialOrange added a commit that referenced this issue Aug 3, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
DifferentialOrange added a commit that referenced this issue Aug 3, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
DifferentialOrange added a commit that referenced this issue Aug 12, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
DifferentialOrange added a commit that referenced this issue Aug 12, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
DifferentialOrange added a commit that referenced this issue Aug 12, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
DifferentialOrange added a commit that referenced this issue Aug 12, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
DifferentialOrange added a commit that referenced this issue Aug 15, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
DifferentialOrange added a commit that referenced this issue Aug 15, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
DifferentialOrange added a commit that referenced this issue Aug 15, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
DifferentialOrange added a commit that referenced this issue Aug 15, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
DifferentialOrange added a commit that referenced this issue Aug 15, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
DifferentialOrange added a commit that referenced this issue Aug 15, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
DifferentialOrange added a commit that referenced this issue Aug 16, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
DifferentialOrange added a commit that referenced this issue Aug 17, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
DifferentialOrange added a commit that referenced this issue Aug 17, 2022
This patch adds a small document describing how space and sharding
schemas works in the module. It covers what schemas are, how we store,
use and reload them in requests.

Closes #253
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants