Closed ERosendo closed 1 month ago
There were 0 gains and 0 losses.
Sounds good, thanks. Merging. We can cut a release if we want or just let it be. This is rare enough, I think we can wait, and I think we have another issue about not recognizing citations that we'll need to pull in soon anyway.
This PR introduces logic to handle the
InvalidError
exception during loading the cached hyperscan db and fixes #4053.According to the documentation, this error (
InvalidError
) is only returned when the function detects an invalid parameter. Sinceloaddb
only takes one parameter(the serialized Hyperscan database), this error indicates a problem with the input ByteString. The current fix addresses this by triggering a full database recompile whenever this exception is encountered.