I'm trying to figure out when transaction logs are closing.
Unfortunately the docs and guides are not very clear about this.

I tried any combination of commits with waitSearcher true/false,
expungeDeletes true/false, openSearcher true/false.
And also optimize with maxSegements=1.

The stats of my updateHandler say
transaction_logs_total_number:  2
transaction_logs_total_size:    59287641

A "lsof | grep tlog" reports still many open tlog files.
Actually there are only 2 tlog files but each java process has handles
open to tlog.

But why they are not closing even after hard commit and optimize
with maxSegments=1 ?
There is no need to keep the tlogs open. Everything is flushed to disk,
optimized, all nodes are up, running and in sync.

Can someone explain the rules when tlogs are closing?

Regards
Bernd

Reply via email to