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

how transactions can be maintained with mongodb

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    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 :
      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 .

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: