Skip stable table lookup for insert and update operations on the follower node

XMLWordPrintableJSON

    • Storage Engines - Transactions
    • SE Transactions - 2026-03-27, SE Transactions - 2026-04-10
    • 3

      On the standby, we can skip certain sanity checks, such as verifying whether a key already exists. These checks are unnecessary on the standby because they are performed on the primary before the data is replicated. Skipping these checks helps optimize the performance, as verifying the existence of a key involves reading from the stable storage table and performing a lookup, which can be expensive.

      To enhance efficiency, the standby can operate under the assumption that the data it receives is already valid and consistent as handled by the primary.

            Assignee:
            Haribabu Kommi
            Reporter:
            Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: