summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2020-09-29 18:11:37 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-09-29 23:13:22 +0000
commitf7cf4c24dc58d3145388771fb12e03671055e863 (patch)
tree3be5523839dd5e8427ff5e9ec25b7485bc2545cd
parentbdc9ed7d413d931d1b0097e6fd75bb127fbbc439 (diff)
downloadmongo-f7cf4c24dc58d3145388771fb12e03671055e863.tar.gz
SERVER-50131 fix typo in Sorter::makeFromExistingRanges() invariant message
-rw-r--r--src/mongo/db/sorter/sorter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/sorter/sorter.cpp b/src/mongo/db/sorter/sorter.cpp
index 35cbfc19bf2..d41738d2778 100644
--- a/src/mongo/db/sorter/sorter.cpp
+++ b/src/mongo/db/sorter/sorter.cpp
@@ -1172,7 +1172,7 @@ Sorter<Key, Value>* Sorter<Key, Value>::makeFromExistingRanges(
checkNoExternalSortOnMongos(opts);
invariant(opts.limit == 0,
- str::stream() << "Creating a Sorter from existing ranges is only availble with the "
+ str::stream() << "Creating a Sorter from existing ranges is only available with the "
"NoLimitSorter (limit 0), but got limit "
<< opts.limit);