From b173494aa6b84b5d44c5f958fd78dd469596a314 Mon Sep 17 00:00:00 2001 From: Gregory Noma Date: Mon, 24 May 2021 09:55:04 -0400 Subject: SERVER-56934 Make expireAfterSeconds a top-level collection option --- src/mongo/db/commands/dbcommands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/commands/dbcommands.cpp') diff --git a/src/mongo/db/commands/dbcommands.cpp b/src/mongo/db/commands/dbcommands.cpp index e20b53a358d..28bd1ec7ec2 100644 --- a/src/mongo/db/commands/dbcommands.cpp +++ b/src/mongo/db/commands/dbcommands.cpp @@ -143,7 +143,7 @@ std::unique_ptr makeTimeseriesCollModCommand(OperationContext* opCtx, cmd->setViewOn(origCmd.getViewOn()); cmd->setPipeline(origCmd.getPipeline()); cmd->setRecordPreImages(origCmd.getRecordPreImages()); - cmd->setClusteredIndex(origCmd.getClusteredIndex()); + cmd->setExpireAfterSeconds(origCmd.getExpireAfterSeconds()); return cmd; } -- cgit v1.2.1