Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Repro steps:
Use persistent agent from the FlumeAppender while the succeeding Flume agent is down.
Expected result:
Logs should queue.
Actual result:
2013-05-28 17:02:12,921 ERROR Unable to delete event java.lang.UnsupportedOperationException: A transacti
on was not supplied when opening this cursor: delete
at com.sleepycat.je.Cursor.checkUpdatesAllowed(Cursor.java:4007)
at com.sleepycat.je.Cursor.delete(Cursor.java:689)
at org.apache.logging.log4j.flume.appender.FlumePersistentManager$WriterThread.run(FlumePersisten
tManager.java:448)
Workaround:
Set the batchSize to a number > 1.