dutyu opened a new issue, #12885:
URL: https://github.com/apache/doris/issues/12885

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Description
   
   I've installed the auditloader plugin, i found that when cluster is busy 
(users submit many sqls to the cluster), the doris_audit_tbl__ table is always 
missing some audit log where i can find in fe.audit.log.  I've reviewed the 
code and found that AuditLoaderPlugin use a LinkedBlockingDeque which the 
capacity is 1, if users submit many sqls, the `AuditLoaderPlugin.exec` method 
is always failed cause of the queue is full. Maybe use a configuration to 
control the capacity of the queue is an elegant way to handle this problem.
   
   ### Solution
   
   Use a configuration to control the capacity of the queue.
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to