Skip to content
Merged
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
8 changes: 6 additions & 2 deletions replication_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,16 @@ func (c *client) DatabaseInventory(ctx context.Context, db Database) (DatabaseIn
}

// BatchID reported by the server
func (b batchMetadata) BatchID() string {
// The receiver is pointer because this struct contains the field `closed` and it can not be copied
// because race detector will complain.
func (b *batchMetadata) BatchID() string {
return b.ID
}

// LastTick reported by the server for this batch
func (b batchMetadata) LastTick() Tick {
// The receiver is pointer because this struct contains the field `closed` and it can not be copied
// because race detector will complain.
func (b *batchMetadata) LastTick() Tick {
return b.LastTickInt
}

Expand Down