Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
v3.1.1
-
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:
- Throw IllegalStorageException while we cannot do the persist
- Then stop the consumer thread
- Add `consumer_thread_alive` in ConsumerStats for monitoring
- Also fix an another issue which will cause wrong result after restore from checkpoint