Reviews mix file types, clear inconsistancies in stored diff cache


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



Reviews are mixing files of one type with another type in the UI. However, clicking on the code changeset shows the correct code. 


There is likely an inconsistency between what Crucible thinks is in the stored diff cache and what is actually there. The stored diff cache is in FISHEYE_INST/var/data/uploads/... and the DB table cru_revision maps these to paths and revisions via the cru_upload_item table.

In the DB, the contents of the files likely do not match what cru_revision expects.

Previous scenarios analysed

This problem has been observed when the following conditions occurred:

  • two instances of Crucible have been running against the same database, this lead to the incorrect set of values for the cru_upload_item field.
  • two backups of Fisheye/Crucible have been restored, where one contained an older set of review caches, and another one a more recent status for the database.


  • Make sure that the is a single instance of Fisheye/Crucible connected to the database
  • Force the reviews to create new cache entries by applying the following SQL to the DB:

    update cru_revision set cru_upload_item = null


    Next time a review is viewed, the diffs will be retrieved from your repository and stored again.

  • Vote for this feature request: CRUC-7260 - Getting issue details... STATUS

最終更新日 2018 年 7 月 31 日


Powered by Confluence and Scroll Viewport.