Right, I just meant that calling it at all results in holding a read lock,
which unfortunately is blocking these read threads.

On Mon, Oct 2, 2017 at 11:40 AM, Jeff Jirsa <jji...@gmail.com> wrote:

>
>
> On Mon, Oct 2, 2017 at 11:27 AM, Dan Kinder <dkin...@turnitin.com> wrote:
>
>> (As a side note, it seems silly to call shouldDefragment at all on a read
>> if the compaction strategy is not STSC)
>>
>>
>>
> It defaults to false:
>
> https://github.com/apache/cassandra/blob/cassandra-3.0/
> src/java/org/apache/cassandra/db/compaction/AbstractCompactionStrategy.
> java#L302
>
> And nothing else other than STCS overrides it to true.
>
>
>


-- 
Dan Kinder
Principal Software Engineer
Turnitin – www.turnitin.com
dkin...@turnitin.com
  • Re: Jeff Jirsa
    • Re: Dan Kinder
      • Re: Jeff Jirsa
        • Re: Dan Kinder
          • Re: Dan Kinder

Reply via email to