Confluence search and children macro shows incorrect pages due to Faster Permissions.

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。

このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

要約

Confluence's default permission checking method is very efficient when checking permissions for a single page, and guarantees strong permission consistency. However, this method can be quite slow and memory intensive when Confluence needs to check many thousands of pages.

The faster permissions service solves this by replicates permissions information in a database structure that can be queried more efficiently. It uses database triggers to register changes to pages, spaces and their permissions, and records these in a change log. These change logs are processed regularly, and keep the fast permissions database tables up to date. 

If these database tables become corrupted, page searches and macros, such as the children macros, may display inaccurate information.

環境

Confluence 7.12.3 or later.

診断

The symptoms of a bad Faster Permissions table are very similar to those of a bad ancestor table or a bad index.

(lightbulb) That said, the easiest way to determine if the issue is related to the Faster Permissions feature is to temporarily disable it and observe if the problem resolves. However, for large deployments, it is advisable to avoid doing this during business hours, as Faster Permissions addresses some high-profile performance bugs.

CONFSERVER-43191 - Getting issue details... STATUS

CONFSERVER-55449 - Getting issue details... STATUS

(lightbulb) The other way to do it is to temporarily disable the faster permissions for one page that has the misbehaving macro and see if it helps. For this we can use the especial GET parameter "force-use-bulk-permissions" in the page URL. Like this:

https://your_base_url/confluence/display/TEST/A+page+with+child+macro?force-use-bulk-permissions=false
https://your_base_url/confluence/pages/viewpage.action?pageId=12345&force-use-bulk-permissions=false

(info) Remember change the URL to match yours.

(info) Adding this parameter also displays a special frame with the debug info that should help troubleshooting:

原因

For still unknown reasons, in some rare occasions, the Faster Permissions table can become corrupted.

Once a cause for this behavior is known, the article will be updated with it

ソリューション

Disable then re enable the Faster Permissions feature.

  1. Go to Administration menu , then General Configuration. > Faster Permissions.
  2. Select Disable then save
  3. Now select Enable then save
  4. Wait the status to change from "Initializing" to "enabled".

This should fix the tables by reprocessing all permissions to guarantee it is up to date.

(warning) It will some time to initialize just like when the Faster Permission was first enabled.

(warning) Due to the extra load the initialization will demand and the performance bugs mentioned, its recommended to be done off working hours.




最終更新日: 2024 年 10 月 28 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.