Snapshot-readWrite/Drop Snapshot/MultiThreads

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None

      thread A:
      session->begin_transaction(session,"snapshot=myabc")
      sleep(100);
      session->get()
      session->set()
      session->end_transaction()

      threadB starts in the sleep(100) of threadA
      session->snapshot(session, "drop=myabc")

      Is it an undefined behavior to to so ?
      Or the hazardPoint will keep snapshot:myabc alive until threadA ends ?
      Hoping for your reply.

            Assignee:
            Unassigned
            Reporter:
            deyukong
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: