Skip to content

Commit 06ddd04

Browse files
authored
Merge pull request #1317 from percona/PBM-1682-mongo-tools-bump
PBM-1682: mongo-tools bump related cleanup
2 parents ba2c0a8 + 5d49299 commit 06ddd04

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

pbm/archive/archive.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,7 @@ func closeChunk(w io.Writer, ns *Namespace) error {
224224
Database: ns.Database,
225225
Collection: ns.Collection,
226226
EOF: true,
227-
// migration mongo-driver v1->v2: fix this in PBM-1682
228-
CRC: uint64(ns.CRC), //nolint:gosec
227+
CRC: uint64(ns.CRC), //nolint:gosec
229228
}
230229
if ns.Type == "timeseries" {
231230
nsHeader.Collection = "system.buckets." + nsHeader.Collection

pbm/oplog/restore.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -915,8 +915,6 @@ func txnInnerOps(txnOp *db.Oplog) ([]db.Oplog, error) {
915915
// so we are assigning them from the parent transaction op
916916
op.Timestamp = txnOp.Timestamp
917917
op.Term = txnOp.Term
918-
// migration mongo-driver v1->v2: fix this in PBM-1682
919-
// op.Hash = txnOp.Hash
920918

921919
ops[i] = *op
922920
}

0 commit comments

Comments
 (0)