[midPoint-git] [Evolveum/midpoint] 627637: sqale: Added support for reindex option

Tony Tkáčik noreply at github.com
Mon Sep 13 16:01:53 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 6276370d63c8ddf59d855e114b8535d05333ae45
      https://github.com/Evolveum/midpoint/commit/6276370d63c8ddf59d855e114b8535d05333ae45
  Author: Tony Tkacik <tonydamage at gmail.com>
  Date:   2021-09-13 (Mon, 13 Sep 2021)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/AddObjectContext.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/RootUpdateContext.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoModifyObjectTest.java

  Log Message:
  -----------
  sqale: Added support for reindex option

reindex is neccessary if there is desync between indexes and full object
reindex is implemented as :
  1. select original version
  2. apply modifications to fullObject (do not store in database)
  3. delete original version (this ensures proper removal of all old indices)
  4. add new version (this ensures proper addition of new indices as in full object)




More information about the midPoint-svn mailing list