mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
chore: cosmetic changes around Snapshot functions (#3652)
* chore: cosmetic changes around Snapshot functions Some renames and added comments. Refactored StartIncremental into a separate function without any functional changes. Signed-off-by: Roman Gershman <roman@dragonflydb.io> * chore: fix comments --------- Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
1d34bf735e
commit
264835e9c4
7 changed files with 102 additions and 88 deletions
|
@ -56,6 +56,10 @@ class EngineShard {
|
|||
return shard_;
|
||||
}
|
||||
|
||||
bool IsMyThread() const {
|
||||
return this == shard_;
|
||||
}
|
||||
|
||||
ShardId shard_id() const {
|
||||
return shard_id_;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue