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

Stopping the recipient nodes in BasicServerlessTest should also skip the validation

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Server Serverless 2022-04-04
    • 142

    Description

      We recently added a logic when stopping the BasicServerlessTest to stop and remove the recipient nodes prior to stopping the donor replica set. 
      The validation is however not skipped only for the recipient which causes a potential race condition where the tenant access blockers are not removed and rejects the validation of the collections prior to stopping the recipient node.

      The issue appears because we fail to remove tenant access blockers prior to stopping the replSet which leads to the re routing issues as the tenant access blockers are rejecting reads and writes.
      This can be fixed by waiting for garbage collection to happen on both the donors and the recipients. 
      When doing the garbage collection on the recipient side there was an issue related to the synch source missing as the recipient would get their state document replicated from their old primary as a new primary wasn't elected yet for the recipients.

      Attachments

        Activity

          People

            mathis.bessa@mongodb.com Mathis Bessa
            mathis.bessa@mongodb.com Mathis Bessa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: