Crucible system property not working: crucible.review.file.revisions.limit

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • None
    • Affects Version/s: 2.10.0, 2.10.4, 3.0.1
    • Component/s: None

      According to this document, it should be possible to use the property crucible.review.file.revisions.limit in Crucible 2.10.0.

      This is my path/to/fecru-2.10.0/system.properties:

      # Number of file revisions allowed in a review. Default is 800.
      # Limits the size of a review to prevent extremely large reviews accidentally being created and potentially slowing the instance down.
      crucible.review.file.revisions.limit=2000
      
      # Number of paths. Default is 10000. This setting is to prevent extremely large changesets (which are often the result of an error) from slowing FishEye/Crucible down. 
      # See https://confluence.atlassian.com/display/FISHKB/Indexed+paths+truncated+at+10000 for the messages that are logged if the value is reached.
      fisheye.changeset.paths.limit=10000
      

      However, this is not working. Below is the startup output of a FishEye/Crucible 2.10.0 instance with debug enabled, not acknowledging the usage of the crucible.review.file.revisions.limit property:

      ecrmac-01:bin atl$ ./run.sh --debug
      WARN: your default encoding (MacRoman) does not support unicode.
      This is likely to cause problems if any of the filenames, branch names or tag names in one of your repositories contain unicode characters.
      Update your locale settings or start with the -Dfile.encoding=UTF-8 option to avoid these problems.
      2013-07-24 11:24:32,206 INFO  - Using log4j configuration file: /Users/atl/Documents/Atlassian/fecru-2.10.0/log4j.xml
      2013-07-24 11:24:32,234 INFO  - FishEye arguments: [--debug]
      2013-07-24 11:24:32,237 INFO  - Starting with --debug. Logging will be at debug level.
      2013-07-24 11:24:32,237 INFO  - FishEye/Crucible 2.10.0 (20130115015957), Built on 2013-01-15
      2013-07-24 11:24:32,237 INFO  - earlier: Loading custom system.properties /Users/atl/Documents/Atlassian/fecru-2.10.0/system.properties
      2013-07-24 11:24:32,238 INFO  - Logging started (Apple Inc.|20.51-b01-457|/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home|Mac OS X|x86_64|10.8.4|maxmem=1011MB)
      2013-07-24 11:24:33,972 INFO  - UpgradeManager started.
      2013-07-24 11:24:34,035 INFO  - loading config from file: /Users/atl/Documents/Atlassian/fecru-2.10.0/config.xml
      2013-07-24 11:24:34,379 INFO  - 
      2013-07-24 11:24:34,380 INFO  - =======================================================
      2013-07-24 11:24:34,380 INFO  - 
      2013-07-24 11:24:34,380 INFO  - Welcome to FishEye!
      2013-07-24 11:24:34,380 INFO  - 
      2013-07-24 11:24:34,381 INFO  - You need to configure an admin password and enter your
      2013-07-24 11:24:34,381 INFO  - license key. You can do this by accessing FishEye through
      2013-07-24 11:24:34,381 INFO  - a web browser, once the server has started:
      2013-07-24 11:24:34,381 INFO  - 
      2013-07-24 11:24:34,388 INFO  - http://localhost:8060
      2013-07-24 11:24:34,388 INFO  - 
      2013-07-24 11:24:34,388 INFO  - Refer to the FishEye administration guide
      2013-07-24 11:24:34,388 INFO  - for more information:
      2013-07-24 11:24:34,388 INFO  - 
      2013-07-24 11:24:34,389 INFO  - https://confluence.atlassian.com/display/FISHEYE/Starting+to+use+FishEye
      2013-07-24 11:24:34,389 INFO  - 
      2013-07-24 11:24:34,389 INFO  - =======================================================
      2013-07-24 11:24:34,389 INFO  - 
      2013-07-24 11:24:34,393 INFO  - Your Server ID is BG0U-3IHV-0DVQ-4ZI8
      2013-07-24 11:24:34,857 INFO  - System property fisheye.p4.disable.ancestry using value: false (default is false)
      2013-07-24 11:24:34,857 INFO  - System property fisheye.p4.disable.branchspecs using value: false (default is false)
      2013-07-24 11:24:34,857 INFO  - System property fisheye.changeset.paths.limit set to value: 10000
      2013-07-24 11:24:34,858 INFO  - System property fisheye.disable.suffixpaths using value: false (default is false)
      2013-07-24 11:24:34,858 INFO  - System property fisheye.svn.index.trunk.content.only using value: false (default is false)
      2013-07-24 11:24:34,858 INFO  - System property fisheye.jira.activity.enable using value: false (default is false)
      2013-07-24 11:24:34,858 INFO  - System property fisheye.jetty.jmx.enable using value: false (default is false)
      2013-07-24 11:24:34,897 INFO  - Adding secondary content dir of /Users/atl/Documents/Atlassian/fecru-2.10.0/content
      2013-07-24 11:24:39,769 INFO  - Starting database...
      2013-07-24 11:24:43,148 INFO  - Database started.
      2013-07-24 11:24:44,078 INFO  - Starting plugin system...
      2013-07-24 11:24:45,605 INFO  - Mail system not configured.
      2013-07-24 11:25:01,799 INFO  - Plugin system started.
      2013-07-24 11:25:02,356 INFO  - Server started on :8060 (http) (control port on 127.0.0.1:8059)
      

      As can be seen above, only the property fisheye.changeset.paths.limit was acknowledged.

      I have also tested this in FishEye/Crucible 2.10.4 and in 3.0.1, with no luck.

            Assignee:
            paulwatson (Inactive)
            Reporter:
            Felipe Kraemer
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: