I occasionally get "txn-txn-inflight limit reached [txn=251584, min=240384]" on servers when attempting to read data from (embedded) QuestDb.
It self corrects after some time (minutes). What does it mean and what can I do to avoid it?
I occasionally get "txn-txn-inflight limit reached [txn=251584, min=240384]" on servers when attempting to read data from (embedded) QuestDb.
It self corrects after some time (minutes). What does it mean and what can I do to avoid it?
Try removing _txn_scoreboard
file in table's directory. This file has no meaning unless process is running.
The contents of this file is used to indicate if there is active TableReader
holding a view on particular data transaction. When Java process exists, TableReader
instances returned to pool will clock down their transaction number to prevent false-positive "reader holding transaction X'.
If Java process is crashed or did not return TableReader
to pool, the transaction numbers can appear to be in-use next time application starts. The only work around so far is to remove _txn_scoreboard
file.