[MCOL-4771] Rand() Killing PrimProc Under Certain Circumstances Created: 2021-06-22 Updated: 2021-12-10 Resolved: 2021-08-10 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 5.5.2 |
| Fix Version/s: | 6.2.1, 6.2.2 |
| Type: | Task | Priority: | Major |
| Reporter: | Todd Stoffel (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 2021-9, 2021-10 | ||||||||
| Description |
To reproduce: Starting with the flights sample data (bts):
|
| Comments |
| Comment by David Hall (Inactive) [ 2021-08-06 ] | ||||||||||||||
|
The code inserted to handle multiple rand() calls is unneeded and was not thread safe, causing the crash. The code added to make certain function objects use fDynamicFunctor handles the multiple rand() problem. | ||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2021-08-10 ] | ||||||||||||||
|
Build verified: 6.2.1 (#2947) Reproduced the issue in 5.6.1 using 1gb dbt3 database. The same statement may fail at different times.
Verified the fix in 6.2.1. The issue is no longer occurring. |