Open sawickil opened 9 years ago
Is it possible you close the river while being active?
You can ignore CancellationException
on the metrics thread, it only means the thread is terminating early.
The InterruptedException
on the bulk action is more serious, since some data may not get indexed.
Yeah, I also thought that someone was trying to stop/close the river, but I believe nobody touched it. We will perform further tests.
It could also be the cluster moved the river instance to a new node. This is heavily under-tested and service interruption is expected...
Interesting note. And is it possible the cluster moved the river instance without any reason?
FYI, we are able to replicate this issue on our development environment with ONE-node ES instance. Generally, if a next river run executes and the previous one has not finished yet the exceptions I described above show up. This happens when used a thread pool size > 1. If it's set to 1, river executions wait in queue and nothing happens. What's the difference?
Hey,
we are currently testing our solution based on ES 1.3.4 and jdbc-river 1.3.4.4. The river is executed every 1 minute. The first hour of tests using the column strategy went OK. After the first hour we started getting problems - got 18 CancellationExceptions for 30 minutes. This is a piece of logs:
However, during this period the metrics seemed to change like these (on the other hand, the # of docs in index was not rather increasing):
Some questions from me here:
Thanks, Lukasz