Skip to content

Commit

Permalink
Default forceTableScan to false
Browse files Browse the repository at this point in the history
  • Loading branch information
abdul committed Nov 25, 2013
1 parent 62589c3 commit fe1a57f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mbs/strategy.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ def _do_dump_backup(self, backup, mongo_connector, database_name=None):
# if its a server level backup then add forceTableScan and oplog
uri_wrapper = mongo_uri_tools.parse_mongo_uri(uri)
if not uri_wrapper.database:
# default force table scan to true
if self.force_table_scan or self.force_table_scan is None:
# add forceTableScan if specified
if self.force_table_scan:
dump_cmd.append("--forceTableScan")
if mongo_connector.is_replica_member():
dump_cmd.append("--oplog")
Expand Down

0 comments on commit fe1a57f

Please sign in to comment.