-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.2.X
-
Fix Version/s: 7.2.10 DXP FP5, 7.2.10.2 DXP SP2, 7.2.X
-
Component/s: Search Infrastructure
-
Branch Version/s:7.2.x
-
Backported to Branch:Committed
-
Fix Priority:4
-
Epic Link:
-
Sprint:Search|S03 Sprint 13| 3.16-4.6
-
Git Pull Request:
This is not reproducible on master as of 69091b801c451278c05db8c0f022568ab8a91497
Steps to reproduce:
- Deploy the Elasticsearch 7 connector to the bundle by running the following command from your portal root directory: "ant -f build-test-elasticsearch7.xml deploy-elasticsearch7"
- Add "com.liferay.portal.search.tuning.rankings.web" to the blacklist config file in osgi/configs
- Set up two Elasticsearch clusters for CCR by running the following command from your portal root directory: "ant -f build-test-elasticsearch7.xml start-elasticsearch -Dremote.elasticsearch.ccr.enabled=true"
- Start up portal
- Connect the Elasticsearch clusters and create follow indices by running the following command from your portal root directory: "ant -f build-test-elasticsearch7.xml create-follower-indices"
- Navigate to Control Panel > System Settings > Search > Cross-Cluster Replication
- Set the following and click "Save":
- Check the "Enabled" checkbox
- Cluster Name: LiferayElasticsearchClusterTwo
- Transport Addresses: localhost:9500
- Create a Web Content Article titled "Doc 1"
- Search for "doc" and assert "Doc 1" is returned as a search result
- Navigate to Control Panel > Configuration > Search
- Reindex all search indexes
- Create a Web Content Article titled "Doc 2"
- Search for "doc"
Expected result:
Expected the leader indices to be automatically re-followed after a full reindex.
Expected "Doc 2" to be replicated to the local cluster and searchable.
Actual result:
The leader indices are not automatically re-followed.
Only "Doc 1" is returned as a search result.
Reproduced on:
Tomcat 9.0.17 + MySQL 5.7
Portal 7.2.x GIT ID: fe561f322b46dd77423b0a674e33974a08ffcebb
- is related to
-
LPS-109202 CCR local cluster stops replicating company and system indexes after performing a full reindex
- Closed