jbrzusto / find_tags

search raw data streams for patterns from registered tags
GNU General Public License v2.0
2 stars 0 forks source link

recording possibly incorrect `metadata-hash` parameter when using `--resume` #51

Closed jbrzusto closed 6 years ago

jbrzusto commented 6 years ago

The tag database and events table is being resumed from serialized state, but we're always passing the metadata_hash parameter on the find_tags_motus command-line, using the value from the current metadata cache DB.

Instead, if resume succeeds, re-record the metadata hash from the resumed batch, rather than using the version passed on the command line.