You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only possible explanation is that there's a side effect of the logging thread being started before the allocator field of the parent class being set and observable yet
Component(s)
Java
The text was updated successfully, but these errors were encountered:
Address a race condition where the allocator logger thread starts
logging before the class is fully initialized
Change initialization order within the allocator to address the race
condition.
Add list of log messages captured during the test run if the assertion
failed.
Yes.
No.
Closesapache#36340
Address a race condition where the allocator logger thread starts
logging before the class is fully initialized
Change initialization order within the allocator to address the race
condition.
Add list of log messages captured during the test run if the assertion
failed.
Yes.
No.
Closesapache#36340
…36341)
### Rationale for this change
Address a race condition where the allocator logger thread starts logging before the class is fully initialized
### What changes are included in this PR?
Change initialization order within the allocator to address the race condition.
Add list of log messages captured during the test run if the assertion failed.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
Closes#36340
* Closes: #36340
Authored-by: Laurent Goujon <laurent@apache.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
Describe the bug, including details regarding any error messages, version, and platform.
Test introduced by #35314 is flakey, and result in log messages not being detected.
In an attempt to debug it by adding the list of log messages, the following output is observed:
The only possible explanation is that there's a side effect of the logging thread being started before the allocator field of the parent class being set and observable yet
Component(s)
Java
The text was updated successfully, but these errors were encountered: