Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void testExpired() {
UnsubscribeEvent event = new UnsubscribeEvent(calculateDeadlineMs(time.milliseconds(), timeoutMs));
reaper.add(event);

// Without any time passing, we check the reaper and verify that the event is not done amd is still
// Without any time passing, we check the reaper and verify that the event is not done and is still
// being tracked.
assertEquals(0, reaper.reap(time.milliseconds()));
assertFalse(event.future().isDone());
Expand Down Expand Up @@ -75,7 +75,7 @@ public void testCompleted() {
UnsubscribeEvent event = new UnsubscribeEvent(calculateDeadlineMs(time.milliseconds(), timeoutMs));
reaper.add(event);

// Without any time passing, we check the reaper and verify that the event is not done amd is still
// Without any time passing, we check the reaper and verify that the event is not done and is still
// being tracked.
assertEquals(0, reaper.reap(time.milliseconds()));
assertFalse(event.future().isDone());
Expand Down Expand Up @@ -106,7 +106,7 @@ public void testCompletedAndExpired() {
reaper.add(event1);
reaper.add(event2);

// Without any time passing, we check the reaper and verify that the event is not done amd is still
// Without any time passing, we check the reaper and verify that the event is not done and is still
// being tracked.
assertEquals(0, reaper.reap(time.milliseconds()));
assertFalse(event1.future().isDone());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
* Offset = offset of the first message in each epoch.
* <p>
* Note that {@link #truncateFromStartAsyncFlush},{@link #truncateFromEndAsyncFlush} flush the epoch-entry changes to checkpoint asynchronously.
* Hence, it is instantiater's responsibility to ensure restoring the cache to the correct state after instantiating
* Hence, it is instantiator's responsibility to ensure restoring the cache to the correct state after instantiating
* this class from checkpoint (which might contain stale epoch entries right after instantiation).
*/
public final class LeaderEpochFileCache {
Expand Down
Loading