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

Handle multiple modifies for the same key on lookaside eviction

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • Storage Engines 2019-10-07

      As it stands now, multiple updates in the same transaction can have the same key, timestamp and transaction id combination meaning that they will clobber prior entries in the lookaside. This is fine for most updates since the latest is the only relevant one however this will cause data loss in the case of modifies.

      There probably needs to be some logic in lookaside eviction where we detect multiple modifies for the same key and squash them into a standard update before lookaside evicting.

            Assignee:
            alex.cameron@mongodb.com Alex Cameron (Inactive)
            Reporter:
            alex.cameron@mongodb.com Alex Cameron (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: