Clearly the PULSE tests had not been run for a while. PULSE has improved a bit since these tests were written and a lot of instrumentation is no longer needed; we could clean the prodcution code from additions made specifically for PULSE.
There is one change made to the production code: In bitcask_file.erl L152 an error was logged when a file open failed. But the logic in therest of bitcask is that this may happen and that bitcask will retry to open that file. As such it is not an error, but rather a warning.
Since the PULSE tests do check the log for errors and this popped up often in those tests, the solution to make it a warning seems helpful.
Clearly the PULSE tests had not been run for a while. PULSE has improved a bit since these tests were written and a lot of instrumentation is no longer needed; we could clean the prodcution code from additions made specifically for PULSE.
There is one change made to the production code: In
bitcask_file.erl
L152 an error was logged when a fileopen
failed. But the logic in therest of bitcask is that this may happen and that bitcask will retry to open that file. As such it is not an error, but rather a warning. Since the PULSE tests do check the log for errors and this popped up often in those tests, the solution to make it a warning seems helpful.