py2/py3: use hexdigest instead of digest in inventory cache key to avoid non-valid UTF-8 bytes.
One problem with hexdigest is that it's longer and the column was
created as binary(16). We don't have a mechanism to run migrations on
this table, so we use UNHEX in SQL to have the equivalent as digest()
from hexdigest()
Co-authored-by: Jérome Perrin <jerome@nexedi.com>
Showing
Please register or sign in to comment