[midPoint-git] [Evolveum/midpoint] 1c1be2: Sqale: Switched transaction isolation to Repeatabl...

Tony Tkáčik noreply at github.com
Thu Mar 7 09:45:58 CET 2024


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 1c1be26beb9a03a3690d5bf6eabcdfd0fa3bd43c
      https://github.com/Evolveum/midpoint/commit/1c1be26beb9a03a3690d5bf6eabcdfd0fa3bd43c
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryConfiguration.java

  Log Message:
  -----------
  Sqale: Switched transaction isolation to Repeatable Reads

Originally native postgres repository used Read Commited transaction
but that is not sufficient in multiple cases such as:
  - search containers (2+ selects, data could desync between selects)
  - lookup tables (data are in separate table than object)
  - splitted objects (data are in multiple tables)

This commit does not provide full support for Repeatable Reads.


  Commit: 0db17365135d39cbf380a04e979230a27fbfc8c0
      https://github.com/Evolveum/midpoint/commit/0db17365135d39cbf380a04e979230a27fbfc8c0
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java

  Log Message:
  -----------
  sqale: Introduced retry mechanism and use it for advance sequence.


  Commit: 58595f917006d25bdf32fe8022d11b51c0017eae
      https://github.com/Evolveum/midpoint/commit/58595f917006d25bdf32fe8022d11b51c0017eae
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/slow/SequenceConcurrencyTest.java

  Log Message:
  -----------
  sqale: Use retry for return to sequence

Signed-off-by: Tony Tkáčik <tonydamage at gmail.com>


  Commit: 4d25083bdd4ae96e0d1542e7e85fad0d60a91608
      https://github.com/Evolveum/midpoint/commit/4d25083bdd4ae96e0d1542e7e85fad0d60a91608
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java

  Log Message:
  -----------
  sqale: Retry support for add, modify + dynamicly, delete, searchObjects


  Commit: 0b8f3de5d171e792a7026e40192f13e738bf73c9
      https://github.com/Evolveum/midpoint/commit/0b8f3de5d171e792a7026e40192f13e738bf73c9
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/slow/SequenceConcurrencyTest.java

  Log Message:
  -----------
  Sqale: Fixed detection of retry condition.


  Commit: 8fc88be7007a39c687d13c5d53bd4402a7ce7202
      https://github.com/Evolveum/midpoint/commit/8fc88be7007a39c687d13c5d53bd4402a7ce7202
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java

  Log Message:
  -----------
  sqale: Retriable Read: Added support for rest of public methods.


  Commit: 2365e434b14a59a0d85c977e56b07a753bf16683
      https://github.com/Evolveum/midpoint/commit/2365e434b14a59a0d85c977e56b07a753bf16683
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java

  Log Message:
  -----------
  Retry modify transaction if m_uri key is missing.


  Commit: 1ec2237d7474f308fe258c792dd6aeb2caa54edb
      https://github.com/Evolveum/midpoint/commit/1ec2237d7474f308fe258c792dd6aeb2caa54edb
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QObjectMapping.java

  Log Message:
  -----------
  Enable splitted object storage.


  Commit: ee9a6f2aa18a7299ab1a16806ae6e7983390d25c
      https://github.com/Evolveum/midpoint/commit/ee9a6f2aa18a7299ab1a16806ae6e7983390d25c
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/misc/TestMisc.java

  Log Message:
  -----------
  Fixed using incorrect matching rule in TestMisc

Signed-off-by: Tony Tkáčik <tonydamage at gmail.com>


Compare: https://github.com/Evolveum/midpoint/compare/86be9e8c2a2f...ee9a6f2aa18a

To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list