Skip to content

Commit

Permalink
SERVER-25451 Shard sharded_files_id_n.fs.chunks with unique=true.
Browse files Browse the repository at this point in the history
  • Loading branch information
visemet committed Aug 5, 2016
1 parent 71c9d90 commit 8e7ab6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jstests/tool/gridfs.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ testGridFS(name);
print('\n\n\t**** sharded collection on files_id,n ****\n\n');
name = 'sharded_files_id_n';
test.adminCommand({enablesharding: name});
test.adminCommand({shardcollection: name + '.fs.chunks', key: {files_id: 1, n: 1}});
test.adminCommand({shardcollection: name + '.fs.chunks', key: {files_id: 1, n: 1}, unique: true});
testGridFS(name);

test.stop();

0 comments on commit 8e7ab6c

Please sign in to comment.