Investigate if we should have stricter rules around what can be run in onConsistentDataAvailable

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Replica set state transitions block on onConsistentDataAvailable returning. SERVER-98558 found that there are blocking network calls right now in onConsistentDataAvailable hooks that require being able to contact the config server. This means that if the node cannot contact the config server, it will not make progress in a repl state transition.

      We should think through whether or not this behavior is expected/acceptable or not. If not, we should make that contract clear to users of onConsistentDataAvailable.

            Assignee:
            Unassigned
            Reporter:
            Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: