Ericsson / ecaudit

Ericsson Audit plug-in for Apache Cassandra
Apache License 2.0
43 stars 36 forks source link

Failed batch statements never get logged #11

Open eperott opened 6 years ago

eperott commented 6 years ago

Since batch statements are parsed and prepared in BatchMessage.execute(), the operation will be aborted before it gets to AuditQueryHandler.processBatch() in case the operation is invalid.

An example being when a batch statement includes an update on a non-existing table.

tobier commented 5 years ago

@eperott is this issue fixed with the referenced pull request?

eperott commented 5 years ago

No, #14 fixed similar issue (#10) for single update statements.

But this issue is a special case of that bug to which I still don't have a solution.