summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/document_shard_key_update_util.h
diff options
context:
space:
mode:
authorjannaerin <golden.janna@gmail.com>2019-03-29 16:30:28 -0400
committerjannaerin <golden.janna@gmail.com>2019-04-09 11:21:38 -0400
commit3e7d0821ad83fb29b25ced2b6cf9db313b19ce9b (patch)
tree1da9096d188cdac0eb1621a9b141fc8c945367d3 /src/mongo/s/commands/document_shard_key_update_util.h
parent386dc94aad875d8e43bec3db0d3e970286c94494 (diff)
downloadmongo-3e7d0821ad83fb29b25ced2b6cf9db313b19ce9b.tar.gz
SERVER-39842 Allow update to shard key value if retryable write
Diffstat (limited to 'src/mongo/s/commands/document_shard_key_update_util.h')
-rw-r--r--src/mongo/s/commands/document_shard_key_update_util.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/s/commands/document_shard_key_update_util.h b/src/mongo/s/commands/document_shard_key_update_util.h
index 07dae4f6874..d29eda4c848 100644
--- a/src/mongo/s/commands/document_shard_key_update_util.h
+++ b/src/mongo/s/commands/document_shard_key_update_util.h
@@ -75,9 +75,7 @@ TransactionRouter* startTransactionForShardKeyUpdate(OperationContext* opCtx);
* Commits the transaction on this session. This method is called to commit the transaction started
* when WouldChangeOwningShard is thrown for a write that is not in a transaction already.
*/
-void commitShardKeyUpdateTransaction(OperationContext* opCtx,
- TransactionRouter* txnRouter,
- TxnNumber txnNumber);
+void commitShardKeyUpdateTransaction(OperationContext* opCtx, TransactionRouter* txnRouter);
/**
* Creates the BSONObj that will be used to delete the pre-image document. Will also attach