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

QueryProcessor evictionCheckTimer not named and non-daemon

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment