Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-4338

Duplicate entry errors while synchronising with remote Crowd (MySQL, potentially HSQLDB)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 2.8.3
    • 2.8.2
    • None
    • None

      When setting up Crowd using MySQL (version 5.6.24) and then syncing Crowd 2.8.2 to a remote Crowd instance (e.g. Extranet Crowd), we are seeing com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '131399-66649-GROUP_USER' for key 'uk_mem_parent_child_type' errors when syncing for the second time (and thereafter).

      We are not seeing these errors when using a PostgreSQL database.

      Most likely these errors can also happen with certain versions of HSQLDB. We experienced them in Stash (see issue https://sdog.jira.com/browse/LEM-726) which is using version 2.2.4. Crowd 2.8.2 is using an older version (1.8.0.10) and that might be the reason that the error can only be reproduced with mySQL.

        1. crowd-2.8.2-syncing-mysql-twice.txt
          116 kB
          Oliver Senn
        2. crowd-2.8.2-sync-log-hsqldb.txt
          96 kB
          Oliver Senn

            skalsi Sunny Kalsi [Atlassian]
            osenn Oliver Senn
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: