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

Be lazy allocating transaction contexts for eviction

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.2.1
    • Affects Version/s: None
    • Component/s: None

      In the main transaction change (WT-138), we set up a transaction context before calling __wt_rec_evict. There might be an advantage in not bothering with a transaction context until we need it, if we are spinning on a busy page or if the page is read-only.

      That said, this requires some thought: we don't want to allocate different transaction contexts for merge pages, for example.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: