Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-11096

Database plugins should an option to configure Transaction isolation level

    Details

    • Release Notes:
      Allowed users to configure the transaction isolation level in database plugins
    • Rank:
      1|i0005r:

      Description

      DB plugins hard code the transaction isolation level: https://github.com/caskdata/hydrator-plugins/blob/979b3668a52aa7cd8fc6042bd6d130617453d65a/database-plugins/src/main/java/co/cask/hydrator/plugin/db/batch/source/DataDrivenETLDBInputFormat.java#L103

      This should be a drop down with the following options

      TRANSACTION_NONE
      TRANSACTION_READ_COMMITTED
      TRANSACTION_READ_UNCOMMITTED
      TRANSACTION_REPEATABLE_READ
      TRANSACTION_SERIALIZABLE
      

      The default should be TRANSACTION_SERIALIZABLE

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ali.anwar Ali Anwar
                Reporter:
                sree Sreevatsan Raman
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: