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

QueryProcessor evictionCheckTimer not named and non-daemon

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      QueryProcessor's evictionCheckTimer isn't daemon and is not named. Makes it difficult to track down when blocking application (i.e. forked benchmarks from JMH will freeze waiting for completion).

      for what its worth, little hack to work around it to make tests complete:

                  Field f = QueryProcessor.class.getDeclaredField("evictionCheckTimer");
                  f.setAccessible(true);
                  ((ScheduledExecutorService)f.get(null)).shutdown();
      

      Attachments

        1. 8344.diff
          1 kB
          Chris Lohfink

        Issue Links

          Activity

            People

              cnlwsu Chris Lohfink
              cnlwsu Chris Lohfink
              Chris Lohfink
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: