cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-12062) Prevent key invalidation if there's no key to invalidate
Date Wed, 22 Jun 2016 16:01:58 GMT
Robert Stupp created CASSANDRA-12062:
----------------------------------------

             Summary: Prevent key invalidation if there's no key to invalidate
                 Key: CASSANDRA-12062
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12062
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Robert Stupp
            Assignee: Robert Stupp
            Priority: Minor


In {{SSTableRewriter}} we currently assume that there are keys to be invalidated in the key
cache. That's not always true - especially if a bunch of tiny sstables have been generated.

Patch saves one {{synchronized}} and a few objects if that's the case.

Just a small optimisation, but maybe worth to include.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message