@franzpoeschel just realized that a series.flush() for new record components, before a storeChunk is even called, queues a one-element dataset-write to the backends.
This is visible in the parallel write example:
https://github.com/openPMD/openPMD-api/blob/0.7.1-alpha/examples/5_write_parallel.cpp#L86
and doesn't seem right from our internal handling logic:
- it will write unnecessary, random data to location (0,[0,...0])
- this data will be overwritten later on
- all backends have to handle this unusual corner case
Likely origin:
https://github.com/openPMD/openPMD-api/blob/0.7.1-alpha/src/backend/PatchRecordComponent.cpp#L97
@franzpoeschel just realized that a
series.flush()for new record components, before astoreChunkis even called, queues a one-element dataset-write to the backends.This is visible in the parallel write example:
https://github.com/openPMD/openPMD-api/blob/0.7.1-alpha/examples/5_write_parallel.cpp#L86
and doesn't seem right from our internal handling logic:
Likely origin:
https://github.com/openPMD/openPMD-api/blob/0.7.1-alpha/src/backend/PatchRecordComponent.cpp#L97