Please answer these questions before submitting your issue. Thanks!
What did you do? If possible, provide a recipe for reproducing the error.
I'm trying to iterate over failpoint.List() to obtain all the enabled failpoint keys. However, I'm also retrieving deprecated keys from the list.
What did you expect to see?
After calling failpoint.disable(key), the key should no longer be present in fps.reg
What did you see instead?
Now, even after I disable a failpoint key, I can still retrieve it once it has been enabled.4. Versions of the failpoint
I managed to address the issue by using failpoint.status(fppath). However, I'm unclear about the status of the failpoints returned by failpoint.List(). Does it show failpoints that are defined, enabled, or disabled?
Bug Report
Please answer these questions before submitting your issue. Thanks!
failpoint.List()
to obtain all the enabled failpoint keys. However, I'm also retrieving deprecated keys from the list.What did you see instead? Now, even after I disable a failpoint key, I can still retrieve it once it has been enabled.4. Versions of the failpoint
failpoint-ctl version (run
failpoint-ctl -V
):