[hibernate-commits] [hibernate/hibernate-search] 9236a7: HSEARCH-3857 In some cases the SearchIndexingPlan ...

Yoann Rodière noreply at github.com
Mon Mar 9 05:37:50 EDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 9236a7846864b23c901fc025dcfc9eab4b916527
      https://github.com/hibernate/hibernate-search/commit/9236a7846864b23c901fc025dcfc9eab4b916527
  Author: Alexis CUCUMEL <alexis.cucumel at fiducial.net>
  Date:   2020-03-09 (Mon, 09 Mar 2020)

  Changed paths:
    M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoContainedTypeIndexingPlan.java
    M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexedTypeIndexingPlan.java

  Log Message:
  -----------
  HSEARCH-3857 In some cases the SearchIndexingPlan generate a ConcurrentModificiationException if an embedded entities is not listed in the addOrUpdate or on specific order (if only the last entity is concern this case)


  Commit: ebf8098f6e914a713061292ebc1d47db28c1adb8
      https://github.com/hibernate/hibernate-search/commit/ebf8098f6e914a713061292ebc1d47db28c1adb8
  Author: Alexis CUCUMEL <alexis.cucumel at fiducial.net>
  Date:   2020-03-09 (Mon, 09 Mar 2020)

  Changed paths:
    A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingConcurrentModificationIT.java

  Log Message:
  -----------
  HSEARCH-3857 Test ConcurrentModificiationException when reindexing adds a new entity to the indexing plan


  Commit: a957d276fa700a6d13c671fa0f4ed6e846c1a13a
      https://github.com/hibernate/hibernate-search/commit/a957d276fa700a6d13c671fa0f4ed6e846c1a13a
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2020-03-09 (Mon, 09 Mar 2020)

  Changed paths:
    M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingConcurrentModificationIT.java

  Log Message:
  -----------
  HSEARCH-3857 Simplify AutomaticIndexingConcurrentModificationIT.java slightly


  Commit: f59d6a8a16fa544d72c28e485511a83c6d56bd3d
      https://github.com/hibernate/hibernate-search/commit/f59d6a8a16fa544d72c28e485511a83c6d56bd3d
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2020-03-09 (Mon, 09 Mar 2020)

  Changed paths:
    M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoIndexingPlanImpl.java

  Log Message:
  -----------
  HSEARCH-3857 Fix ConcurrentModificiationException when reindexing adds a new indexed type to the indexing plan


  Commit: b6558488bff06efd2b3eaa0e3e8f1700a0cef832
      https://github.com/hibernate/hibernate-search/commit/b6558488bff06efd2b3eaa0e3e8f1700a0cef832
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2020-03-09 (Mon, 09 Mar 2020)

  Changed paths:
    R integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingConcurrentModificationIT.java
    A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingConcurrentModificationInDifferentTypeIT.java
    A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingConcurrentModificationInSameTypeIT.java

  Log Message:
  -----------
  HSEARCH-3857 Test ConcurrentModificiationException when reindexing adds a new indexed type to the indexing plan


  Commit: 2fed26a28f479f0581358426f2efeecda9ae32d7
      https://github.com/hibernate/hibernate-search/commit/2fed26a28f479f0581358426f2efeecda9ae32d7
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2020-03-09 (Mon, 09 Mar 2020)

  Changed paths:
    M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/work/impl/PojoContainedTypeIndexingPlan.java

  Log Message:
  -----------
  HSEARCH-3857 Remove an unnecessary collection copy in PojoContainedTypeIndexingPlan

There is no way the indexing plan of a contained type is altered by
reindexing resolution, since contained types are, by definition, not
indexed directly.


Compare: https://github.com/hibernate/hibernate-search/compare/100ee0c787bb...2fed26a28f47



More information about the hibernate-commits mailing list