summaryrefslogtreecommitdiff
path: root/jstests/sharding/update_immutable_fields.js
diff options
context:
space:
mode:
authorjannaerin <golden.janna@gmail.com>2019-02-19 11:20:25 -0500
committerjannaerin <golden.janna@gmail.com>2019-03-20 11:55:05 -0400
commit9713b6260c1898eb210da8597766faab94a40420 (patch)
tree9331a3c602907436d15f721047115688441a8980 /jstests/sharding/update_immutable_fields.js
parent12a560bff2911a29103d05071e260060c77263eb (diff)
downloadmongo-9713b6260c1898eb210da8597766faab94a40420.tar.gz
SERVER-39630 Allow updates to the shard key value only when the document will not change shards
Diffstat (limited to 'jstests/sharding/update_immutable_fields.js')
-rw-r--r--jstests/sharding/update_immutable_fields.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/update_immutable_fields.js b/jstests/sharding/update_immutable_fields.js
index b2a422a98cb..5e81d075c37 100644
--- a/jstests/sharding/update_immutable_fields.js
+++ b/jstests/sharding/update_immutable_fields.js
@@ -1,4 +1,4 @@
-// Tests that updates can't change immutable fields (used in sharded system)
+// Tests that save style updates correctly change immutable fields
(function() {
'use strict';