Return version number from reads

This commit is contained in:
Vitaliy Filippov
2020-02-12 12:30:50 +03:00
parent 1100ad44bd
commit b7ccd63104
6 changed files with 26 additions and 7 deletions
+1 -1
View File
@@ -309,7 +309,7 @@ public:
void enqueue_op(blockstore_op_t *op, bool first = false);
// Unstable writes are added here (map of object_id -> version)
std::map<object_id, uint64_t> unstable_writes;
std::unordered_map<object_id, uint64_t> unstable_writes;
inline uint32_t get_block_size() { return block_size; }
inline uint64_t get_block_count() { return block_count; }