We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bab62a commit 38ff3aaCopy full SHA for 38ff3aa
1 file changed
flow/connectors/external_metadata/store.go
@@ -270,7 +270,7 @@ func (p *PostgresMetadata) FinishQRepPartition(
270
// Clone rather than mutate in place because this partition is shared with the pull
271
// goroutine, cloning keeps us from relying on implicit ordering to avoid a write race.
272
// TODO: drop the sync_partition column entirely; nothing reads it back.
273
- partition = proto.Clone(partition).(*protos.QRepPartition)
+ partition = proto.CloneOf(partition)
274
partition.Range = nil
275
}
276
pbytes, err := protojson.Marshal(partition)
0 commit comments