legacy-knowledge-base
公開されました Jun. 30, 2025

あるノードでの変更により、別のノードのキャッシュにある同じエントリーが削除される。

written-by

Neil Cuzon

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • ユーザーがあるノードでキャッシュを更新すると、他のノードのキャッシュからもそのエントリーが削除されることが確認されている。

環境

  • DXP 7.4

解像度

  • これは想定内の行動だ。

  • エンティティの変更が永続化されると、LiferayはJGroupsを介してすべてのノードにメッセージをブロードキャストします。 メッセージは次のようなものだ:"web content id 36745689 is updated".
  • メッセージを受信すると、ノードはそのエントリーがキャッシュにあれば、そのエントリーを失効させる。 更新されたエンティティのその後の取得は、"キャッシュミス"となり、データベースから取得され、再びキャッシュに追加される。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base