Foren

Incongruence in users search in "balanced" instances.-

Gustavo Vázquez, geändert vor 6 Jahren.

Incongruence in users search in "balanced" instances.-

New Member Beiträge: 7 Beitrittsdatum: 14.12.16 Neueste Beiträge
Hi all. Thanks in advance for the responses to this post.

We have 2 liferay servers (version 6.1.1) behind a reverse proxy that makes load balance with sticky sesions between them (using AJP). Some users, when they do a search with a name (for example cristina) sees 3 users, but other userss with the same search gets 5. We configured two ways to access directly to the servers without load balancing and we see that one of the servers get only 3 users and the other 5 users in the search.

The problem is that, depending on the server to witch the sticky session sends you, the user gets one or the other result. We compared the configuration for the database, LDAP, etc. and it's the same in both servers, so it doesn't seems to be a problem with the datasource.

Any idea of the problem we have here and a solution?

Thanks in advance.
Gustavo.-
thumbnail
Samuel Kong, geändert vor 6 Jahren.

RE: Incongruence in users search in "balanced" instances.-

Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
Try clearing your search indexes:
  • Control Panel > Server Administration
  • Reindex search indexes

If the problem persist, there might be a problem with the way you configured the cache replication in your cluster setup.
thumbnail
Jorge Díaz, geändert vor 6 Jahren.

RE: Incongruence in users search in "balanced" instances.-

Liferay Master Beiträge: 753 Beitrittsdatum: 09.01.14 Neueste Beiträge
You can also use my portlet: Index Checker
Gustavo Vázquez, geändert vor 6 Jahren.

RE: Incongruence in users search in "balanced" instances.-

New Member Beiträge: 7 Beitrittsdatum: 14.12.16 Neueste Beiträge
Excelent! It worked smoothly!

Thank you very much!