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

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

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

      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 Unassigned
            Reporter:
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: