Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
TaskStorageManager.readOffsetFile() has a bug that if the OFFSET file is corrupted, it will throw exception and shut down the container. If host affinity is turned on, the container won't be able start up again since it will read the same corrupted OFFSET file every time, until it was manually removed. Since we cannot recover in this case, we should catch the exception and return null and let the store bootstrap from changelog.
Attachments
Issue Links
- relates to
-
SAMZA-1777 Logged store OFFSET file write during flush should be atomic
- Resolved
- links to