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

Operations running index builds are not killed if clients disconnect

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • ALL
    • 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 Unassigned
            Reporter:
            shinyee.tan@mongodb.com Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None