[SERVER-68271] Trigger Collection instantiation when reading PIT earlier than last DDL timestamp in Collection Created: 25/Jul/22  Updated: 29/Oct/23  Resolved: 26/Jan/23

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

Type: Task Priority: Major - P3
Reporter: Henrik Edin Assignee: Matthew Saltz (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-66283 Tailable cursors can miss writes on u... Closed
is depended on by SERVER-73275 Use openCollection with NamespaceOrUU... Closed
is depended on by SERVER-71817 openCollection should store const ins... Closed
Duplicate
is duplicated by SERVER-70848 Integrate instantiating collection in... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-02-06
Participants:

 Description   

When setting up the read AutoGetCollectionForRead should trigger the instantiation of Collection instance instead of retrying the operation or error with SnapshotUnavailable.



 Comments   
Comment by Githook User [ 26/Jan/23 ]

Author:

{'name': 'Matthew Saltz', 'email': 'matthew.saltz@mongodb.com', 'username': 'saltzm'}

Message: SERVER-68271 Integrate point-in-time catalog lookups into the lock-free read path

This ticket ended up consisting of several different pieces of work:

  • Implement AutoGetCollectionForReadLockFreePITCatalog, which will be used for
    the implementation of AutoGetCollectionForReadLockFree when the
    PointInTimeCatalogLookups feature flag is enabled
  • Disable and update tests to take into account the new behavior when the feature
    flag is enabled
  • Fix a bug in CollectionImpl::initFromExisting where we were looking up the
    shared index ident for an index by index name rather than by index ident,
    which would lead to returning the wrong ident
  • Disable old code in the IndexCatalog that would filter out index entries when
    the read timestamp was less than the minVisibleSnapshot for those entries
    Branch: master
    https://github.com/mongodb/mongo/commit/b20c9e6ff98c1c37ac609e950081870053e3693a
Generated at Thu Feb 08 06:10:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.