Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-16078

Exponentially back off for write conflict exceptions.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc1
    • Affects Version/s: None
    • Component/s: Storage, Write Ops
    • None
    • ALL

      Reported by asya

      2014-11-10T20:17:48.350-0500 I WRITES   [conn20] Had WriteConflict doing update on ycsb.usertable, attempt: 8719 retrying
      2014-11-10T20:17:48.350-0500 I WRITES   [conn22] Had WriteConflict doing update on ycsb.usertable, attempt: 8874 retrying
      2014-11-10T20:17:49.684-0500 I WRITES   [conn20] Had WriteConflict doing update on ycsb.usertable, attempt: 8720 retrying
      2014-11-10T20:17:49.684-0500 I WRITES   [conn22] Had WriteConflict doing update on ycsb.usertable, attempt: 8875 retrying
      2014-11-10T20:17:49.685-0500 I WRITES   [conn20] Had WriteConflict doing update on ycsb.usertable, attempt: 8721 retrying
      2014-11-10T20:17:52.434-0500 I WRITES   [conn22] Had WriteConflict doing update on ycsb.usertable, attempt: 8876 retrying
      2014-11-10T20:17:52.436-0500 I WRITES   [conn22] Had WriteConflict doing update on ycsb.usertable, attempt: 8877 retrying
      

      Wondering if this fix is doing what it's intended.... The highest numbers I see are:

      2014-11-10T21:23:51.260-0500 I WRITES   [conn67] Had WriteConflict doing update on ycsb.usertable, attempt: 12369 retrying
      2014-11-10T21:23:51.260-0500 I WRITES   [conn67] Had WriteConflict doing update on ycsb.usertable, attempt: 12370 retrying
      2014-11-10T21:23:51.260-0500 I WRITES   [conn67] Had WriteConflict doing update on ycsb.usertable, attempt: 12371 retrying
      2014-11-10T21:23:51.260-0500 I WRITES   [conn67] Had WriteConflict doing update on ycsb.usertable, attempt: 12372 retrying
      2014-11-10T21:23:51.260-0500 I WRITES   [conn67] Had WriteConflict doing update on ycsb.usertable, attempt: 12373 retrying
      2014-11-10T21:23:51.260-0500 I WRITES   [conn67] Had WriteConflict doing update on ycsb.usertable, attempt: 12374 retrying
      2014-11-10T21:23:51.260-0500 I WRITES   [conn67] Had WriteConflict doing update on ycsb.usertable, attempt: 12375 retrying
      2014-11-10T21:23:53.794-0500 I WRITES   [conn67] Had WriteConflict doing update on ycsb.usertable, attempt: 12376 retrying
      

      The build includes a fix for SERVER-16046 (which may be incomplete since the same crash eventually happened).

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: