-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Description
When running the partial_write_single_test script, after the single cycle of clients has completed (possibly successfully), an old .output file gets overwritten or emptied to 0 bytes. This behavior would likely extend to the partial_write_cycle_test script as well since they are similarly coded.
Expected Behavior
I expect this to never happen. There doesn't seem to be code that would explain this behavior in the scripts. I don't expect a test's output to be overwritten once it has concluded. It is theoretically possible that NONE of the data gets written, hence the zero. However, this doesn't seem to be the case if the directory is watched while the tests run.
Actual Behavior
A prior test gets overwritten or emptied so the size goes from, let's say, the correct size of 1000 to 0.
Steps to Reproduce
It can be difficult to reproduce. But a tried and true method is to run the script repeatedly in one terminal and a watch -dp ls -la in another terminal to watch for the behavior to occur.
Your Environment
- Compiler: gcc 4.9.2
- OS (and version): Debian 8.9 (Jessie)
- RAM: 128Gb
- CPU (and cores): Intel dual Xeons (32 cores)
Solution/Suggestion
I'm not sure as to what could be a positive direction to solve this issue at the moment.