Elon
06/03/2021, 4:26 AMpqw
threads in default scheduler) threadpool on one server being blocked. Would it help to make the worker thread pool use a cached threadpool while still keeping the query runner threadpool (pqr
threads in default scheduler) fixed? Or do you recommend using one of the other query schedulers? Here is the thread dump:Mayank
Elon
06/03/2021, 4:29 AMpqr
threadpool on one worker was blocked, but no queries in that tenant were completing.Mayank
Elon
06/03/2021, 4:31 AMpqw
threads in BLOCKED state with a similar thread dump each timeMayank
Elon
06/03/2021, 4:33 AMMayank
Elon
06/03/2021, 4:34 AMMayank
Elon
06/03/2021, 4:35 AMpublic void add(int dictId, int docId) {
if (_bitmaps.size() == dictId) {
// Bitmap for the dictionary id does not exist, add a new bitmap into the list
ThreadSafeMutableRoaringBitmap bitmap = new ThreadSafeMutableRoaringBitmap(docId);
try {
_writeLock.lock();
_bitmaps.add(bitmap);
} finally {
_writeLock.unlock();
}
} else {
// Bitmap for the dictionary id already exists, check and add document id into the bitmap
_bitmaps.get(dictId).add(docId);
}
}
Mayank
Elon
06/03/2021, 4:37 AMMayank
Elon
06/03/2021, 4:38 AMMayank
Elon
06/03/2021, 4:40 AMMayank
Elon
06/03/2021, 4:42 AMMayank
Elon
06/03/2021, 4:42 AMMayank
ServerQueryExecutorV1Impl
Elon
06/03/2021, 4:43 AMMayank
Elon
06/03/2021, 4:44 AMMayank
QueryConfig
Elon
06/03/2021, 4:47 AMMayank
Elon
06/03/2021, 4:47 AMMayank
Elon
06/03/2021, 4:48 AMMayank
Elon
06/03/2021, 4:50 AMMayank
Elon
06/03/2021, 4:57 AMMayank
Elon
06/03/2021, 5:02 AMMayank
Jackie
06/03/2021, 5:44 AMKen Krugler
06/03/2021, 2:37 PMDISTINCT
query on a column with very high cardinality. A broker somehow got “wedged”, and would no longer process queries - we had to bounce it. IIRC the guess at that time was some issue with the connection pool getting hung, when the response from a server was too big.Mayank
Elon
06/04/2021, 12:17 AM