[SERVER-29136] Add shard key to oplog entries Created: 11/May/17  Updated: 30/Oct/23  Resolved: 25/Sep/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.6.0-rc0

Type: Task Priority: Major - P3
Reporter: Crystal Horn Assignee: Nathan Myers
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-31953 Range deletions by documentKey (shard... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2017-07-31, Sharding 2017-08-21, Sharding 2017-09-11, Sharding 2017-10-02
Participants:

 Comments   
Comment by Githook User [ 09/Oct/17 ]

Author:

{'email': 'ncm@cantrip.org', 'name': 'Nathan Myers', 'username': 'ncm'}

Message: SERVER-29136 Enforce element order in oplog shard key records
Branch: master
https://github.com/mongodb/mongo/commit/29342abd41293c78104c288cb1c4807df94d8de2

Comment by Githook User [ 25/Sep/17 ]

Author:

{'email': 'nathan.myers@10gen.com', 'name': 'Nathan Myers', 'username': 'nathan-myers-mongo'}

Message: SERVER-29136 Revert declaration syntax improvement
Branch: master
https://github.com/mongodb/mongo/commit/dec0292f19aa32b51fc25a002972c61b14142aa5

Comment by Githook User [ 25/Sep/17 ]

Author:

{'email': 'nathan.myers@10gen.com', 'name': 'Nathan Myers', 'username': 'nathan-myers-mongo'}

Message: SERVER-29136 Plumb update document key through to op log
Branch: master
https://github.com/mongodb/mongo/commit/0939e1447aa5b4291c09c1fab2344a66098213dd

Comment by Githook User [ 15/Aug/17 ]

Author:

{'username': 'ncm', 'email': 'ncm@cantrip.org', 'name': 'Nathan Myers'}

Message: SERVER-29136 Better extractDocumentKey
Branch: master
https://github.com/mongodb/mongo/commit/d618d0349b807108d4eb8b36feaaa81d59350038

Comment by Githook User [ 10/Aug/17 ]

Author:

{'name': 'Nathan Myers', 'email': 'nathan.myers@10gen.com'}

Message: SERVER-29136 Op log deletes get shard key
Branch: master
https://github.com/mongodb/mongo/commit/972a7cb7b7676ab5d132fbd1b40dc3e8f98ae48c

Comment by Githook User [ 10/Aug/17 ]

Author:

{'email': 'ncm@cantrip.org', 'name': 'Nathan Myers'}

Message: Revert "SERVER-29136 Op log deletes get shard key"

This reverts commit 972a7cb7b7676ab5d132fbd1b40dc3e8f98ae48c.
Branch: master
https://github.com/mongodb/mongo/commit/c02c14e30d75b02894da116f4bb1a71652ead2b4

Comment by Githook User [ 09/Aug/17 ]

Author:

{'username': 'ncm', 'email': 'ncm@cantrip.org', 'name': 'Nathan Myers'}

Message: SERVER-29136 Op log deletions get shard keys
Branch: master
https://github.com/mongodb/mongo/commit/338d798d168f3aaafa8c45c82221d294abef46f0

Comment by Githook User [ 09/Aug/17 ]

Author:

{'username': 'ncm', 'email': 'ncm@cantrip.org', 'name': 'Nathan Myers'}

Message: Revert "SERVER-29136 Op log deletions get shard keys"

This reverts commit 7653edd84b312a372500814587589633f11b5d2f.
Branch: master
https://github.com/mongodb/mongo/commit/ae0f57128d108f2f4c7d701b04dc1dfe4a67fd51

Comment by Githook User [ 09/Aug/17 ]

Author:

{'username': 'ncm', 'email': 'ncm@cantrip.org', 'name': 'Nathan Myers'}

Message: SERVER-29136 Op log deletions get shard keys
Branch: master
https://github.com/mongodb/mongo/commit/7653edd84b312a372500814587589633f11b5d2f

Comment by Nathan Myers [ 03/Aug/17 ]

Author:

{u'username': u'nathan-myers-mongo', u'name': u'Nathan Myers', u'email': u'nathan.myers@10gen.com'}

Message: Revert "SERVER-29136 Op log deletes get shard key"
Branch: master
https://github.com/mongodb/mongo/commit/c02c14e30d75b02894da116f4bb1a71652ead2b4

Comment by Spencer Brody (Inactive) [ 03/Aug/17 ]

So far shard keys have been added to delete oplog entries, but they still need to be added to inserts and updates.

Comment by Nathan Myers [ 02/Aug/17 ]

Author:

{u'username': u'nathan-myers-mongo', u'name': u'Nathan Myers', u'email': u'nathan.myers@10gen.com'}

Message: SERVER-29136 Op log deletes get shard key
Branch: master
https://github.com/mongodb/mongo/commit/972a7cb7b7676ab5d132fbd1b40dc3e8f98ae48c

Comment by Spencer Brody (Inactive) [ 17/Jul/17 ]

Hi wolf_kdy, thank you for the offer, sorry we missed this request earlier. At this point we already have work underway to do this on our end, but appreciate the offer and the good work you did on SERVER-22766.

Comment by deyukong [ 11/May/17 ]

I have done a similiar thing recently.
I'm willing to contribute a pr about this issue by migrating code from my own branch to trunk.
Do you guys have further plan for this issue now?
Are you willing to review my patch?

Generated at Thu Feb 08 04:19:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.