Skip to content

Commit

Permalink
[hotfix] Fix the typo in comments (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aitozi authored Dec 17, 2024
1 parent c770262 commit de8a015
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ public void flush(long exclusiveUpToLogOffset, FatalErrorHandler fatalErrorHandl
kvLock,
() -> {
// when kv manager is closed which means kv tablet is already closed,
// but the tablet server may still handles fetch log request from follower
// but the tablet server may still handle fetch log request from follower
// as the tablet rpc service is closed asynchronously, then update the watermark
// and then flush the pre-write buffer.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ public void checkProjection(@Nullable int[] projectedFields) {
private void onBecomeNewLeader() {
if (isKvTable()) {
// if it's become new leader, we must
// fist destroy the old kv tablet
// first destroy the old kv tablet
// if exist. Otherwise, it'll use still the old kv tablet which will cause data loss
dropKv();
// now, we can create a new kv tablet
Expand Down

0 comments on commit de8a015

Please sign in to comment.