Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31151

how transactions can be maintained with mongodb

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      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 :
      suppose i have 23 records and when i insert i added data with _id as 100 then data is added successfully but as i m using sequence _id should be 24 but what if i insert some other no.
      so now i want to rollback whatever i have inserted .

            Assignee:
            mark.agarunov Mark Agarunov
            Reporter:
            achla achla gautam
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: