Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-3369

Fix issues during concurrent execution of Create table If not exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.4
    • None
    • None

    Description

      Create table if not exists has following problems if run concurrently from different drivers 

      1) Sometimes It fails with error "Table <db.table> already exists." 
      2) Create table failed driver still holds the table with wrong path or schema. Eventual operations refer the wrong path
      3) Stale path created during create table is not deleted for ever [After 1.5.0 version table will be created in a new folder using UUID if folder with table name already exists]

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kanaka Kanaka Kumar Avvaru
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 20m
                  3h 20m