Skip to content

Remove mutex from DataStoreService #58

@lzxddz

Description

@lzxddz

Use an vector to store all shards' datastore instead of use a shared_mutex.
Avoid creating a new CallbackData object every time we call functions of DataStoreServiceClient.
Remove rpc channel from all closures. Just fetch channel when use it.
Check whether the datastore is on current node at receive request instead of in datastore.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions