Skip to content

Commit

Permalink
Merge pull request #1182 from camunda/fix-in-memory-log-storage
Browse files Browse the repository at this point in the history
fix: add highestPosition to logStorage
  • Loading branch information
nicpuppa authored May 14, 2024
2 parents 61f5231 + c3d3523 commit f6ba72e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ public void append(
logEntries.add(blockBuffer);
final int index = logEntries.size();
positionIndexMapping.put(lowestPosition, index);
listener.onWrite(index);
listener.onWrite(index, highestPosition);

listener.onCommit(index);
listener.onCommit(index, highestPosition);
commitListeners.forEach(CommitListener::onCommit);
}

Expand Down

0 comments on commit f6ba72e

Please sign in to comment.