Add sakai.property to disable Forums Ranks feature - Phase 2 - disabling the feature in code

Description

Because of the performance issues (SAK-29654) with the new Forum Ranks feature that we got in Sakai 10 (SAK-24854), we need to create a property to disable the Ranks system to avoid our database from crashing under the hundreds of thousands of queries per hour and the millions of CPU-intensive buffers each hour attribute to the Ranks feature.

However, because of the lack of time over the summer, we decided to implement this property in two phases:

Phase 1 - disable the Ranks page from the UI so that instructors and maintainers cannot add Ranks ()

Phase 2 - disable the Ranks feature throughout the code (this ticket)

For this ticket, create a property (or replace/reuse the property from ) that disables all of the Ranks feature code from Forums for institutions that don't want to use the feature or those that need to avoid the performance issues.

Environment

None

Test Plan

None

Activity

Brian Baillargeon February 12, 2016 at 9:49 AM

For reference, this uses the same property from SAK-29934:
msgcntr.forums.ranks.enable=true (default)

Hudson CI Server November 3, 2015 at 8:24 PM

SUCCESS: Integrated in sakai-10-java-1.7 #237 (See http://builds.sakaiproject.org:8080/job/sakai-10-java-1.7/237/)
- Merging PR 1196 from master for msgcntr (matthew@longsight.com: rev 321705)

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created September 29, 2015 at 10:34 AM
Updated February 12, 2016 at 9:49 AM
Resolved October 22, 2015 at 12:13 PM