[midPoint-git] [Evolveum/midpoint] 92861e: Avoid redundant RExtItem entries

Pavol Mederly mederly at evolveum.com
Thu Mar 29 11:27:14 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 92861eb6e93296306b6b49301adacea6df1a40ee
      https://github.com/Evolveum/midpoint/commit/92861eb6e93296306b6b49301adacea6df1a40ee
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-03-29 (Thu, 29 Mar 2018)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ExceptionUtil.java
    A repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ExtDictionaryTest.java
    M repo/repo-sql-impl-test/testng-integration.xml
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SerializationRelatedException.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RExtItem.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/dictionary/ExtItemDictionary.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/BaseHelper.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/ObjectUpdater.java

  Log Message:
  -----------
  Avoid redundant RExtItem entries

Due to a race condition, duplicate entries in m_ext_item table were
occasionally created. This commit introduces a constraint that prevents
this and provides a code that retries the repo operation when such
conflicting insertion happens.

TODO: update db scripts and test against Oracle and SQL Server


  Commit: 32d5cfe038ea3f9d857d61b8ea816afd557239a9
      https://github.com/Evolveum/midpoint/commit/32d5cfe038ea3f9d857d61b8ea816afd557239a9
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-03-29 (Thu, 29 Mar 2018)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ExceptionUtil.java
    A repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ExtDictionaryTest.java
    M repo/repo-sql-impl-test/testng-integration.xml
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SerializationRelatedException.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RExtItem.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/dictionary/ExtItemDictionary.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/BaseHelper.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/ObjectUpdater.java

  Log Message:
  -----------
  Merge branch 'fix/multiple-ext-item-definitions'


Compare: https://github.com/Evolveum/midpoint/compare/9773b0c1ad21...32d5cfe038ea


More information about the midPoint-svn mailing list