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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.10/06
    • Fix Version/s: 6.10/08
    • Component/s: Other
    • Labels:
      None
    • Environment:

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Actual Start: