Skip to content

Commit

Permalink
tidy: drop hm ...
Browse files Browse the repository at this point in the history
  • Loading branch information
felixangell committed Oct 10, 2024
1 parent 1d7674f commit 9553188
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion api/segment.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ func (s *TopicPartitionSegment) CommitRecord(rec *apiv1.Record, offset uint64) {
s.bytesSinceLastIndexWrite += uint64(numBytesWritten)
}

// hm...
type IndexFile []*apiv1.Index

type TimeIndexFile []*apiv1.TimeIndex
Expand Down
9 changes: 4 additions & 5 deletions gen/command/v1/command.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion proto/command/v1/command.proto
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ message SeekOffsetCommand {
string consumer_group_id = 1;
string client_id = 2;

// hm...
api.v1.TopicPartition topic_partition = 3;

api.v1.SeekIndex seek_index = 4;
Expand Down
1 change: 0 additions & 1 deletion test/integration/consumer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func TestConsumerRestart(t *testing.T) {
go func() {
m, s, sock := server.ListenAndServe(":1234", "/tmp/leader", 1, "leaderNode", true)

// hm.
go func() {
if err := s.Serve(sock); err != nil {
panic(err)
Expand Down

0 comments on commit 9553188

Please sign in to comment.