1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

feat(): TupleHashJoin now handles bad_alloc case switching to disk-based if it is enabled

This commit is contained in:
drrtuy
2025-01-22 15:17:25 +00:00
parent f594d27685
commit 1aa2f3a42b
5 changed files with 110 additions and 35 deletions

View File

@ -305,6 +305,7 @@ void TupleJoiner::bucketsToTables(buckets_t* buckets, hash_table_t* tables)
wasProductive = true;
buckets[i].clear();
}
// TODO use CV here instead of busy sleep
if (!done && !wasProductive)
::usleep(1000 * numCores);
}