Operations running index builds are not killed if clients disconnect

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      OperationContext has a `_markKillOnClientDisconnect` flag that has to be explicitly set in order for operations to cancel when a client disconnects. Commands typically set this using the `CommandHelpers::handleMarkKillOnClientDisconnect` helper function.

      This flag doesn't currently seem to set for the create index command which can be a problem when index builds stuck.

              Assignee:
              Unassigned
              Reporter:
              Shin Yee Tan
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: