Skip to content

DX: Improve "Maximum retries of 100 reached without finding a unique value." message #109

@staabm

Description

@staabm

Preconditions

GdprDump Version: 4.0.3

PHP Version: any

Database Version: any

Steps to reproduce

when running with a complex schema and a big dump the process can take hours.
when unqiue-value rules are not properly configured "dump-time" errors can occur like:

mstaab@mst22:/cluster/www/www/www/gdpr-dump$ time ../gdpr-dump.phar config.yaml  > gdpr-dumped.sql.bz2
Maximum retries of 100 reached without finding a unique value.

real    37m4.517s
user    36m45.867s
sys     0m16.900s

the error message itself is not very helpful when a big config file is involved which contains several unique rules.

Expected result

a error message, which denotes which column in which table could not be uniquely randomized

Actual result

Maximum retries of 100 reached without finding a unique value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions