Description
MemoryNodeStore can possibly issue duplicate checkpoint. In below logic if checkpoints has one entry then on subsequent call to issue checkpoint the name would be set to checkpoint1 only. This causes AsyncIndexUpdate test to fail in some cases
@Override public String checkpoint(long lifetime, @Nonnull Map<String, String> properties) { checkArgument(lifetime > 0); checkNotNull(properties); String checkpoint = "checkpoint" + checkpoints.size(); checkpoints.put(checkpoint, new Checkpoint(getRoot(), properties)); return checkpoint; }
Attachments
Attachments
Issue Links
- blocks
-
OAK-3155 AsyncIndex stats do not capture execution for runs where no indexing is performed
- Closed