[SERVER-29342] CollectionShardingState to support oplog event StartRangeDeletion Created: 23/May/17  Updated: 30/Oct/23  Resolved: 02/Jun/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.5.9

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

Issue Links:
Depends
Documented
Related
related to SERVER-29594 "update" can produce documents with d... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2017-05-29, Sharding 2017-06-19
Participants:
Linked BF Score: 0

 Description   

Support for Safe Secondary Reads requires assistance from CollectionShardingState subsystem, including MetadataManager and CollectionRangeDeleter.

Specifically:

  • ScopedCollectionMetadata::operator==, !=
  • CollectionShardingState::overlappingMetadata(ChunkRange)
    -> std::vector<ScopedCollectionMetadata>
  • CollectionRangeDeleter to write a document StartRangeDeletion to collection admin.system.version containing

      { _id: 'startRangeDeletion', ns:<collection>, epoch:<epoch>, min:<low>, max:<high> }
      



 Comments   
Comment by Githook User [ 02/Jun/17 ]

Author:

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

Message: SERVER-29342 Fix build on windos
Branch: master
https://github.com/mongodb/mongo/commit/7c74e21713aa0dfecf9c04281ae17f3c37aaa94d

Comment by Githook User [ 02/Jun/17 ]

Author:

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

Message: SERVER-29342 CollectionShardState/RangeDeleter support for safe secondary reads
Branch: master
https://github.com/mongodb/mongo/commit/20e9320f7716515d68c27324dc20080d585fd70f

Comment by Githook User [ 01/Jun/17 ]

Author:

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

Message: Revert "SERVER-29342 CollectionShardState/RangeDeleter support for safe secondary reads"

This reverts commit 6bf062db95d69f06b02da708b54f5e3efbb9dfa5.
Branch: master
https://github.com/mongodb/mongo/commit/3c47c2f2992fb881622195ef5c045f08061e278b

Comment by Githook User [ 01/Jun/17 ]

Author:

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

Message: SERVER-29342 CollectionShardState/RangeDeleter support for safe secondary reads
Branch: master
https://github.com/mongodb/mongo/commit/6bf062db95d69f06b02da708b54f5e3efbb9dfa5

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