Stop instantiate updates when read a page into memory if it is a readonly btree

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0
    • Affects Version/s: None
    • Component/s: Btree, Transactions
    • None
    • Storage Engines, Storage Engines - Transactions
    • SE Transactions - 2025-09-26
    • 5

      For read only btree, there is no need to instantiate the updates, such as tombstones and prepared updates, onto the update chain as we cannot modify it. If we still instantiate the prepared updates, for layered tables, we may get prepare conflict errors even if the prepared updates have been resolved. It also helps saving cache space on the standby for the disaggregated storage architecture.

      Along with the change, we should also change the visibility checking function for the onpage value. Instead of always return not visible for prepared onpage value, we may need to return prepare conflict sometims.

            Assignee:
            Chenhao Qu
            Reporter:
            Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: