Uploaded image for project: 'Bitrepository'
  1. Bitrepository
  2. BITMAG-1083

Checksumpillar auditdb can have multiple id's for the same actor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • Reference pillar
    • None
    • Bit Sprint 1

    Description

      The checksum pillar can fail in a way that results in an actor being inserterted more that excatly once in the Actor table of the audit database.
      This seem to have happened when a database connection was lost.
      This results in puts (perhaps other operations) failing since the code extracting the actor expects at most one result.
      The solution is to put a unique constraint on the specific table, so the database it self will refuse to let one actor have multiple rows in the Actor table.

      Attachments

        Activity

          People

            rbkr Rasmus Bohl Kristensen
            ktc Kim Christensen (Inactive)
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: