I suspect this will work, yes
(Sorry I can't make a proper upgrade path, sorta out of my hands)
On Fri, Sep 27, 2019 at 11:19 AM Carl Mueller
wrote:
> Oops, I think the getName() is an important thing:
>
> package com.jeffjirsa.cassandra.db.compaction;
>
> import
Oops, I think the getName() is an important thing:
package com.jeffjirsa.cassandra.db.compaction;
import org.apache.cassandra.db.ColumnFamilyStore;
import java.util.Map;
public class TimeWindowCompactionStrategy extends
org.apache.cassandra.db.compaction.TimeWindowCompactionStrategy {
Or can we just do this safely in a side jar?
package com.jeffjirsa.cassandra.db.compaction;
import org.apache.cassandra.db.ColumnFamilyStore;
import org.apache.cassandra.db.compaction.TimeWindowCompactionStrategy;
import java.util.Map;
public class TimeWindowCompactionStrategy extends
So IF that delegate class would work:
1) create jar with the delegate class
2) deploy jar along with upgrade on node
3) once all nodes are upgraded, issue ALTER to change to the
org.apache.cassandra TWCS class.
will that trigger full recompaction?
On Fri, Sep 27, 2019 at 12:25 PM Carl Mueller
For example (delegating all public methods from AbstractCompactionStrategy
and some from TimeWindowCompactionStrategy EXCEPT getName() )
package com.jeffjirsa.cassandra.db.compaction;
public class TimeWindowCompactionStrategy extends AbstractCompactionStrategy
{
Is this still the official answer on TWCS 2.X --> 3.X upgrades? Pull the
code and recompile as a different package?
Can I just declare the necessary class and package namespace and delegate
to the actual main-codebase class?
On Mon, Nov 5, 2018 at 1:41 AM Oleksandr Shulgin <