Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12542

Should not retry for next and prev api calls

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Storage Engines
    • StorEng - Defined Pipeline

      In WT-10133, we added retry logic for search, search near, next, and prev api calls if they receive a WT_ROLLBACK error.

      It is OK for search and search near to retry as they are idempotent. However, it is not correct for next and prev to retry because when the btree layer returns a WT_ROLLBACK error, it resets the cursor and we will retry without the cursor positioned, which is wrong.

      In WT-12431, we initially have a theory that this is the underlying root cause. But it turns out it is a separate testing issue not related. However, this doesn't mean the above scenario cannot happen and we should fix it.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: