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

One-line Omission in New Range Deleter patch

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 3.5.7
    • Fix Version/s: 3.5.7
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      A line was accidentally deleted in the New Range Deleter patch:

      diff --git a/src/mongo/db/s/metadata_manager.cpp b/src/mongo/db/s/metadata_manager.cpp
      index faa062e..b582186 100644
      --- a/src/mongo/db/s/metadata_manager.cpp
      +++ b/src/mongo/db/s/metadata_manager.cpp
      @@ -114,9 +223,7 @@ void MetadataManager::refreshActiveMetadata(std::unique_ptr<CollectionMetadata>
                     << remoteMetadata->toStringBasic() << " due to epoch change";
       
               _receivingChunks.clear();
      -        _rangesToClean.clear();
      -
      -        _setActiveMetadata_inlock(std::move(remoteMetadata));
      +        _rangesToClean.clear(Status::OK());
               return;
           }
      

      It needs to be restored.

        Attachments

          Activity

            People

            Assignee:
            nathan.myers Nathan Myers
            Reporter:
            nathan.myers Nathan Myers
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: