[SERVER-17132] Index contains extra entries Created: 30/Jan/15  Updated: 18/Sep/15  Resolved: 04/Feb/15

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.0.0-rc8

Type: Bug Priority: Blocker - P1
Reporter: Daniel Pasette (Inactive) Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File repro.js    
Issue Links:
Depends
depends on SERVER-17062 Make query execution robust to WriteC... Closed
Related
related to SERVER-17371 findAndModify can update a document t... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Comments   
Comment by Githook User [ 04/Feb/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-17132 make findAndModify behave correctly with concurrent writes

(cherry picked from commit 51fdd6114daa0cfb5c27a2d0116f05ceae8ad211)
Branch: v3.0
https://github.com/mongodb/mongo/commit/1c3f32bedac9a9277b7088f83848fe577526b6da

Comment by Githook User [ 04/Feb/15 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-17132 Need to restoreState on early return in UpdateStage

(cherry picked from commit acb211cf14ec8ee524b450e5c914080d516b1c47)
Branch: v3.0
https://github.com/mongodb/mongo/commit/79fee94b8a9c330cb1d1a2e824e1407e9f83e5a1

Comment by Githook User [ 04/Feb/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-17132 use snapshot id in DeleteStage, and re-check predicate

(cherry picked from commit 4b4c7bcc0880f079868209c58a2da86dad645c1b)
Branch: v3.0
https://github.com/mongodb/mongo/commit/82da5f61063358399bfb05f605d762cc651fb160

Comment by Githook User [ 04/Feb/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-17132 add regression test for duplicate index entries bug

(cherry picked from commit 1e93bc47d0e9e4c75f0d64b507916767bbaee0b9)
Branch: v3.0
https://github.com/mongodb/mongo/commit/2e2a80f90857eb3d1bb3179fd67a37b0e107f102

Comment by Githook User [ 04/Feb/15 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-17132: WiredTiger recovery unit txn id needs to start > 0

(cherry picked from commit 37c51fa184f5439bed7a3ce157ea11fad1303177)
Branch: v3.0
https://github.com/mongodb/mongo/commit/8211bb30f4a5720d3e37c79da140f512ab2f630d

Comment by Githook User [ 04/Feb/15 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-17132: fix debug build include

(cherry picked from commit eb6c0e27804d81d326e8aa2f42569b82f027ed00)
Branch: v3.0
https://github.com/mongodb/mongo/commit/cd2e9dca7a9269d000406f1fdf7bb95993e3de91

Comment by Githook User [ 04/Feb/15 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-17132: Added SnapshotId and Snapshotted and use them in query to make sure we use correct versions of docs

(cherry picked from commit d46a5c78c0d046f1975aca2eaa7f055a713c720f)
Branch: v3.0
https://github.com/mongodb/mongo/commit/ff3078654ada4c8ff6d6e44660a9a25dd77753c5

Comment by Githook User [ 04/Feb/15 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-17132 Update and Delete stages need to forceFetchAllLocs after saveState

(cherry picked from commit 87f1334585928a2b86407f68ecb6b35c62855b24)
Branch: v3.0
https://github.com/mongodb/mongo/commit/b4cb950bc48ad3bfe107befa1bc9fed665c98b45

Comment by Githook User [ 03/Feb/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-17132 make findAndModify behave correctly with concurrent writes
Branch: master
https://github.com/mongodb/mongo/commit/51fdd6114daa0cfb5c27a2d0116f05ceae8ad211

Comment by Githook User [ 03/Feb/15 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-17132 Need to restoreState on early return in UpdateStage
Branch: master
https://github.com/mongodb/mongo/commit/acb211cf14ec8ee524b450e5c914080d516b1c47

Comment by Githook User [ 03/Feb/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-17132 use snapshot id in DeleteStage, and re-check predicate
Branch: master
https://github.com/mongodb/mongo/commit/4b4c7bcc0880f079868209c58a2da86dad645c1b

Comment by Githook User [ 03/Feb/15 ]

Author:

{u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

Message: SERVER-17132 add regression test for duplicate index entries bug
Branch: master
https://github.com/mongodb/mongo/commit/1e93bc47d0e9e4c75f0d64b507916767bbaee0b9

Comment by Githook User [ 02/Feb/15 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-17132: WiredTiger recovery unit txn id needs to start > 0
Branch: master
https://github.com/mongodb/mongo/commit/37c51fa184f5439bed7a3ce157ea11fad1303177

Comment by Githook User [ 02/Feb/15 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-17132: fix debug build include
Branch: master
https://github.com/mongodb/mongo/commit/eb6c0e27804d81d326e8aa2f42569b82f027ed00

Comment by Githook User [ 02/Feb/15 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-17132: Added SnapshotId and Snapshotted and use them in query to make sure we use correct versions of docs
Branch: master
https://github.com/mongodb/mongo/commit/d46a5c78c0d046f1975aca2eaa7f055a713c720f

Comment by Githook User [ 02/Feb/15 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-17132 Update and Delete stages need to forceFetchAllLocs after saveState
Branch: master
https://github.com/mongodb/mongo/commit/87f1334585928a2b86407f68ecb6b35c62855b24

Comment by David Storch [ 02/Feb/15 ]

Attaching a simple JavaScript reproducer scrip (see repro.js). Takes only a few seconds to generate lots of extra index entries for index {c: 1}.

Generated at Thu Feb 08 03:43:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.