We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8a3345 commit 9454c3cCopy full SHA for 9454c3c
engines/ep/src/checkpoint.h
@@ -294,14 +294,6 @@ class Checkpoint {
294
return checkpointId;
295
}
296
297
- /**
298
- * Set the checkpoint Id
299
- * @param id the checkpoint Id to be set.
300
- */
301
- void setId(uint64_t id) {
302
- checkpointId = id;
303
- }
304
-
305
/**
306
* Return the creation timestamp of this checkpoint in sec.
307
*/
@@ -643,7 +635,7 @@ class Checkpoint {
643
635
CheckpointManager* manager = nullptr;
644
636
645
637
EPStats& stats;
646
- uint64_t checkpointId;
638
+ const uint64_t checkpointId;
647
639
uint64_t snapStartSeqno;
648
640
uint64_t snapEndSeqno;
649
641
0 commit comments