Skip to content

hash algorithm collisions #53

Description

@smeks

this app is completly unusable past 500 images. Have you even tested this thing past that? I decided to move out all the images that matched within 5% just to test this. It was even worse. Started coliding just before hashing 400 images. -_-

22:33:47.208 › scaning imagess...
[Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: images.hash] {
  errno: 19,
  code: 'SQLITE_CONSTRAINT'
} found image already present in db f780030bbef261fee6a6cceac322b6d94fb0d78b774d71df27018bfdd812baa9 <REDACTED>
22:33:49.013 › Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: images.hash found image already present in db f780030bbef261fee6a6cceac322b6d94fb0d78b774d71df27018bfdd812baa9 <REDACTED>
path doesn't match, updating
22:33:49.013 › path doesn't match, updating
scaning images...
22:38:48.549 › scaning imagess...
[Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: images.hash] {
  errno: 19,
  code: 'SQLITE_CONSTRAINT'
} found image already present in db 5b2ed630d30800fed1026cb205393cb2317a75da331ac336cd98198f2cce33db <REDACTED>
22:38:50.301 › Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: images.hash found image already present in db 5b2ed630d30800fed1026cb205393cb2317a75da331ac336cd98198f2cce33db <REDACTED>
path doesn't match, updating
22:38:50.301 › path doesn't match, updating
[Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: images.hash] {
  errno: 19,
  code: 'SQLITE_CONSTRAINT'
} found image already present in db ec6855690ea66997279b8501f393935780d220ce6f141bed9bf7632eaf0de3f3 <REDACTED>
22:38:50.333 › Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: images.hash found image already present in db ec6855690ea66997279b8501f393935780d220ce6f141bed9bf7632eaf0de3f3 <REDACTED>
path doesn't match, updating
22:38:50.333 › path doesn't match, updating
^[[112;6u^[[99;6u[electronmon] app exited with code 0, waiting for change to restart it
^C<i> [webpack-dev-server] Gracefully shutting down. To force exit, press ^C again. Please wait...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions