logging write conflicts at log level 0 is too aggressive

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.8.0-rc5
    • Affects Version/s: 2.8.0-rc4
    • Component/s: Logging, Storage
    • None
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Since write conflicts are normal in multi-threaded workload that heavily updates same documents (ex: YCSB with latest or zipf distribution), the logging of it should be significantly lower.

      Recommendation:

      • LogLevel 0: log nothing (updates with a lot of writeConflicts will be logged as slow ops if they exceed slowMS threshold)
      • LogLevel 1: log update conflicts > 100 attempts
      • LogLevel 2: log update conflicts > 10 attempts
      • LogLevel 3+ : keep at current logging or log all.

            Assignee:
            Eliot Horowitz (Inactive)
            Reporter:
            Asya Kamsky
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: