Review main Abandoned

58717[BUGFIX] Change hashing algorithm for indexed_search

Sybille Peters CR 0 V 0 Hard +678 −134 updated 10/19/19, 08:11

Commit message

Indexed_search calculates hashes in a number of places and writes them
to the database. The fields were of type INT which required a cropping
of the default md5 hash mechanism. This resulted in hash collisions and
subsequently exceptions being thrown.

The hash is no longer treated as an integer value, but as a string and
remains at its full length upon storage in database.

A feature toggle will keep the old behaviour as default, for a switch an
UpdateWizard is available. Using the new storage format will require
truncating all index related tables and reindexing afterwards.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 15