diff options
author | David Percy <david.percy@mongodb.com> | 2022-04-01 19:51:49 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-04-04 17:02:21 +0000 |
commit | 27c4c25165c03997820fde543a9d726df220826c (patch) | |
tree | c16f7ddf5c0612ca6ccf2b7a52c86f9665c33fea | |
parent | 7ecd542de5c542c27856032c219a06900778ea3a (diff) | |
download | mongo-27c4c25165c03997820fde543a9d726df220826c.tar.gz |
SERVER-61070 Update time-series mixed-schema data index failure error message
-rw-r--r-- | src/mongo/db/catalog/multi_index_block.cpp | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/mongo/db/catalog/multi_index_block.cpp b/src/mongo/db/catalog/multi_index_block.cpp index 53ff0a71df2..d72cd64ead5 100644 --- a/src/mongo/db/catalog/multi_index_block.cpp +++ b/src/mongo/db/catalog/multi_index_block.cpp @@ -87,17 +87,15 @@ size_t getEachIndexBuildMaxMemoryUsageBytes(size_t numIndexSpecs) { } Status timeseriesMixedSchemaDataFailure(const Collection* collection) { - // TODO SERVER-61070: Re-word the error message below if necessary and add a URL for - // workarounds. return Status( ErrorCodes::CannotCreateIndex, - str::stream() << "Index build on collection '" << collection->ns() << "' (" - << collection->uuid() - << ") failed due to the detection of mixed-schema data in the " - << "time-series buckets collection. Starting as of v5.2, time-series " - << "measurement bucketing has been modified to ensure that newly created " - << "time-series buckets do not contain mixed-schema data. For workarounds, " - << "see: <url>"); + str::stream() + << "Index build on collection '" << collection->ns() << "' (" << collection->uuid() + << ") failed due to the detection of mixed-schema data in the " + << "time-series buckets collection. Starting as of v5.2, time-series " + << "measurement bucketing has been modified to ensure that newly created " + << "time-series buckets do not contain mixed-schema data. For details, " + << "see: https://www.mongodb.com/docs/manual/core/timeseries/timeseries-limitations/"); } } // namespace |