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

$push to a large array fasserts on secondaries

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Query 11 (03/14/16)

      Description

      $push to an array larger than kMaxPaddingAllowed triggers a ErrorCodes::CannotBackfillArray on the secondary and causes repl writer worker to fassert. Affects 2.6+

        Issue Links

          Activity

          • Comments
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}

          Message: SERVER-22635 adjust CannotBackfillArray error checking to ensure array mods replicate properly

          Previously we would return CannotBackfillArray whenever we had to
          lengthen an array to index kMaxPaddingAllowed. Now we only return the
          error if we actually have to backfill kMaxPaddingAllowed null
          elements.
          Branch: master
          https://github.com/mongodb/mongo/commit/36a86d9a57ce140ac8638f0a76bad9f0c5a2d2ba

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'} Message: SERVER-22635 adjust CannotBackfillArray error checking to ensure array mods replicate properly Previously we would return CannotBackfillArray whenever we had to lengthen an array to index kMaxPaddingAllowed. Now we only return the error if we actually have to backfill kMaxPaddingAllowed null elements. Branch: master https://github.com/mongodb/mongo/commit/36a86d9a57ce140ac8638f0a76bad9f0c5a2d2ba

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                  Agile