Hi,

Made Of: tlog replicas + pull replicas
Writing: leader and tlog replicas
Loading: pull replica only

Solr version: 7.5
Number of shards: 1
Write throughput: 10000 docs/minutes
Number of documents: 4,500,000
Size per document: about 4KB

During verification, the replay of the transaction log took a lot of time,
and it took 1 day and 6 hours to select a leader.
The tlog files are a few GB at best, so I don't think IO is the bottleneck,
but it's taking a lot longer than I imagined!

I'd like to make the leader election quicker because I can't write until
the leader is elected.
Is there a faster way to do it?

There is a mechanism to re-write records that have failed to write.
So, if I can't do leader selection quickly, I'm thinking of losing the
replica in the tlog and starting it automatically when the leader goes down
(if it's faster to recover that way).

Thank you to everyone in the community for always being so supportive.

Translated with www.DeepL.com/Translator (free version)

Reply via email to