Core Server
  1. Core Server
  2. SERVER-2771

Background index builds on replica set secondaries

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major - P3 Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: Replication/Pairing
    • Labels:
      None
    • Backport:
      No
    • # Replies:
      40
    • Last comment by Customer:
      false
    • Documentation changes needed?:
      Yes

      Description

      At present, index builds on replica set secondaries are always performed in the foreground, and so are blocking. So under normal circumstances, all ordinary secondaries (i.e., ones without slavedelay) will start building an index at about the same time, and so all of them will block together.

        Issue Links

          Activity

          Hide
          auto
          added a comment -

          Author:

          {u'date': u'2013-01-02T15:41:44Z', u'email': u'kristina@10gen.com', u'name': u'Kristina'}

          Message: SERVER-2771 Revert command handling

          This reverts commit e733331c7edb8871ba2dc58f20fbd2f40bf3adda.
          This reverts commit ccf86a0fdbe7f9c9a45e8fad0410a7eef777fea2.
          This reverts commit 7962e49b40c2bf344187df4c6fdd857c2255d759.
          This reverts commit c5e5e6b9c0d9609234afd1390984d08f6055801b.
          This reverts commit 325ec6e4d66dfdc075b47a804314eec8f7ea3eb2.
          This reverts commit 283fc0d291c196232cebc8b964178037aa71f943.
          This reverts commit 2f21426abe2d75487c91fb361154261969d303cd.
          Branch: master
          https://github.com/mongodb/mongo/commit/e04a7396ea753ea6dbff89028c11ed689868d707

          Show
          auto
          added a comment - Author: {u'date': u'2013-01-02T15:41:44Z', u'email': u'kristina@10gen.com', u'name': u'Kristina'} Message: SERVER-2771 Revert command handling This reverts commit e733331c7edb8871ba2dc58f20fbd2f40bf3adda. This reverts commit ccf86a0fdbe7f9c9a45e8fad0410a7eef777fea2. This reverts commit 7962e49b40c2bf344187df4c6fdd857c2255d759. This reverts commit c5e5e6b9c0d9609234afd1390984d08f6055801b. This reverts commit 325ec6e4d66dfdc075b47a804314eec8f7ea3eb2. This reverts commit 283fc0d291c196232cebc8b964178037aa71f943. This reverts commit 2f21426abe2d75487c91fb361154261969d303cd. Branch: master https://github.com/mongodb/mongo/commit/e04a7396ea753ea6dbff89028c11ed689868d707
          Hide
          Colin Howe
          added a comment -

          We just got hit by this... all our slaves stopped responding to queries and our clients just hung (no timeouts). Looking forward to seeing a fix!

          Show
          Colin Howe
          added a comment - We just got hit by this... all our slaves stopped responding to queries and our clients just hung (no timeouts). Looking forward to seeing a fix!
          Hide
          auto
          added a comment -

          Author:

          {u'date': u'2013-01-25T16:52:45Z', u'email': u'milkie@10gen.com', u'name': u'Eric Milkie'}

          Message: SERVER-2771 --noIndexBuildRetry does not take a param
          Branch: master
          https://github.com/mongodb/mongo/commit/7a8fdfc75c26efc9aa4b3849587ef0995ffd9a36

          Show
          auto
          added a comment - Author: {u'date': u'2013-01-25T16:52:45Z', u'email': u'milkie@10gen.com', u'name': u'Eric Milkie'} Message: SERVER-2771 --noIndexBuildRetry does not take a param Branch: master https://github.com/mongodb/mongo/commit/7a8fdfc75c26efc9aa4b3849587ef0995ffd9a36
          Hide
          Colin Howe
          added a comment -

          Could we get an update on what is happening here? Some of the comments indicate that this was fixed in 2.2, some say 2.4 and then the status says 2.5.

          We just got bitten by this (again) after thinking that it was fixed 2.2.3...

          Pulling things out of replica sets to add indices really isn't a viable option. At least not for something that claims to make scaling easy with things like sharding support.

          Show
          Colin Howe
          added a comment - Could we get an update on what is happening here? Some of the comments indicate that this was fixed in 2.2, some say 2.4 and then the status says 2.5. We just got bitten by this (again) after thinking that it was fixed 2.2.3... Pulling things out of replica sets to add indices really isn't a viable option. At least not for something that claims to make scaling easy with things like sharding support.
          Hide
          Eric Milkie
          added a comment -

          The fixVersion field, version 2.5.0, is the current target for this. We have one more thing to iron out before releasing this feature.

          Show
          Eric Milkie
          added a comment - The fixVersion field, version 2.5.0, is the current target for this. We have one more thing to iron out before releasing this feature.

            People

            • Votes:
              27 Vote for this issue
              Watchers:
              39 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 2 weeks, 6 days ago
                Date of 1st Reply: