[SERVER-58545] collection are getting delete which have options: { temp: true } Created: 14/Jul/21  Updated: 27/Oct/23  Resolved: 15/Jul/21

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

Type: Question Priority: Major - P3
Reporter: Rajasekhar Reddy Vasantholla Assignee: Unassigned
Resolution: Community Answered Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

In My Mongo version 3.2.1, collections are getting deleted after every restart.

In debug logs i could see that, what ever the collection have options: { temp: true } are getting deleted.

Could you please let me know how to can i remove options: { temp: true } for a collection which is already created.

2021-07-14T18:23:18.044+0530 D STORAGE [conn25] create collection conn_prod.conn_user::test_collections { temp: true }
2021-07-14T18:23:18.044+0530 D STORAGE [conn25] WT begin_transaction
2021-07-14T18:23:18.044+0530 D STORAGE [conn25] stored meta data for conn_prod.conn_user::test_collections @ RecordId(366)
2021-07-14T18:23:18.044+0530 D STORAGE [conn25] WiredTigerKVEngine::createRecordStore uri: table:conn_prod/collection-12--5968079627423616812 config: type=file,memory_page_max=10m,split_pct=90,leaf_value_max=64MB,checksum=on,block_compressor=snappy,,key_format=q,value_format=u,app_metadata=(formatVersion=1)
2021-07-14T18:23:18.046+0530 D STORAGE [conn25] WiredTigerUtil::checkApplicationMetadataFormatVersion uri: table:conn_prod/collection-12--5968079627423616812 ok range 1 -> 1 current: 1
2021-07-14T18:23:18.046+0530 D STORAGE [conn25] looking up metadata for: conn_prod.conn_user::test_collections @ RecordId(366)
2021-07-14T18:23:18.046+0530 D STORAGE [conn25] fetched CCE metadata: { ns: "conn_prod.conn_user::test_collections", ident: "conn_prod/collection-12--5968079627423616812", md:

{ ns: "conn_prod.conn_user::test_collections", *options: \{ temp: true }

*, indexes: [] } }
2021-07-14T18:23:18.046+0530 D STORAGE [conn25] returning metadata: md: { ns: "conn_prod.conn_user::test_collections", options:

{ temp: true }

, indexes: [] }



 Comments   
Comment by Dmitry Agranat [ 15/Jul/21 ]

Hi v.rajasekhar123@gmail.com, as MongoDB 3.2 has reached EOL in September 2018, I will go ahead and close this ticket. For this issue, we'd like to encourage you to start by asking our community for help by posting on the MongoDB Developer Community Forums.

Generated at Thu Feb 08 05:44:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.