While switching compaction strategy from Size tier to Time window with compaction window of size 1 day got below messages recorded:
No STCS compactions found for first window for few sstables. What does this means?
[EDIT] we are trying to change comapction stategy using below command:
nodetool sjk mx -ms -b org.apache.cassandra.db:type=Tables,keyspace=********,table=********** -f CompactionParametersJson -v "{\"class\": \"org.apache.cassandra.db.compaction.TimeWindowCompactionStrategy\", \"compaction_window_size\": \"1\", \"compaction_window_unit\": \"DAYS\", \"max_threshold\": \"32\", \"min_threshold\": \"4\"}"
In debug log can see above message being recorded for few sstables.
DEBUG [CompactionExecutor:615] 2021-06-01 22:41:59,322 TimeWindowCompactionStrategy.java:322 - No STCS compactions found for first window, data files [(TrieIndexSSTableReader(path='/data_dir/keyspace/table-f2b11ebbe1836e82cbc12/-bti-Data.db'),4596734), options Min sstable size: 52428800, bucket low: 0.500000, bucket high: 1.500000
Unable to understand why we are getting it.