Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7823 SCM HA Phase 2
  3. HDDS-4661

Disallow committing to DB by getCurrentBatchOperation()

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      We need to find a better to init, expose and close batch operation.

      Right now the batch operation is exposed publicly where its commits and closes are keep within the buffer. There are potential problems for this design. For example a caller can commit the batch option without waiting for flush().

      Attachments

        Activity

          People

            Unassigned Unassigned
            amaliujia Rui Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: