When group insert fails, the error type is not printed in logs.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.8, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • v5.0, v4.4
    • Repl 2021-07-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When group insert fails here, we only print a message and some attributes to the log, without actually printing the error itself. It seems to assume the caller of this method would print the error status, but  unfortunately the caller only checks if the status is OK and ignores it if it's an error instead of printing the error.  This makes it hard to debug issues since we don't know what caused it to fail. We should also exclude `NamespaceNotFound` error from the error log similar to DuplicateKey error, which can also be safely ignore during initial sync.

            Assignee:
            Wenbin Zhu
            Reporter:
            Wenbin Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: