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

One-line Omission in New Range Deleter patch

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • 3.5.7
    • 3.5.7
    • Sharding
    • None
    • Fully Compatible
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: