Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17668

Fix leak of non-standard Java types in our Exceptions as clients using JMX are unable to handle them

    XMLWordPrintableJSON

Details

    Description

      This is a continuation of CASSANDRA-17638 where we fixed leaks introduced during development of 4.1 to ensure no regressions.

      This ticket is to fix a few leakages which are there since previous major versions, not 4.1 regressions. 

      setRepairSessionMaxTreeDepth(exists since 3.0) and setRepairSessionSpaceInMegabytes(since 4.0)

       in the DatabaseDescriptor. 

      checkValidForByteConversion and validateMaxConcurrentAutoUpgradeTasksConf (both since 4.0)

       are used in both setters and on startup. They shouldn't throw ConfigurationException in the setters. 

      There might be more but those are at least a few obvious I found in the DatabaseDescriptor.

      CC dcapwell 

      Attachments

        Issue Links

          Activity

            People

              lmtrombone Leonard Ma
              e.dimitrova Ekaterina Dimitrova
              Leonard Ma
              David Capwell, Ekaterina Dimitrova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h
                  3h