It appears that our DDL helpers do not provide a way to pass command options to the commands, like write concern.
Per RUBY-1704 there is a way to provide majority write concern to e.g. collection creation operation as follows:
support_client.command(create: @spec.collection_name, writeConcern: { w: :majority })
But, since we have the helpers, the helpers should also provide this functionality.
- related to
-
RUBY-1704 Transaction runner does not pass w:majority correctly
- Closed
-
MONGOID-4826 Support hashed shard key declarations, add rake task to shard collections
- Closed