Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5092 Client like PHERF tool's thread dies because of unhandled exception in MutationState#commit()
  3. PHOENIX-5193

Handle SQLException:ERROR 2008 (INT10) in PhoenixIndexFailurePolicy#doBatchWithRetries

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 4.14.0, 5.0.0, 4.15.0, 4.14.1
    • None
    • None
    • None

    Description

      In MutationState#send(Iterator<TableRef>)#doMutation , we use htable.batch() which will throw SQLException wrapped in RetriesExhaustedWithDetailsException. 

       These wrapped SQLException are of two types, 

      1) INDEX_WRITE_FAILURE(1121, "XCL21", "Write to the index failed.")

      2) INDEX_METADATA_NOT_FOUND(2008, "INT10", "Unable to find cached index metadata. ")

      Out of this we only handle 1st (INDEX_WRITE_FAILURE) and we should handle 2nd one too (INDEX_METADATA_NOT_FOUND)

      Attachments

        Issue Links

          Activity

            People

              mihir6692 Mihir Monani
              mihir6692 Mihir Monani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: