Skip to content

Commit

Permalink
Log oplog reading
Browse files Browse the repository at this point in the history
  • Loading branch information
lalinsky committed Nov 30, 2024
1 parent b7e6f77 commit a9b5497
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Oplog.zig
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ pub const OplogIterator = struct {
}
var buf: [file_name_size]u8 = undefined;
const file_name = try generateFileName(&buf, self.files.items[self.current_file_index].id);
log.info("reading oplog file {s}", .{file_name});
const file = try self.dir.openFile(file_name, .{});
self.current_iterator = OplogFileIterator.init(self.allocator, file);
}
Expand Down

0 comments on commit a9b5497

Please sign in to comment.