Log Saver stops processing on an exception

Description

When Log Saver encounters an exception during writing log files, it stops processing log events after that.

Release Notes

None

Activity

Show:
Poorna Chandra
July 14, 2016, 5:18 AM

Log Saver keeps a temporary set of log events in a local map while writing to HDFS files. After a successful write, new events from Kafka are added to this temporary map for the next batch of write. When an exception gets thrown during write, the events in the temporary map are re-tried before reading new events from Kafka.

There was a misplaced brace introduced during a refactor of code that caused the write to log file to also get skipped when the temporary map has events. This lead to Log Saver not writing any events from the temporary map, and hence the map would never get empty. Thus leading to no processing.

Poorna Chandra
July 16, 2016, 12:37 AM
Poorna Chandra
July 21, 2016, 7:23 PM
Poorna Chandra
July 21, 2016, 9:42 PM
Poorna Chandra
July 21, 2016, 11:52 PM
Fixed

Assignee

Poorna Chandra

Reporter

Poorna Chandra

Labels

Docs Impact

None

UX Impact

None

Components

Fix versions

Affects versions

Priority

Blocker
Configure