<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Database cache is not cleared properly across the cluster</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120557470" />
  <subtitle>Database cache is not cleared properly across the cluster</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120557470</id>
  <updated>2026-04-04T12:44:17Z</updated>
  <dc:date>2026-04-04T12:44:17Z</dc:date>
  <entry>
    <title>RE: Database cache is not cleared properly across the cluster</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120561893" />
    <author>
      <name>Rafał Pydyniak</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120561893</id>
    <updated>2021-01-27T07:49:08Z</updated>
    <published>2021-01-27T07:49:08Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;yes I did that, thanks for the answer anyway!&lt;/p&gt;
&lt;p&gt;After all it seems that the issue was different timezone set on one
  of the servers (in setenv.sh). It seems to be working fine after I
  changed that&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</summary>
    <dc:creator>Rafał Pydyniak</dc:creator>
    <dc:date>2021-01-27T07:49:08Z</dc:date>
  </entry>
  <entry>
    <title>RE: Database cache is not cleared properly across the cluster</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120560914" />
    <author>
      <name>Fernando Fernandez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120560914</id>
    <updated>2021-01-25T14:12:14Z</updated>
    <published>2021-01-25T14:12:14Z</published>
    <summary type="html">&lt;p&gt;Hi Rafal,&lt;/p&gt;
&lt;p&gt;Did you read this? &lt;/p&gt;
&lt;p&gt;https://www.emdev.ru/en/blogs/-/asset_publisher/SQpx6X3FpPt8/content/all-about-liferay-7-ce-clustering&lt;/p&gt;
&lt;p&gt;HTH&lt;/p&gt;
&lt;p&gt;Fernando&lt;/p&gt;</summary>
    <dc:creator>Fernando Fernandez</dc:creator>
    <dc:date>2021-01-25T14:12:14Z</dc:date>
  </entry>
  <entry>
    <title>Database cache is not cleared properly across the cluster</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120557469" />
    <author>
      <name>Rafał Pydyniak</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120557469</id>
    <updated>2021-01-22T12:28:07Z</updated>
    <published>2021-01-22T12:28:07Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I have a question. I have created clustered environment with two
  Liferay instances (hosted on two different servers, same subnet). I'm
  using unicast over TCP for cluster link with TCPPing option. I'm using
  the same database, I have shared directory for data and I'm using
  same, remote ElasticSearch instance. When I start the servers there
  are messages that suggest proper working on for the cluster
  (JgroupsReceiver Accepted view... with both servers). The Liferay
  version is 7.0.6 CE.&lt;/p&gt;
&lt;p&gt;Everything seems to be working fine - ES indexes seems to be working
  fine, documents &amp;amp; media seems to be working fine as well. The only
  thing I have problem with are web contents. When I update a web
  content on one node I can't see the changes right away on second node
  - if I want it to be available right away I need to clear the database cache.&lt;/p&gt;
&lt;p&gt;From what I understand from the documentation Liferay should
  invalidate cache on other nodes so the other nodes can fetch
  &amp;quot;fresh&amp;quot; data from the database instead of using cache.&lt;/p&gt;
&lt;p&gt;I also have following properties in portal-ext.properties connected
  to clustering (on both nodes these are the same):&lt;br /&gt;cluster.link.enabled=true&lt;br /&gt;ehcache.cluster.link.replication.enabled=true&lt;br /&gt;web.server.display.node=true&lt;br /&gt;cluster.link.channel.properties.control=/home/liferay/portal_ceGA7/unicast.xml&lt;br /&gt;cluster.link.channel.properties.transport.0=/home/liferay/portal_ceGA7/unicast.xml&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Any ideas what else could've been wrong?&lt;/p&gt;</summary>
    <dc:creator>Rafał Pydyniak</dc:creator>
    <dc:date>2021-01-22T12:28:07Z</dc:date>
  </entry>
</feed>
