[SERVER-15206] Make replicated commands behave differently during replication Created: 10/Sep/14  Updated: 13/Apr/15  Resolved: 13/Apr/15

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-15207 Return errors from commands during re... Closed
Related
is related to SERVER-15860 Switch replication metadata ops to be... Closed
Backwards Compatibility: Minor Change
Participants:

 Description   

The following commands can fail during replication when they should not; when being applied during replication with "fromRepl" they should behave differently:

  • create collection (should check if collection already exists with spec. opts)
  • create index (should already work)
  • convert to capped (check that the collection is capped)
  • drop db (don't error if missing)
  • drop collection (don't error if missing)
  • drop index (don't error if missing)


 Comments   
Comment by Scott Hernandez (Inactive) [ 13/Apr/15 ]

marking as dup of SERVER-15860

Comment by Andy Schwerin [ 10/Sep/14 ]

Currently, "fromRepl" only means "do not call logOp". I think this is safe, though.

Generated at Thu Feb 08 03:37:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.