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

application threads are tasked with eviction even when pinning the oldest transaction ID

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Needs Scheduling
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      WT-4715 changed WiredTiger to not task application threads that have the oldest transaction ID pinned with helping with eviction, instead, they return WT_ROLLBACK forcing the transaction to abort. This feature is not currently configured for MongoDB because MongoDB doesn't support aborting read-only transactions.

      It would be possible to extend this semantic to potentially better support MongoDB by releasing any application thread pinning the oldest transaction ID from participating in eviction, even if we cannot rollback the transaction. The thread would hopefully then proceed forward, eventually releasing the oldest transaction ID. It's possible the thread would further burden the cache, but that might be a reasonable tradeoff for moving the oldest pinned transaction ID forward.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                backlog-server-storage-engines Backlog - Storage Engines Team
                Reporter:
                keith.bostic Keith Bostic
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: