diff --git a/documentation/sphinx/source/release-notes.rst b/documentation/sphinx/source/release-notes.rst index 005641c048..2399272bfd 100644 --- a/documentation/sphinx/source/release-notes.rst +++ b/documentation/sphinx/source/release-notes.rst @@ -125,6 +125,7 @@ Fixes only impacting 6.2.0+ * The cluster controller could crash if a coordinator was unreachable when compiling cluster status. [6.2.4] `(PR #2065) `_. * A storage server could crash if it took longer than 10 minutes to fetch a key range from another server. [6.2.5] `(PR #2170) `_. * Excluding or including servers would restart the data distributor. [6.2.5] `(PR #2170) `_. +* The data distributor could read invalid memory when estimating database size. [6.2.6] `(PR #2225) `_. Earlier release notes --------------------- diff --git a/fdbserver/DataDistributionTracker.actor.cpp b/fdbserver/DataDistributionTracker.actor.cpp index b690cd639c..b26d0b72ef 100644 --- a/fdbserver/DataDistributionTracker.actor.cpp +++ b/fdbserver/DataDistributionTracker.actor.cpp @@ -258,7 +258,7 @@ ACTOR Future getFirstSize( Reference> } } -ACTOR Future changeSizes( DataDistributionTracker* self, KeyRangeRef keys, int64_t oldShardsEndingSize ) { +ACTOR Future changeSizes( DataDistributionTracker* self, KeyRange keys, int64_t oldShardsEndingSize ) { state vector> sizes; state vector> systemSizes; for (auto it : self->shards.intersectingRanges(keys) ) {