-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
None
-
Storage Engines
-
ALL
When WiredTiger (WT) encounters corruption, it sets a PANIC on the connection and begins to shutdown. A salvage error is returned, asking MongoDB to call wiredtiger_open with salvage set in the configuration to recover the data.
As part of the shutdown after detecting corruption, it is not safe to traverse the internal btree and evict data. The tree structure itself could be corrupted or we might end up writing corrupted data to the disk. Without going through eviction at the time of shutdown WiredTiger is unable to safely release memory that was used to build the cache. In such a case if MongoDB opens a new connection to WiredTiger to salvage, it is going to leak the memory previous WiredTiger connection did not free.
This ticket is going to investigate the cases where a new WT connection is opened after WT shuts down with corruption causing MongoDB to leak memory.
The related tickets might point out to BFs that have detected this memory leak.
- is related to
-
WT-6694 Memory leak issues when closing with PANIC set
- Closed