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

Lower performance of out-of-order inserts can contribute to replication lag

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      SERVER-19122 and SERVER-18983 describe two separate cases where table inserts on a MongoDB primary are done in-order on the primary but are done out-of-order on the secondary, and the result is that the secondary may not be able to keep up with the primary, apparently due to the performance difference between these cases in WT. It may be difficult to address the issue in mongod, so this ticket is to track whether the performance difference can be addressed in WT.

      Stack traces seem to indicate that the primary difference is that inserts in the disordered case are delayed by evictions due to page splits, but not in the ordered case. Will attach data.

        1. comparison-fast.html
          14.28 MB
          Bruce Lucas
        2. comparison-fast.png
          199 kB
          Bruce Lucas
        3. comparison-slow.html
          14.18 MB
          Bruce Lucas
        4. comparison-slow.png
          382 kB
          Bruce Lucas

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: