-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Block Cache
-
Security Level: Public (Available to anyone on the web)
-
Storage Engines - Persistence
-
7,789.199
-
StorEng - Defined Pipeline
-
None
When a page is returned from the block cache, it should always be a copy, not the actual instance from the cache.
If the data is neither encrypted nor compressed, the user may (or will) get a reference to the original cache content instead of a copy.
This code:
if (!expect_conversion) {
/* Copy to the caller's buffer before releasing our reference. */
WT_ERR(__wt_buf_set(session, buf, ip->data, ip->size));
goto verify;
}
is intended to create a copy, but if ip == buf, the copy isn't performed.
- is depended on by
-
WT-15630 (disagg.mode=leader) test/format key OOO (non-delta) block_cache=1
-
- Closed
-
- is related to
-
WT-15658 Disable block cache in WT
-
- Closed
-
- related to
-
WT-15676 heap-use-after-free between two eviction threads
-
- Closed
-
-
WT-18872 Remove legacy block-cache options from test/format
-
- Open
-
-
WT-18873 Remove legacy block-cache tests while preserving victim-cache coverage
-
- Open
-
-
WT-18874 Deprecate block_cache configuration, rejecting enablement with ENOTSUP
-
- Open
-
-
WT-18875 Remove legacy block-cache hooks from shared block I/O
-
- Open
-
-
WT-15668 Placeholder for asan failures
-
- Closed
-
-
WT-13433 failed: format-stress-test-no-barrier on ubuntu2004-stress-tests [wiredtiger @ a84dc28c]
-
- Closed
-