[SERVER-37443] Reuse in-memory catalog objects through collection rename Created: 03/Oct/18  Updated: 29/Oct/23  Resolved: 23/Oct/18

Status: Closed
Project: Core Server
Component/s: Catalog
Affects Version/s: None
Fix Version/s: 4.1.5

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

Issue Links:
Depends
Duplicate
duplicates SERVER-49384 the replset primary crashed without a... Closed
is duplicated by SERVER-52926 [3.6] Mongo db crash with Got signal:... Closed
is duplicated by SERVER-36413 Reuse in-memory catalog objects throu... Closed
Problem/Incident
Related
related to SERVER-38033 Collection _ns should be protected fr... Closed
related to SERVER-38419 Crash in rename collection Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2018-10-22, Query 2018-11-05
Participants:
Linked BF Score: 60

 Description   

This is the first step in allowing queries to survive collection rename.



 Comments   
Comment by Githook User [ 31/Oct/18 ]

Author:

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

Message: SERVER-37443 Fix use of invalidated StringMap iterator.
Branch: master
https://github.com/mongodb/mongo/commit/5180b48eedec5e57e7f12f734d173184bbff2af7

Comment by Githook User [ 25/Oct/18 ]

Author:

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

Message: SERVER-37443 Don't call a virtual method in CollectionInfoCacheImpl destructor.
Branch: master
https://github.com/mongodb/mongo/commit/c4b8fd97ef28f9fc95b5e710c4623a2e7f79314b

Comment by Githook User [ 23/Oct/18 ]

Author:

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

Message: SERVER-37443 Make catalog objects survive collection rename.

This change only applies to collection renames within the
same database. Rename across databases requires copying the
data, and the resulting collection will have a new UUID.
Branch: master
https://github.com/mongodb/mongo/commit/2cdc2a96e1c8779658fe0eab459dcc38cf01c54d

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