Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-4964

Receiver consumer thread should be stoped while encounting unrecoverable error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • v3.1.1
    • v3.1.3
    • Real-time Streaming
    • None

    Description

      org.apache.kylin.stream.core.storage.columnar.ColumnarMemoryStorePersister#persist will catch exception and just log it, this behavior will cause critical problem, like our case: there is no space left on device, `persist` method failed for many times, we lost several hours of data.

      Here is our solution which already tested:

      1. Throw IllegalStorageException while we cannot do the persist
      2. Then stop the consumer thread
      3. Add `consumer_thread_alive` in ConsumerStats for monitoring
      4. Also fix an another issue which will cause wrong result after restore from checkpoint

       

      Attachments

        Activity

          People

            dixingxing@yeah.net Xingxing Di
            dixingxing@yeah.net Xingxing Di
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: