diff options
Diffstat (limited to 'src/mongo/s/commands/cluster_write_cmd.h')
-rw-r--r-- | src/mongo/s/commands/cluster_write_cmd.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/s/commands/cluster_write_cmd.h b/src/mongo/s/commands/cluster_write_cmd.h index bfb9f6d81ad..afcb386f976 100644 --- a/src/mongo/s/commands/cluster_write_cmd.h +++ b/src/mongo/s/commands/cluster_write_cmd.h @@ -50,6 +50,14 @@ public: return AllowedOnSecondary::kNever; } + bool supportsRetryableWrite() const final { + return true; + } + + bool allowedInTransactions() const final { + return true; + } + protected: class InvocationBase; |