[SERVER-38927] Cache collection 'temp' status on Collection object Created: 10/Jan/19  Updated: 04/Mar/19  Resolved: 04/Mar/19

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

Type: Task Priority: Major - P3
Reporter: Judah Schvimer Assignee: Divjot Arora (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-38139 Ban temporary collections in prepared... Closed
Sprint: Storage NYC 2019-03-11
Participants:
Story Points: 3

 Description   

We cache things like validators and 'capped' status on the Collection object so we do not need to go all the way to storage and open up a storage transaction every time we want to check the value.

As far as I know, 'temp' cannot change with 'collMod', but it can with 'renameCollection', and on rollback.

This is needed for SERVER-38139 to ban temporary collections in transactions without having to consult the storage engine an extra time for every transaction statement.


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