Skip to content

Commit

Permalink
chore: fix function name in comment (#579)
Browse files Browse the repository at this point in the history
Signed-off-by: rustfix <771054535@qq.com>
  • Loading branch information
rustfix committed Apr 15, 2024
1 parent 94f69a0 commit 5e1c112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db.go
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ func (db *DB) Checkpoint(ctx context.Context, mode string) (err error) {
return db.checkpoint(ctx, generation, mode)
}

// checkpointAndInit performs a checkpoint on the WAL file and initializes a
// checkpoint performs a checkpoint on the WAL file and initializes a
// new shadow WAL file.
func (db *DB) checkpoint(ctx context.Context, generation, mode string) error {
// Try getting a checkpoint lock, will fail during snapshots.
Expand Down

0 comments on commit 5e1c112

Please sign in to comment.