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

One-line Omission in New Range Deleter patch

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 3.5.7
    • Affects Version/s: 3.5.7
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: