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
During the RocksDB do checkpoint, can other threads perform read and write operations normally? Is it necessary to add locks when calling this function?
example:
thread1:
while(1) {
(whether need lock here?)
rocskdb.read()
}
thread2:
(do we need use lock here to prevent read/write during checkpoint?)
Status Create(DB* db, Checkpoint** checkpoint_ptr);
Status CreateCheckpoint(const std::string& checkpoint_dir);
The text was updated successfully, but these errors were encountered:
During the RocksDB do checkpoint, can other threads perform read and write operations normally? Is it necessary to add locks when calling this function?
example:
thread1:
thread2:
The text was updated successfully, but these errors were encountered: