summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2021-09-16 09:29:47 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-09-16 15:05:58 +0000
commita7001db2c3a43c6632904a7a4c34f4d99a61d295 (patch)
treecb6f90e4aadc387597c057ca21e6db39effcd775 /src/mongo/shell
parentaa36306977363038be233195ac5645edb3d71dab (diff)
downloadmongo-a7001db2c3a43c6632904a7a4c34f4d99a61d295.tar.gz
SERVER-58578 Timeseries bucket compression
All fields under data will be compressed using BSON Binary Subtype 7. Measurements are sorted by time field. Buckets are compressed in a separate update operation when the BucketCatalog is closing the bucket and no further writes to it will be performed. Compression operation are transparant for the user, if it fails for any reason the bucket will be left uncompressed.
Diffstat (limited to 'src/mongo/shell')
-rw-r--r--src/mongo/shell/bench.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/shell/bench.cpp b/src/mongo/shell/bench.cpp
index 79a20cdfc2d..88f5d685df0 100644
--- a/src/mongo/shell/bench.cpp
+++ b/src/mongo/shell/bench.cpp
@@ -1193,6 +1193,9 @@ void BenchRunOp::executeOnce(DBClientBase* conn,
// Delta updates are only executed on secondaries as part of oplog
// application.
MONGO_UNREACHABLE;
+ case write_ops::UpdateModification::Type::kTransform:
+ // It is not possible to run a transform update directly from a client.
+ MONGO_UNREACHABLE;
}
singleUpdate.append("multi", this->multi);
singleUpdate.append("upsert", this->upsert);