root icon indicating copy to clipboard operation
root copied to clipboard

[ntuple] `RNTupleFillContext`: Wait for all tasks before destructing model

Open hahnjo opened this issue 1 year ago • 6 comments

Re-enable the SmallClusters test.

hahnjo avatar Jan 09 '24 08:01 hahnjo

Starting build on ROOT-performance-centos8-multicore/soversion, ROOT-ubuntu2204/nortcxxmod, ROOT-ubuntu2004/python3, mac12arm/cxx20, windows10/default How to customize builds

phsft-bot avatar Jan 09 '24 08:01 phsft-bot

Build failed on mac12arm/cxx20. Running on 194.12.161.128:/Users/sftnight/build/workspace/root-pullrequests-build See console output.

Failing tests:

phsft-bot avatar Jan 09 '24 10:01 phsft-bot

Test Results

    13 files      13 suites   2d 18h 38m 51s :stopwatch:  3 028 tests  3 028 :white_check_mark: 0 :zzz: 0 :x: 33 838 runs  33 838 :white_check_mark: 0 :zzz: 0 :x:

Results for commit 74ea29c1.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Jan 09 '24 10:01 github-actions[bot]

Starting build on ROOT-performance-centos8-multicore/soversion, ROOT-ubuntu2204/nortcxxmod, ROOT-ubuntu2004/python3, mac12arm/cxx20, windows10/default How to customize builds

phsft-bot avatar Jan 09 '24 11:01 phsft-bot

Awesome 😃! Does this finally fix the crashes in some build configurations?

Yes. But we're not entirely happy with the solution because it breaks some of the layering (IMHO RNTupleWriter should not need to know that the sink has to wait for all its tasks). We're still discussing how to best solve this...

hahnjo avatar Feb 12 '24 18:02 hahnjo

https://github.com/root-project/root/pull/16164 nicely solved the problem with freeing pages, but the RNTupleModel problem persists because the tasks created in RPageSinkBuf hold onto the RColumnElement...

hahnjo avatar Aug 19 '24 11:08 hahnjo

This isn't needed anymore, https://github.com/root-project/root/pull/16350 removed the small clusters write option.

hahnjo avatar Sep 08 '24 11:09 hahnjo