Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9027

Multi-thread Snapshot action writes only part of the events for large input files

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 6.10/06
    • 6.10/08
    • Other
    • None
    • any

    Description

      Reproducer macro (input file contains ~11 million events):

      #include <ROOT/TDataFrame.hxx>
       
      void repro()
      {
         ROOT::EnableImplicitMT(4);
         ROOT::Experimental::TDataFrame d("t", "file.root");
         // less than 10% of the input entries are writte to debug.root
         d.Snapshot<float>("t", "debug.root", {"x"});
      }

      Non-multi-thread executions are unaffected, and master seems to be unaffected.

      Attachments

        Activity

          People

            amadio Guilherme Amadio
            eguiraud Enrico Guiraud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual Start: