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

Avoid hot-path logging in txn override

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc18
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • v8.0, v7.0, v6.0, v5.0
    • 200

      BF-34551 identifies tests which are timing out since SERVER-60823.

      The tests are not functionally changed by SERVER-60823. The transaction override is present but not enabled, so retry behaviour has not changed.

      What has changed is logging; previously the override would not log per-command if disabled, but now does.

      For tests performing a lot of ops, this overhead has been observed to be significant.

      The override should avoid logging in the "hot" path when disabled.

            Assignee:
            james.harrison@mongodb.com James Harrison
            Reporter:
            james.harrison@mongodb.com James Harrison
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: