If we have rewrite delta using a reconciliation, the updates need to be instantiated should have been done inside the rewrite code. No need to do it again. Doing it again triggers the following assert:
/*
* FIXME- WT-15619 and WT-15618: This key must have been overwritten by a delta. Don't
* instantiate it.
*/
if (first_upd == NULL) {
WT_ERR(__page_inmem_update(session, value, &unpack, &upd, &size));
total_size += size;
/* Search the page and apply the modification. */
WT_ERR(__wt_row_search(&cbt, key, true, ref, true, NULL));
WT_ERR(__wt_row_modify(&cbt, key, NULL, &upd, WT_UPDATE_INVALID, true, true));
upd = NULL;
} else
WT_ASSERT(session, F_ISSET(first_upd, WT_UPDATE_RESTORED_FROM_DELTA));
In addition, the rewrite code will also accidentally decrease the dirty leaf page count at the end of the reconciliation.
- is related to
-
WT-15619 Implement rewriting leaf page deltas directly into a full page
-
- Open
-
-
WT-15618 Implement rewriting internal page deltas directly into a full page
-
- In Progress
-
-
WT-15906 Log update flags in bt_debug
-
- Closed
-
-
WT-15912 Fix log flooding during page sleep and when cache is full of updates or dirty pages
-
- Closed
-
- related to
-
WT-15886 Remove obsolete global keys; auto-increment LSN
-
- Closed
-
-
WT-15767 Fix a race condition between checkpoint and stepping up
-
- Closed
-
-
WT-15857 Standby hanging when shutting down in disagg_repl_jscore_passthrough
-
- Closed
-
-
WT-15892 race between __wt_page_in_func and a split __wt_page_out
-
- Closed
-
-
WT-15047 Ingest table verification
-
- Closed
-
-
WT-15617 Design framework to rewrite pages with deltas directly into full pages
-
- Closed
-
-
WT-15830 Add stats to track how many saved update list and total number of updates processed in __wti_rec_hs_insert_updates
-
- Closed
-
-
WT-15880 Update TODO comment in test/format related to salvage
-
- Closed
-
-
WT-15513 Run python testing under ASAN on mainline
-
- Closed
-
-
WT-15425 Add a description to the background compaction fields
-
- Closed
-
-
WT-15903 Unexpected standard output in test_ovfl01
-
- Closed
-