Open dsbowen opened 2 weeks ago
I think the idea is to use the timestamp in each specific step. So for step 6, search is executed at 12:25, which means all 3 files: Update1.txt, Update1Copy.txt and Update2.txt exist. It's the same for step 7.
This way the server is not stateful, which makes a better design. However, this means rollback have very little effect on the server, so it can be a little confusing.
Thanks for posting this repo!
For level 4 tests, the sequence of events is:
For 6 and 7, the test cases say the output should be "found at [Update1.txt, Update1Copy.txt, Update2.txt]" and "got at Update2.txt" respectively. But, if the database should be in its 12:10 state and Update1Copy.txt wasn't created until 12:15 and Update2.txt wasn't created until 12:20, why are these appearing in the search results?
If I'm understanding the purpose of rollback correctly, shouldn't the expected outputs be "found at [Update1.txt]" and "file not found"? Thanks for clarifying.