[JAVA-25] Add configuration option to Java driver to ignore say() errors (all writes) (WAS: disable throwing interrupted exception) Created: 26/Aug/09 Updated: 02/Oct/09 Resolved: 14/Sep/09 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 0.10 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Ryan Nitz | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Should make a config option at the Collection level that doesn't throw an exception if any write fails. OLD------ When the driver is interrupted during a server read/write (via a server shutdown), it throws a MongException. Some people may care about this but others do not (like me It would be handy if you could configure the Mongo object to not throw these. can't say something |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 14/Sep/09 ] |
|
coll.setWriteConcern( Mongo.WriteConcern.NONE) |