kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Rosenberg <...@squareup.com>
Subject slow log recovery
Date Mon, 06 May 2013 22:07:13 GMT
Recently, we had an issue where our kafka brokers were shut down hard (and
so did not write out the clean shutdown file).  Thus on restart, it went
through all logs and ran a recovery on them.

Unfortunately, this took a long time (on the order of 30 minutes).  We have
a lot of topics (e.g. ~1000 or so).  Is there anyway this can be done more
quickly, say in parallel?

Also, it be done as a background process, so the server can start up and
start receiving messages, logs for incoming topics are prioritized in the
recovery process, and perhaps messages can still be buffered in memory
while the log recovery is happening?

It seems onerous to block all activity for 30 minutes while a slow, serial,
recovery job happens....



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message