You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I see, Cluster can be seemed as Space in storage engine, and Shard can be seemed as Table.
So call relationship between Cluster and Shard should be similar as Space and Table's, like:
However the operation levels seems messy in current design.
Proposal
Refactor the call path between Cluster and Shard to be similar as Space and Table.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
…ions of `Shard` (#1056)
## Rationale
Close#1053
Now, write operations for shard will be performed parallelly in ceresdb
node(e.g. recover, alter tables in shard).
Obviously, those operations should be performed sequentially like what
about table.
## Detailed Changes
+ introduce `Shard` like `Table`.
+ make write operations for shard performing sequentially by adding a
mutex.
## Test Plan
Test manually.
Rachelint
added a commit
to Rachelint/ceresdb
that referenced
this issue
Jul 11, 2023
…ions of `Shard` (apache#1056)
## Rationale
Closeapache#1053
Now, write operations for shard will be performed parallelly in ceresdb
node(e.g. recover, alter tables in shard).
Obviously, those operations should be performed sequentially like what
about table.
## Detailed Changes
+ introduce `Shard` like `Table`.
+ make write operations for shard performing sequentially by adding a
mutex.
## Test Plan
Test manually.
Describe This Problem
As I see,
Cluster
can be seemed asSpace
in storage engine, andShard
can be seemed asTable
.So call relationship between
Cluster
andShard
should be similar asSpace
andTable
's, like:However the operation levels seems messy in current design.
Proposal
Refactor the call path between
Cluster
andShard
to be similar asSpace
andTable
.Additional Context
No response
The text was updated successfully, but these errors were encountered: