chenBright commented on PR #2413:
URL: https://github.com/apache/brpc/pull/2413#issuecomment-1873190741

   1. 每次都会消费完所有日志,所以传入IsComplete的肯定是singular node,同时也不需要获取cur_tail。已删除相关逻辑。
   2. 
进程退出时候,将异步日志队列的日志落盘,并退出异步日志线程。如果在停异步日志线程的时候,有异步日志入队,则有第一个日志所在的线程/协程负责将队列的日志落盘。停止后的异步日志回退为同步日志。为了保证最后的异步日志能全部落盘,在异步日志线程停止(Join结束)后,sleep一小段时间。


-- 
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: dev-unsubscr...@brpc.apache.org

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


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

Reply via email to