[SERVER-31151] how transactions can be maintained with mongodb Created: 19/Sep/17 Updated: 17/Oct/17 Resolved: 19/Sep/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | achla gautam | Assignee: | Mark Agarunov |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
i wanted to know how i can maintain transaction with mongo. as when i try to insert into collection so if something went wrong this that transaction how can i rollback . eg : |
| Comments |
| Comment by achla gautam [ 20/Sep/17 ] |
|
thank you for your reply . |
| Comment by Mark Agarunov [ 19/Sep/17 ] |
|
Hello achla, Thank you for the report. Currently MongoDB does not support transactions, however there are workarounds to get similar behavior. Please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-user group. Thanks, |