[cassandra-website] branch asf-staging updated (8694410f7 -> 7c1430352)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-staging in repository https://gitbox.apache.org/repos/asf/cassandra-website.git discard 8694410f7 generate docs for 8612e581 new 7c1430352 generate docs for 8612e581 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (8694410f7) \ N -- N -- N refs/heads/asf-staging (7c1430352) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: site-ui/build/ui-bundle.zip | Bin 4796442 -> 4796442 bytes 1 file changed, 0 insertions(+), 0 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra-website] branch asf-staging updated (2e38dd1f9 -> 8694410f7)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-staging in repository https://gitbox.apache.org/repos/asf/cassandra-website.git discard 2e38dd1f9 generate docs for 8612e581 new 8694410f7 generate docs for 8612e581 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (2e38dd1f9) \ N -- N -- N refs/heads/asf-staging (8694410f7) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: content/search-index.js | 2 +- site-ui/build/ui-bundle.zip | Bin 4796442 -> 4796442 bytes 2 files changed, 1 insertion(+), 1 deletion(-) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra-website] branch asf-staging updated (225b64fbb -> 2e38dd1f9)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-staging in repository https://gitbox.apache.org/repos/asf/cassandra-website.git discard 225b64fbb generate docs for 8612e581 new 2e38dd1f9 generate docs for 8612e581 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (225b64fbb) \ N -- N -- N refs/heads/asf-staging (2e38dd1f9) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: site-ui/build/ui-bundle.zip | Bin 4796442 -> 4796442 bytes 1 file changed, 0 insertions(+), 0 deletions(-) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18364) CEP-15: (C*) Accord message processing should avoid being passed on to a Stage and run directly in the messageing handler
[ https://issues.apache.org/jira/browse/CASSANDRA-18364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17709815#comment-17709815 ] David Capwell commented on CASSANDRA-18364: --- Merged CASSANDRA-18364 and rebased to pick that up; BurnTest is now stable > CEP-15: (C*) Accord message processing should avoid being passed on to a > Stage and run directly in the messageing handler > - > > Key: CASSANDRA-18364 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18364 > Project: Cassandra > Issue Type: Improvement > Components: Accord >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Labels: pull-request-available > Fix For: 5.x > > Time Spent: 1h 20m > Remaining Estimate: 0h > > Accord message processing should avoid being passed on to a Stage and run > directly in the messageing handler. This logic should validate that all > messages are non-blocking and async handle replies. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18422) CEP-15 (Accord) Original and recover coordinators may hit a race condition with PreApply where reads and writes are interleaved, causing one of the coordinators to s
[ https://issues.apache.org/jira/browse/CASSANDRA-18422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Capwell updated CASSANDRA-18422: -- Fix Version/s: 5.0 (was: 5.x) Since Version: NA Source Control Link: https://github.com/apache/cassandra/commit/10671745a254b0a7acf50310d7504896c9f2c584 Resolution: Fixed Status: Resolved (was: Ready to Commit) > CEP-15 (Accord) Original and recover coordinators may hit a race condition > with PreApply where reads and writes are interleaved, causing one of the > coordinators to see the writes from the other > - > > Key: CASSANDRA-18422 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18422 > Project: Cassandra > Issue Type: Bug > Components: Accord >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Labels: pull-request-available > Fix For: 5.0 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > While verifying CASSANDRA-18364 I saw the following history violation in > simulator > {code} > [junit-timeout] Testcase: > simulationTest(org.apache.cassandra.simulator.test.ShortAccordSimulationTest)-.jdk1.8: > Caused an ERROR > [junit-timeout] Failed on seed 0xadaca81151490353 > [junit-timeout] org.apache.cassandra.simulator.SimulationException: Failed on > seed 0xadaca81151490353 > [junit-timeout] Caused by: java.lang.AssertionError: History violations > detected > [junit-timeout] at > org.apache.cassandra.simulator.paxos.PaxosSimulation.logAndThrow(PaxosSimulation.java:315) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.PaxosSimulation.isDone(PaxosSimulation.java:278) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.PaxosSimulation$2.hasNext(PaxosSimulation.java:249) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.PaxosSimulation.run(PaxosSimulation.java:224) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.AbstractPairOfSequencesPaxosSimulation.run(AbstractPairOfSequencesPaxosSimulation.java:297) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.PairOfSequencesAccordSimulation.run(PairOfSequencesAccordSimulation.java:62) > [junit-timeout] at > org.apache.cassandra.simulator.SimulationRunner$Run.run(SimulationRunner.java:374) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.AccordSimulationRunner$Run.run(AccordSimulationRunner.java:39) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.AccordSimulationRunner$Run.run(AccordSimulationRunner.java:30) > [junit-timeout] at > org.apache.cassandra.simulator.SimulationRunner$BasicCommand.run(SimulationRunner.java:355) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.AccordSimulationRunner.main(AccordSimulationRunner.java:76) > [junit-timeout] at > org.apache.cassandra.simulator.test.ShortAccordSimulationTest.simulationTest(ShortAccordSimulationTest.java:32) > [junit-timeout] Suppressed: > org.apache.cassandra.simulator.paxos.HistoryViolation: Inconsistent sequences > on 1: [2, 0, 1, 6, 8, 9, 13, 14, 16, 19, 20, 22, 23, 25, 26, 28, 29, 31, 32, > 34, 35, 37, 40, 43, 47, 48, 49, 54, 56, 57, 58, 60, 64, 68, 70, 71, 74, 76, > 79, 80, 83, 85, 87, 87] vs [2, 0, 1, 6, 8, 9, 13, 14, 16, 19, 20, 22, 23, 25, > 26, 28, 29, 31, 32, 34, 35, 37, 40, 43, 47, 48, 49, 54, 56, 57, 58, 60, 64, > 68, 70, 71, 74, 76, 79, 80, 83, 85, 87]+90 > [junit-timeout] at > accord.verify.StrictSerializabilityVerifier$Register.updateSequence(StrictSerializabilityVerifier.java:607) > [junit-timeout] at > accord.verify.StrictSerializabilityVerifier$Register.access$100(StrictSerializabilityVerifier.java:576) > [junit-timeout] at > accord.verify.StrictSerializabilityVerifier.apply(StrictSerializabilityVerifier.java:825) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.StrictSerializabilityValidator$1.lambda$close$0(StrictSerializabilityValidator.java:66) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.StrictSerializabilityValidator.convertHistoryViolation(StrictSerializabilityValidator.java:89) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.StrictSerializabilityValidator.access$200(StrictSerializabilityValidator.java:27) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.StrictSerializabilityValidator$1.close(StrictSerializabilityValidator.java:66) > [junit-timeout] at >
[cassandra] branch cep-15-accord updated: CEP-15 (Accord) Original and recover coordinators may hit a race condition with PreApply where reads and writes are interleaved, causing one of the coordinato
This is an automated email from the ASF dual-hosted git repository. dcapwell pushed a commit to branch cep-15-accord in repository https://gitbox.apache.org/repos/asf/cassandra.git The following commit(s) were added to refs/heads/cep-15-accord by this push: new 10671745a2 CEP-15 (Accord) Original and recover coordinators may hit a race condition with PreApply where reads and writes are interleaved, causing one of the coordinators to see the writes from the other 10671745a2 is described below commit 10671745a254b0a7acf50310d7504896c9f2c584 Author: David Capwell AuthorDate: Fri Apr 7 15:39:42 2023 -0700 CEP-15 (Accord) Original and recover coordinators may hit a race condition with PreApply where reads and writes are interleaved, causing one of the coordinators to see the writes from the other patch by David Capwell; reviewed by Ariel Weisberg for CASSANDRA-18422 --- modules/accord | 2 +- .../service/accord/AccordCommandStore.java | 8 + .../simulator/paxos/HistoryValidatorTest.java | 225 +++-- .../service/accord/async/AsyncOperationTest.java | 13 +- 4 files changed, 181 insertions(+), 67 deletions(-) diff --git a/modules/accord b/modules/accord index bc81f81c75..08aaab6e33 16 --- a/modules/accord +++ b/modules/accord @@ -1 +1 @@ -Subproject commit bc81f81c75f93c73989a30bbc51b5c241a893c1a +Subproject commit 08aaab6e33d43406e0649146144e4df67648602a diff --git a/src/java/org/apache/cassandra/service/accord/AccordCommandStore.java b/src/java/org/apache/cassandra/service/accord/AccordCommandStore.java index 5c9f3e4e9d..70962298f4 100644 --- a/src/java/org/apache/cassandra/service/accord/AccordCommandStore.java +++ b/src/java/org/apache/cassandra/service/accord/AccordCommandStore.java @@ -19,6 +19,7 @@ package org.apache.cassandra.service.accord; import java.util.Map; +import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.concurrent.TimeUnit; @@ -42,6 +43,7 @@ import accord.primitives.RoutableKey; import accord.primitives.TxnId; import accord.utils.Invariants; import accord.utils.async.AsyncChain; +import accord.utils.async.AsyncChains; import org.apache.cassandra.service.accord.async.AsyncOperation; import org.apache.cassandra.utils.Clock; import org.apache.cassandra.utils.concurrent.UncheckedInterruptedException; @@ -187,6 +189,12 @@ public class AccordCommandStore implements CommandStore return AsyncOperation.create(this, loadCtx, function); } +@Override +public AsyncChain submit(Callable task) +{ +return AsyncChains.ofCallable(executor, task); +} + public DataStore dataStore() { return dataStore; diff --git a/test/simulator/test/org/apache/cassandra/simulator/paxos/HistoryValidatorTest.java b/test/simulator/test/org/apache/cassandra/simulator/paxos/HistoryValidatorTest.java index 6c773fcca8..c9cff2891f 100644 --- a/test/simulator/test/org/apache/cassandra/simulator/paxos/HistoryValidatorTest.java +++ b/test/simulator/test/org/apache/cassandra/simulator/paxos/HistoryValidatorTest.java @@ -43,6 +43,7 @@ import com.carrotsearch.hppc.IntHashSet; import com.carrotsearch.hppc.IntIntHashMap; import com.carrotsearch.hppc.IntIntMap; import com.carrotsearch.hppc.IntSet; +import com.carrotsearch.hppc.cursors.IntCursor; import org.apache.cassandra.distributed.api.QueryResults; import org.apache.cassandra.utils.Clock; import org.assertj.core.api.AbstractThrowableAssert; @@ -281,6 +282,32 @@ public class HistoryValidatorTest ); } +private static String trim(String log, int... keys) +{ +// this is deaad code, but exists to help when new validation errors are detected +// the logic will shrink the history to only contain transactions that contain the set of keys +IntSet set = new IntHashSet(); +IntStream.of(keys).forEach(set::add); +Parsed parsed = parse(log); +StringBuilder sb = new StringBuilder(); +for (Witness w : parsed.witnesses) +{ +boolean match = false; +for (IntCursor pk : w.pks()) +{ +if (set.contains(pk.value)) +{ +match = true; +break; +} +} +if (!match) continue; +sb.append(w).append("\n"); +} +return sb.toString(); +} + + private void requiresMultiKeySupport() { Assume.assumeTrue("Validator " + factory.getClass() + " does not support multi-key", factory instanceof StrictSerializabilityValidator.Factory); @@ -356,79 +383,146 @@ public class HistoryValidatorTest return new Event(EnumSet.of(Event.Type.WRITE), pk, null); } -private void fromLog(String log) +private interface Operation { -IntSet pks = new
[cassandra-accord] branch trunk updated: CEP-15 (Accord) Original and recover coordinators may hit a race condition with PreApply where reads and writes are interleaved, causing one of the coordinator
This is an automated email from the ASF dual-hosted git repository. dcapwell pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra-accord.git The following commit(s) were added to refs/heads/trunk by this push: new 08aaab6e CEP-15 (Accord) Original and recover coordinators may hit a race condition with PreApply where reads and writes are interleaved, causing one of the coordinators to see the writes from the other 08aaab6e is described below commit 08aaab6e33d43406e0649146144e4df67648602a Author: David Capwell AuthorDate: Fri Apr 7 15:33:46 2023 -0700 CEP-15 (Accord) Original and recover coordinators may hit a race condition with PreApply where reads and writes are interleaved, causing one of the coordinators to see the writes from the other patch by David Capwell; reviewed by Ariel Weisberg for CASSANDRA-18422 --- .../java/accord/impl/InMemoryCommandStore.java | 29 ++ .../src/main/java/accord/local/CommandStore.java | 10 +- .../src/main/java/accord/local/Commands.java | 1 + .../src/main/java/accord/messages/ReadData.java| 90 +- .../java/accord/utils/async/AsyncExecutor.java | 38 +++ .../main/java/accord/utils/async/AsyncResult.java | 6 +- accord-core/src/test/java/accord/Utils.java| 31 +++ .../src/test/java/accord/burn/BurnTest.java| 42 +-- .../basic/SimulatedDelayedExecutorService.java | 82 +- ...ecutorService.java => TaskExecutorService.java} | 119 +--- .../src/test/java/accord/impl/list/ListRead.java | 61 ++-- .../src/test/java/accord/impl/list/ListUpdate.java | 20 +- .../src/test/java/accord/impl/list/ListWrite.java | 27 +- .../test/java/accord/local/CheckedCommands.java| 60 .../test/java/accord/messages/PreAcceptTest.java | 29 +- .../test/java/accord/messages/ReadDataTest.java| 306 + .../verify/StrictSerializabilityVerifier.java | 2 + .../src/main/groovy/accord.java-conventions.gradle | 1 + 18 files changed, 748 insertions(+), 206 deletions(-) diff --git a/accord-core/src/main/java/accord/impl/InMemoryCommandStore.java b/accord-core/src/main/java/accord/impl/InMemoryCommandStore.java index e81186cc..ff34236d 100644 --- a/accord-core/src/main/java/accord/impl/InMemoryCommandStore.java +++ b/accord-core/src/main/java/accord/impl/InMemoryCommandStore.java @@ -808,6 +808,29 @@ public abstract class InMemoryCommandStore implements CommandStore }; } +@Override +public AsyncChain submit(Callable task) +{ +return new AsyncChains.Head() +{ +@Override +protected void start(BiConsumer callback) +{ +enqueueAndRun(() -> { +try +{ +callback.accept(task.call(), null); +} +catch (Throwable t) +{ +logger.error("Uncaught exception", t); +callback.accept(null, t); +} +}); +} +}; +} + @Override public void shutdown() {} } @@ -864,6 +887,12 @@ public abstract class InMemoryCommandStore implements CommandStore return AsyncChains.ofCallable(executor, () -> executeInContext(this, context, function)); } +@Override +public AsyncChain submit(Callable task) +{ +return AsyncChains.ofCallable(executor, task); +} + @Override public void shutdown() { diff --git a/accord-core/src/main/java/accord/local/CommandStore.java b/accord-core/src/main/java/accord/local/CommandStore.java index 65f8949c..479f5817 100644 --- a/accord-core/src/main/java/accord/local/CommandStore.java +++ b/accord-core/src/main/java/accord/local/CommandStore.java @@ -23,6 +23,7 @@ import accord.api.ProgressLog; import accord.api.DataStore; import accord.local.CommandStores.RangesForEpochHolder; import accord.utils.async.AsyncChain; +import accord.utils.async.AsyncExecutor; import java.util.function.Consumer; import java.util.function.Function; @@ -30,7 +31,7 @@ import java.util.function.Function; /** * Single threaded internal shard of accord transaction metadata */ -public interface CommandStore +public interface CommandStore extends AsyncExecutor { interface Factory { @@ -46,5 +47,12 @@ public interface CommandStore Agent agent(); AsyncChain execute(PreLoadContext context, Consumer consumer); AsyncChain submit(PreLoadContext context, Function apply); + +@Override +default void execute(Runnable command) +{ +submit(command).begin(agent()); +} + void shutdown(); } diff --git a/accord-core/src/main/java/accord/local/Commands.java
[jira] [Updated] (CASSANDRA-18422) CEP-15 (Accord) Original and recover coordinators may hit a race condition with PreApply where reads and writes are interleaved, causing one of the coordinators to s
[ https://issues.apache.org/jira/browse/CASSANDRA-18422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Capwell updated CASSANDRA-18422: -- Status: Ready to Commit (was: Review In Progress) +1 from Ariel in PR > CEP-15 (Accord) Original and recover coordinators may hit a race condition > with PreApply where reads and writes are interleaved, causing one of the > coordinators to see the writes from the other > - > > Key: CASSANDRA-18422 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18422 > Project: Cassandra > Issue Type: Bug > Components: Accord >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Labels: pull-request-available > Fix For: 5.x > > Time Spent: 1h 20m > Remaining Estimate: 0h > > While verifying CASSANDRA-18364 I saw the following history violation in > simulator > {code} > [junit-timeout] Testcase: > simulationTest(org.apache.cassandra.simulator.test.ShortAccordSimulationTest)-.jdk1.8: > Caused an ERROR > [junit-timeout] Failed on seed 0xadaca81151490353 > [junit-timeout] org.apache.cassandra.simulator.SimulationException: Failed on > seed 0xadaca81151490353 > [junit-timeout] Caused by: java.lang.AssertionError: History violations > detected > [junit-timeout] at > org.apache.cassandra.simulator.paxos.PaxosSimulation.logAndThrow(PaxosSimulation.java:315) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.PaxosSimulation.isDone(PaxosSimulation.java:278) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.PaxosSimulation$2.hasNext(PaxosSimulation.java:249) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.PaxosSimulation.run(PaxosSimulation.java:224) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.AbstractPairOfSequencesPaxosSimulation.run(AbstractPairOfSequencesPaxosSimulation.java:297) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.PairOfSequencesAccordSimulation.run(PairOfSequencesAccordSimulation.java:62) > [junit-timeout] at > org.apache.cassandra.simulator.SimulationRunner$Run.run(SimulationRunner.java:374) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.AccordSimulationRunner$Run.run(AccordSimulationRunner.java:39) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.AccordSimulationRunner$Run.run(AccordSimulationRunner.java:30) > [junit-timeout] at > org.apache.cassandra.simulator.SimulationRunner$BasicCommand.run(SimulationRunner.java:355) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.AccordSimulationRunner.main(AccordSimulationRunner.java:76) > [junit-timeout] at > org.apache.cassandra.simulator.test.ShortAccordSimulationTest.simulationTest(ShortAccordSimulationTest.java:32) > [junit-timeout] Suppressed: > org.apache.cassandra.simulator.paxos.HistoryViolation: Inconsistent sequences > on 1: [2, 0, 1, 6, 8, 9, 13, 14, 16, 19, 20, 22, 23, 25, 26, 28, 29, 31, 32, > 34, 35, 37, 40, 43, 47, 48, 49, 54, 56, 57, 58, 60, 64, 68, 70, 71, 74, 76, > 79, 80, 83, 85, 87, 87] vs [2, 0, 1, 6, 8, 9, 13, 14, 16, 19, 20, 22, 23, 25, > 26, 28, 29, 31, 32, 34, 35, 37, 40, 43, 47, 48, 49, 54, 56, 57, 58, 60, 64, > 68, 70, 71, 74, 76, 79, 80, 83, 85, 87]+90 > [junit-timeout] at > accord.verify.StrictSerializabilityVerifier$Register.updateSequence(StrictSerializabilityVerifier.java:607) > [junit-timeout] at > accord.verify.StrictSerializabilityVerifier$Register.access$100(StrictSerializabilityVerifier.java:576) > [junit-timeout] at > accord.verify.StrictSerializabilityVerifier.apply(StrictSerializabilityVerifier.java:825) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.StrictSerializabilityValidator$1.lambda$close$0(StrictSerializabilityValidator.java:66) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.StrictSerializabilityValidator.convertHistoryViolation(StrictSerializabilityValidator.java:89) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.StrictSerializabilityValidator.access$200(StrictSerializabilityValidator.java:27) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.StrictSerializabilityValidator$1.close(StrictSerializabilityValidator.java:66) > [junit-timeout] at > org.apache.cassandra.simulator.paxos.LoggingHistoryValidator$1.close(LoggingHistoryValidator.java:63) > [junit-timeout] at >
[cassandra-website] branch asf-staging updated (11c16371f -> 225b64fbb)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-staging in repository https://gitbox.apache.org/repos/asf/cassandra-website.git discard 11c16371f generate docs for 8612e581 new 225b64fbb generate docs for 8612e581 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (11c16371f) \ N -- N -- N refs/heads/asf-staging (225b64fbb) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: content/search-index.js | 2 +- site-ui/build/ui-bundle.zip | Bin 4796442 -> 4796442 bytes 2 files changed, 1 insertion(+), 1 deletion(-) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18430) When decommissioning should set Severity to limit traffic
[ https://issues.apache.org/jira/browse/CASSANDRA-18430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Capwell updated CASSANDRA-18430: -- Test and Documentation Plan: tests Status: Patch Available (was: In Progress) > When decommissioning should set Severity to limit traffic > - > > Key: CASSANDRA-18430 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18430 > Project: Cassandra > Issue Type: Improvement > Components: Legacy/Coordination >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Fix For: 5.x > > Time Spent: 50m > Remaining Estimate: 0h > > When we are decommissioning we first set LEAVING, then LEFT, then disable > networking; timeouts start to follow at this last stage. LEFT nodes should > not be seen as part of the ring, but that may not be seen before the network > is disabled. To better mitigate timeouts we should set severity as part of > decom during the LEAVING phase; by setting severity reads should deprioritize > traffic to this node. > Remote DC writes do not leverage proximity or severity and instead use random > for its select, writes may still timeout even though we know the node is > leaving, and severity is set… to work in this model we should update remote > DC writes to deprioritize nodes with severity set -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18437) Fix org.apache.cassandra.transport.MessagePayloadTest-.jdk17
[ https://issues.apache.org/jira/browse/CASSANDRA-18437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17709786#comment-17709786 ] Ekaterina Dimitrova commented on CASSANDRA-18437: - This is the same problem we saw in CASSANDRA-18181. Same solution different test class Patch - [https://github.com/ekaterinadimitrova2/cassandra/pull/new/CASSADRA-18437] Tested locally with JDK11 and JDK17 - ant testsome -Dtest.name=org.apache.cassandra.transport.MessagePayloadTest > Fix org.apache.cassandra.transport.MessagePayloadTest-.jdk17 > > > Key: CASSANDRA-18437 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18437 > Project: Cassandra > Issue Type: Bug > Components: CI >Reporter: Ekaterina Dimitrova >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 5.x > > > [https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2182/workflows/e3dc630b-b7a4-4f5b-8f29-489bf43ad90f] > {code:java} > java.lang.RuntimeException: java.lang.NoSuchFieldException: modifiers at > org.apache.cassandra.transport.MessagePayloadTest.resetCqlQueryHandlerField(MessagePayloadTest.java:98) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > Caused by: java.lang.NoSuchFieldException: modifiers at > java.base/java.lang.Class.getDeclaredField(Class.java:2610) at > org.apache.cassandra.transport.MessagePayloadTest.resetCqlQueryHandlerField(MessagePayloadTest.java:88){code} -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18437) Fix org.apache.cassandra.transport.MessagePayloadTest-.jdk17
[ https://issues.apache.org/jira/browse/CASSANDRA-18437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ekaterina Dimitrova updated CASSANDRA-18437: Test and Documentation Plan: Patch - [https://github.com/ekaterinadimitrova2/cassandra/pull/new/CASSADRA-18437] Tested locally with JDK11 and JDK17 - ant testsome -Dtest.name=org.apache.cassandra.transport.MessagePayloadTest Status: Patch Available (was: In Progress) > Fix org.apache.cassandra.transport.MessagePayloadTest-.jdk17 > > > Key: CASSANDRA-18437 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18437 > Project: Cassandra > Issue Type: Bug > Components: CI >Reporter: Ekaterina Dimitrova >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 5.x > > > [https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2182/workflows/e3dc630b-b7a4-4f5b-8f29-489bf43ad90f] > {code:java} > java.lang.RuntimeException: java.lang.NoSuchFieldException: modifiers at > org.apache.cassandra.transport.MessagePayloadTest.resetCqlQueryHandlerField(MessagePayloadTest.java:98) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > Caused by: java.lang.NoSuchFieldException: modifiers at > java.base/java.lang.Class.getDeclaredField(Class.java:2610) at > org.apache.cassandra.transport.MessagePayloadTest.resetCqlQueryHandlerField(MessagePayloadTest.java:88){code} -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18378) CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit
[ https://issues.apache.org/jira/browse/CASSANDRA-18378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Capwell updated CASSANDRA-18378: -- Fix Version/s: NA (was: 5.x) Since Version: NA Source Control Link: https://github.com/apache/cassandra-accord/commit/6e3b6cbef849cedbae2be30fe1822045c2271dc4 Resolution: Fixed Status: Resolved (was: Ready to Commit) > CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit > --- > > Key: CASSANDRA-18378 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18378 > Project: Cassandra > Issue Type: Bug > Components: Accord >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Fix For: NA > > > {code} > java.lang.IllegalStateException: Recurrent retry of Commit{…} > at accord.messages.Defer.add(Defer.java:63) > at accord.messages.Commit.apply(Commit.java:167) > at accord.messages.Commit.apply(Commit.java:42) > at > org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:321) > at > org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:308) > at > org.apache.cassandra.service.accord.async.AsyncOperation.runInternal(AsyncOperation.java:226) > at > org.apache.cassandra.service.accord.async.AsyncOperation.run(AsyncOperation.java:268) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra-accord] branch trunk updated: CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit
This is an automated email from the ASF dual-hosted git repository. dcapwell pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra-accord.git The following commit(s) were added to refs/heads/trunk by this push: new 6e3b6cbe CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit 6e3b6cbe is described below commit 6e3b6cbef849cedbae2be30fe1822045c2271dc4 Author: David Capwell AuthorDate: Fri Apr 7 13:59:08 2023 -0700 CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit patch by David Capwell; reviewed by Blake Eggleston for CASSANDRA-18378 --- accord-core/src/main/java/accord/messages/Commit.java | 7 ++- accord-core/src/main/java/accord/messages/Defer.java | 12 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/accord-core/src/main/java/accord/messages/Commit.java b/accord-core/src/main/java/accord/messages/Commit.java index ce010aef..d034cc0f 100644 --- a/accord-core/src/main/java/accord/messages/Commit.java +++ b/accord-core/src/main/java/accord/messages/Commit.java @@ -176,7 +176,7 @@ public class Commit extends TxnRequest } @Override -public void accept(ReadNack reply, Throwable failure) +public synchronized void accept(ReadNack reply, Throwable failure) { if (failure != null) { @@ -188,6 +188,11 @@ public class Commit extends TxnRequest node.reply(replyTo, replyContext, reply); else if (read != null) read.process(node, replyTo, replyContext); +if (defer != null) +{ +defer.ack(); +defer = null; +} } @Override diff --git a/accord-core/src/main/java/accord/messages/Defer.java b/accord-core/src/main/java/accord/messages/Defer.java index 1e93b036..8ca0a487 100644 --- a/accord-core/src/main/java/accord/messages/Defer.java +++ b/accord-core/src/main/java/accord/messages/Defer.java @@ -57,7 +57,7 @@ class Defer implements CommandListener this.request = request; } -void add(SafeCommandStore safeStore, SafeCommand safeCommand, CommandStore commandStore) +synchronized void add(SafeCommandStore safeStore, SafeCommand safeCommand, CommandStore commandStore) { if (isDone) throw new IllegalStateException("Recurrent retry of " + request); @@ -68,7 +68,7 @@ class Defer implements CommandListener } @Override -public void onChange(SafeCommandStore safeStore, SafeCommand safeCommand) +public synchronized void onChange(SafeCommandStore safeStore, SafeCommand safeCommand) { Command command = safeCommand.current(); Ready ready = waitUntil.apply(command); @@ -80,10 +80,14 @@ class Defer implements CommandListener int id = safeStore.commandStore().id(); if (!waitingOn.contains(id)) -throw new IllegalStateException(); +throw new IllegalStateException("Not waiting on CommandStore " + id); waitingOn.remove(id); -if (0 == --waitingOnCount) +ack(); +} + +synchronized void ack() { +if (-1 == --waitingOnCount) { isDone = true; request.process(); - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18437) Fix org.apache.cassandra.transport.MessagePayloadTest-.jdk17
[ https://issues.apache.org/jira/browse/CASSANDRA-18437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ekaterina Dimitrova updated CASSANDRA-18437: Epic Link: CASSANDRA-16895 > Fix org.apache.cassandra.transport.MessagePayloadTest-.jdk17 > > > Key: CASSANDRA-18437 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18437 > Project: Cassandra > Issue Type: Bug > Components: CI >Reporter: Ekaterina Dimitrova >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 5.x > > > [https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2182/workflows/e3dc630b-b7a4-4f5b-8f29-489bf43ad90f] > {code:java} > java.lang.RuntimeException: java.lang.NoSuchFieldException: modifiers at > org.apache.cassandra.transport.MessagePayloadTest.resetCqlQueryHandlerField(MessagePayloadTest.java:98) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > Caused by: java.lang.NoSuchFieldException: modifiers at > java.base/java.lang.Class.getDeclaredField(Class.java:2610) at > org.apache.cassandra.transport.MessagePayloadTest.resetCqlQueryHandlerField(MessagePayloadTest.java:88){code} -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18437) Fix org.apache.cassandra.transport.MessagePayloadTest-.jdk17
[ https://issues.apache.org/jira/browse/CASSANDRA-18437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ekaterina Dimitrova updated CASSANDRA-18437: Bug Category: Parent values: Correctness(12982)Level 1 values: Test Failure(12990) Complexity: Low Hanging Fruit Component/s: CI Discovered By: User Report Severity: Low Assignee: Ekaterina Dimitrova Status: Open (was: Triage Needed) > Fix org.apache.cassandra.transport.MessagePayloadTest-.jdk17 > > > Key: CASSANDRA-18437 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18437 > Project: Cassandra > Issue Type: Bug > Components: CI >Reporter: Ekaterina Dimitrova >Assignee: Ekaterina Dimitrova >Priority: Normal > > [https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2182/workflows/e3dc630b-b7a4-4f5b-8f29-489bf43ad90f] > {code:java} > java.lang.RuntimeException: java.lang.NoSuchFieldException: modifiers at > org.apache.cassandra.transport.MessagePayloadTest.resetCqlQueryHandlerField(MessagePayloadTest.java:98) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > Caused by: java.lang.NoSuchFieldException: modifiers at > java.base/java.lang.Class.getDeclaredField(Class.java:2610) at > org.apache.cassandra.transport.MessagePayloadTest.resetCqlQueryHandlerField(MessagePayloadTest.java:88){code} -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18437) Fix org.apache.cassandra.transport.MessagePayloadTest-.jdk17
[ https://issues.apache.org/jira/browse/CASSANDRA-18437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ekaterina Dimitrova updated CASSANDRA-18437: Fix Version/s: 5.x > Fix org.apache.cassandra.transport.MessagePayloadTest-.jdk17 > > > Key: CASSANDRA-18437 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18437 > Project: Cassandra > Issue Type: Bug > Components: CI >Reporter: Ekaterina Dimitrova >Assignee: Ekaterina Dimitrova >Priority: Normal > Fix For: 5.x > > > [https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2182/workflows/e3dc630b-b7a4-4f5b-8f29-489bf43ad90f] > {code:java} > java.lang.RuntimeException: java.lang.NoSuchFieldException: modifiers at > org.apache.cassandra.transport.MessagePayloadTest.resetCqlQueryHandlerField(MessagePayloadTest.java:98) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > Caused by: java.lang.NoSuchFieldException: modifiers at > java.base/java.lang.Class.getDeclaredField(Class.java:2610) at > org.apache.cassandra.transport.MessagePayloadTest.resetCqlQueryHandlerField(MessagePayloadTest.java:88){code} -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Created] (CASSANDRA-18437) Fix org.apache.cassandra.transport.MessagePayloadTest-.jdk17
Ekaterina Dimitrova created CASSANDRA-18437: --- Summary: Fix org.apache.cassandra.transport.MessagePayloadTest-.jdk17 Key: CASSANDRA-18437 URL: https://issues.apache.org/jira/browse/CASSANDRA-18437 Project: Cassandra Issue Type: Bug Reporter: Ekaterina Dimitrova [https://app.circleci.com/pipelines/github/ekaterinadimitrova2/cassandra/2182/workflows/e3dc630b-b7a4-4f5b-8f29-489bf43ad90f] {code:java} java.lang.RuntimeException: java.lang.NoSuchFieldException: modifiers at org.apache.cassandra.transport.MessagePayloadTest.resetCqlQueryHandlerField(MessagePayloadTest.java:98) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) Caused by: java.lang.NoSuchFieldException: modifiers at java.base/java.lang.Class.getDeclaredField(Class.java:2610) at org.apache.cassandra.transport.MessagePayloadTest.resetCqlQueryHandlerField(MessagePayloadTest.java:88){code} -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18378) CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit
[ https://issues.apache.org/jira/browse/CASSANDRA-18378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Capwell updated CASSANDRA-18378: -- Status: Ready to Commit (was: Review In Progress) +1 from Blake in GH > CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit > --- > > Key: CASSANDRA-18378 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18378 > Project: Cassandra > Issue Type: Bug > Components: Accord >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Fix For: 5.x > > > {code} > java.lang.IllegalStateException: Recurrent retry of Commit{…} > at accord.messages.Defer.add(Defer.java:63) > at accord.messages.Commit.apply(Commit.java:167) > at accord.messages.Commit.apply(Commit.java:42) > at > org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:321) > at > org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:308) > at > org.apache.cassandra.service.accord.async.AsyncOperation.runInternal(AsyncOperation.java:226) > at > org.apache.cassandra.service.accord.async.AsyncOperation.run(AsyncOperation.java:268) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18378) CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit
[ https://issues.apache.org/jira/browse/CASSANDRA-18378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Capwell updated CASSANDRA-18378: -- Reviewers: Blake Eggleston (was: Blake Eggleston, David Capwell) > CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit > --- > > Key: CASSANDRA-18378 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18378 > Project: Cassandra > Issue Type: Bug > Components: Accord >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Fix For: 5.x > > > {code} > java.lang.IllegalStateException: Recurrent retry of Commit{…} > at accord.messages.Defer.add(Defer.java:63) > at accord.messages.Commit.apply(Commit.java:167) > at accord.messages.Commit.apply(Commit.java:42) > at > org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:321) > at > org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:308) > at > org.apache.cassandra.service.accord.async.AsyncOperation.runInternal(AsyncOperation.java:226) > at > org.apache.cassandra.service.accord.async.AsyncOperation.run(AsyncOperation.java:268) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18378) CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit
[ https://issues.apache.org/jira/browse/CASSANDRA-18378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Capwell updated CASSANDRA-18378: -- Reviewers: Blake Eggleston, David Capwell Status: Review In Progress (was: Patch Available) > CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit > --- > > Key: CASSANDRA-18378 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18378 > Project: Cassandra > Issue Type: Bug > Components: Accord >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Fix For: 5.x > > > {code} > java.lang.IllegalStateException: Recurrent retry of Commit{…} > at accord.messages.Defer.add(Defer.java:63) > at accord.messages.Commit.apply(Commit.java:167) > at accord.messages.Commit.apply(Commit.java:42) > at > org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:321) > at > org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:308) > at > org.apache.cassandra.service.accord.async.AsyncOperation.runInternal(AsyncOperation.java:226) > at > org.apache.cassandra.service.accord.async.AsyncOperation.run(AsyncOperation.java:268) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18373) Node Draining Should Abort All Current SSTables Imports
[ https://issues.apache.org/jira/browse/CASSANDRA-18373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yifan Cai updated CASSANDRA-18373: -- Fix Version/s: 5.0 Source Control Link: https://github.com/apache/cassandra/commit/acd815898d1e5669e7d8ee2469808f6e8a14a7df Resolution: Fixed Status: Resolved (was: Ready to Commit) Committed into trunk as [acd815|https://github.com/apache/cassandra/commit/acd815898d1e5669e7d8ee2469808f6e8a14a7df] > Node Draining Should Abort All Current SSTables Imports > --- > > Key: CASSANDRA-18373 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18373 > Project: Cassandra > Issue Type: Improvement > Components: Local/Startup and Shutdown >Reporter: Yuriy Semchyshyn >Assignee: Yuriy Semchyshyn >Priority: Normal > Fix For: 5.0 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > SS tables imports that will end up being ignored due to the node draining > should fail instead of succeeding. > Each active SS tables import should periodically check for the node status > and see whether or not it is `DRAINING`. > In case the node starts draining the import should abort immediately by > throwing an `InterruptedException`. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18378) CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit
[ https://issues.apache.org/jira/browse/CASSANDRA-18378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Capwell updated CASSANDRA-18378: -- Test and Documentation Plan: burn Status: Patch Available (was: Open) > CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit > --- > > Key: CASSANDRA-18378 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18378 > Project: Cassandra > Issue Type: Bug > Components: Accord >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Fix For: 5.x > > > {code} > java.lang.IllegalStateException: Recurrent retry of Commit{…} > at accord.messages.Defer.add(Defer.java:63) > at accord.messages.Commit.apply(Commit.java:167) > at accord.messages.Commit.apply(Commit.java:42) > at > org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:321) > at > org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:308) > at > org.apache.cassandra.service.accord.async.AsyncOperation.runInternal(AsyncOperation.java:226) > at > org.apache.cassandra.service.accord.async.AsyncOperation.run(AsyncOperation.java:268) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] branch trunk updated: Node Draining Should Abort All Current SSTables Imports
This is an automated email from the ASF dual-hosted git repository. ycai pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git The following commit(s) were added to refs/heads/trunk by this push: new acd815898d Node Draining Should Abort All Current SSTables Imports acd815898d is described below commit acd815898d1e5669e7d8ee2469808f6e8a14a7df Author: Yuriy Semchyshyn AuthorDate: Fri Apr 7 09:52:44 2023 -0700 Node Draining Should Abort All Current SSTables Imports patch by Yuriy Semchyshyn; reviewed by Dinesh Joshi, Yifan Cai for CASSANDRA-18373 --- CHANGES.txt| 1 + .../org/apache/cassandra/db/SSTableImporter.java | 31 -- .../cassandra/service/StorageServiceDrainTest.java | 108 + 3 files changed, 134 insertions(+), 6 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index d960691b5b..d3ad294f62 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 5.0 + * Node Draining Should Abort All Current SSTables Imports (CASSANDRA-18373) * Use snake case for the names of CQL native functions (CASSANDRA-18037) * Use jdk-dependent checkstyle version to check the source code (CASSANDRA-18262) * Provide summary of failed SessionInfo's in StreamResultFuture (CASSANDRA-17199) diff --git a/src/java/org/apache/cassandra/db/SSTableImporter.java b/src/java/org/apache/cassandra/db/SSTableImporter.java index 87402130cf..66a56dc3cb 100644 --- a/src/java/org/apache/cassandra/db/SSTableImporter.java +++ b/src/java/org/apache/cassandra/db/SSTableImporter.java @@ -41,6 +41,7 @@ import org.apache.cassandra.io.sstable.format.SSTableFormat.Components; import org.apache.cassandra.io.sstable.format.SSTableReader; import org.apache.cassandra.io.util.File; import org.apache.cassandra.service.ActiveRepairService; +import org.apache.cassandra.service.StorageService; import org.apache.cassandra.utils.OutputHandler; import org.apache.cassandra.utils.Pair; import org.apache.cassandra.utils.concurrent.Refs; @@ -95,19 +96,20 @@ public class SSTableImporter { try { +abortIfDraining(); verifySSTableForImport(descriptor, entry.getValue(), options.verifyTokens, options.verifySSTables, options.extendedVerify); } catch (Throwable t) { if (dir != null) { -logger.error("[{}] Failed verifying sstable {} in directory {}", importID, descriptor, dir, t); +logger.error("[{}] Failed verifying SSTable {} in directory {}", importID, descriptor, dir, t); failedDirectories.add(dir); } else { -logger.error("[{}] Failed verifying sstable {}", importID, descriptor, t); -throw new RuntimeException("Failed verifying sstable "+descriptor, t); +logger.error("[{}] Failed verifying SSTable {}", importID, descriptor, t); +throw new RuntimeException("Failed verifying SSTable " + descriptor, t); } break; } @@ -130,6 +132,7 @@ public class SSTableImporter { try { +abortIfDraining(); Descriptor oldDescriptor = entry.getKey(); if (currentDescriptors.contains(oldDescriptor)) continue; @@ -162,8 +165,8 @@ public class SSTableImporter } else { -logger.error("[{}] Failed importing sstables from data directory - renamed sstables are: {}", importID, movedSSTables); -throw new RuntimeException("Failed importing sstables", t); +logger.error("[{}] Failed importing sstables from data directory - renamed SSTables are: {}", importID, movedSSTables, t); +throw new RuntimeException("Failed importing SSTables", t); } } } @@ -182,19 +185,35 @@ public class SSTableImporter try (Refs refs = Refs.ref(newSSTables)) { +abortIfDraining(); cfs.getTracker().addSSTables(newSSTables); for (SSTableReader reader : newSSTables) { if (options.invalidateCaches && cfs.isRowCacheEnabled()) invalidateCachesForSSTable(reader); } - +} +catch (Throwable t) +{ +logger.error("[{}] Failed adding SSTables",
[jira] [Updated] (CASSANDRA-18373) Node Draining Should Abort All Current SSTables Imports
[ https://issues.apache.org/jira/browse/CASSANDRA-18373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yifan Cai updated CASSANDRA-18373: -- Status: Ready to Commit (was: Review In Progress) > Node Draining Should Abort All Current SSTables Imports > --- > > Key: CASSANDRA-18373 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18373 > Project: Cassandra > Issue Type: Improvement > Components: Local/Startup and Shutdown >Reporter: Yuriy Semchyshyn >Assignee: Yuriy Semchyshyn >Priority: Normal > Time Spent: 1h 20m > Remaining Estimate: 0h > > SS tables imports that will end up being ignored due to the node draining > should fail instead of succeeding. > Each active SS tables import should periodically check for the node status > and see whether or not it is `DRAINING`. > In case the node starts draining the import should abort immediately by > throwing an `InterruptedException`. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Comment Edited] (CASSANDRA-18373) Node Draining Should Abort All Current SSTables Imports
[ https://issues.apache.org/jira/browse/CASSANDRA-18373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17709746#comment-17709746 ] Yifan Cai edited comment on CASSANDRA-18373 at 4/7/23 8:12 PM: --- Starting commit CI Results: ||Branch||Source||Circle CI|| |trunk|[branch|https://github.com/yifan-c/cassandra/tree/commit_remote_branch/CASSANDRA-18373-trunk-B9891CFB-1142-4F67-B3E6-DE876B526F93]|[build|https://app.circleci.com/pipelines/github/yifan-c/cassandra?branch=commit_remote_branch%2FCASSANDRA-18373-trunk-B9891CFB-1142-4F67-B3E6-DE876B526F93]| Rebased and the test result looks good. was (Author: yifanc): Starting commit CI Results (pending): ||Branch||Source||Circle CI|| |trunk|[branch|https://github.com/yifan-c/cassandra/tree/commit_remote_branch/CASSANDRA-18373-trunk-B9891CFB-1142-4F67-B3E6-DE876B526F93]|[build|https://app.circleci.com/pipelines/github/yifan-c/cassandra?branch=commit_remote_branch%2FCASSANDRA-18373-trunk-B9891CFB-1142-4F67-B3E6-DE876B526F93]| > Node Draining Should Abort All Current SSTables Imports > --- > > Key: CASSANDRA-18373 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18373 > Project: Cassandra > Issue Type: Improvement > Components: Local/Startup and Shutdown >Reporter: Yuriy Semchyshyn >Assignee: Yuriy Semchyshyn >Priority: Normal > Time Spent: 1h 20m > Remaining Estimate: 0h > > SS tables imports that will end up being ignored due to the node draining > should fail instead of succeeding. > Each active SS tables import should periodically check for the node status > and see whether or not it is `DRAINING`. > In case the node starts draining the import should abort immediately by > throwing an `InterruptedException`. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18378) CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit
[ https://issues.apache.org/jira/browse/CASSANDRA-18378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Capwell updated CASSANDRA-18378: -- Resolution: (was: Fixed) Status: Open (was: Resolved) speaking with Blake the patch should be improved, so figure its best to do in this JIRA rather than 18364 > CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit > --- > > Key: CASSANDRA-18378 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18378 > Project: Cassandra > Issue Type: Bug > Components: Accord >Reporter: David Capwell >Priority: Normal > Fix For: 5.x > > > {code} > java.lang.IllegalStateException: Recurrent retry of Commit{…} > at accord.messages.Defer.add(Defer.java:63) > at accord.messages.Commit.apply(Commit.java:167) > at accord.messages.Commit.apply(Commit.java:42) > at > org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:321) > at > org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:308) > at > org.apache.cassandra.service.accord.async.AsyncOperation.runInternal(AsyncOperation.java:226) > at > org.apache.cassandra.service.accord.async.AsyncOperation.run(AsyncOperation.java:268) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Assigned] (CASSANDRA-18378) CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit
[ https://issues.apache.org/jira/browse/CASSANDRA-18378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Capwell reassigned CASSANDRA-18378: - Assignee: David Capwell > CEP-15 (Accord) accord.messages.Defer rejects Recurrent retry of Commit > --- > > Key: CASSANDRA-18378 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18378 > Project: Cassandra > Issue Type: Bug > Components: Accord >Reporter: David Capwell >Assignee: David Capwell >Priority: Normal > Fix For: 5.x > > > {code} > java.lang.IllegalStateException: Recurrent retry of Commit{…} > at accord.messages.Defer.add(Defer.java:63) > at accord.messages.Commit.apply(Commit.java:167) > at accord.messages.Commit.apply(Commit.java:42) > at > org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:321) > at > org.apache.cassandra.service.accord.async.AsyncOperation$ForFunction.apply(AsyncOperation.java:308) > at > org.apache.cassandra.service.accord.async.AsyncOperation.runInternal(AsyncOperation.java:226) > at > org.apache.cassandra.service.accord.async.AsyncOperation.run(AsyncOperation.java:268) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-16551) Document how to update LICENSE.txt and NOTICE.txt
[ https://issues.apache.org/jira/browse/CASSANDRA-16551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17709766#comment-17709766 ] Ekaterina Dimitrova commented on CASSANDRA-16551: - CC [~polandll] > Document how to update LICENSE.txt and NOTICE.txt > - > > Key: CASSANDRA-16551 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16551 > Project: Cassandra > Issue Type: Improvement > Components: Documentation/Website >Reporter: Brandon Williams >Priority: Normal > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] branch trunk updated (dc4e1fa942 -> e6e9a78d7e)
This is an automated email from the ASF dual-hosted git repository. brandonwilliams pushed a change to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git from dc4e1fa942 fix error in conflict edit add 98dd5058d5 Suppress CVE-2022-45688 add 68bab31b4d DOC - Added :stem: latexmath to Data Modeling page to fix display of equations add 527f12e3ee fix error in conflict edit add 30639d8852 Suppress CVE-2022-45688 add 9a3a37c5b3 DOC - Added :stem: latexmath to Data Modeling page to fix display of equations add 21c3e9731c fix error in conflict edit add d41e69a652 Suppress CVE-2022-45688 add 83dd275d5d DOC - Added :stem: latexmath to Data Modeling page to fix display of equations new 5d315f869d Merge branch 'cassandra-3.11' into cassandra-4.0 new 7d84ad9366 Revert "fix error in conflict edit" new edb34e2f62 Merge branch 'cassandra-4.0' into cassandra-4.1 new e6e9a78d7e Merge branch 'cassandra-4.1' into trunk The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: CHANGES.txt | 1 + 1 file changed, 1 insertion(+) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] branch cassandra-4.1 updated (527f12e3ee -> edb34e2f62)
This is an automated email from the ASF dual-hosted git repository. brandonwilliams pushed a change to branch cassandra-4.1 in repository https://gitbox.apache.org/repos/asf/cassandra.git from 527f12e3ee fix error in conflict edit add 30639d8852 Suppress CVE-2022-45688 add 9a3a37c5b3 DOC - Added :stem: latexmath to Data Modeling page to fix display of equations add 21c3e9731c fix error in conflict edit add d41e69a652 Suppress CVE-2022-45688 add 83dd275d5d DOC - Added :stem: latexmath to Data Modeling page to fix display of equations new 5d315f869d Merge branch 'cassandra-3.11' into cassandra-4.0 new 7d84ad9366 Revert "fix error in conflict edit" new edb34e2f62 Merge branch 'cassandra-4.0' into cassandra-4.1 The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: CHANGES.txt | 1 + 1 file changed, 1 insertion(+) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] 01/01: Merge branch 'cassandra-4.1' into trunk
This is an automated email from the ASF dual-hosted git repository. brandonwilliams pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git commit e6e9a78d7eb21459264879e328d808aae377419f Merge: dc4e1fa942 edb34e2f62 Author: Brandon Williams AuthorDate: Fri Apr 7 13:44:27 2023 -0500 Merge branch 'cassandra-4.1' into trunk CHANGES.txt | 1 + 1 file changed, 1 insertion(+) diff --cc CHANGES.txt index 64542882a9,718fe56ff1..d960691b5b --- a/CHANGES.txt +++ b/CHANGES.txt @@@ -136,9 -8,10 +136,10 @@@ Merged from 4.0 * Update zstd-jni library to version 1.5.5 (CASSANDRA-18429) Merged from 3.11: * Suppress CVE-2022-45688 (CASSANDRA-18389) + * Fix Splitter sometimes creating more splits than requested (CASSANDRA-18013) Merged from 3.0: * Save host id to system.local and flush immediately after startup (CASSANDRA-18153) - + 4.1.1 * Deprecate org.apache.cassandra.hadoop code (CASSANDRA-16984) * Fix too early schema version change in sysem local table (CASSANDRA-18291) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] branch cassandra-4.0 updated (21c3e9731c -> 7d84ad9366)
This is an automated email from the ASF dual-hosted git repository. brandonwilliams pushed a change to branch cassandra-4.0 in repository https://gitbox.apache.org/repos/asf/cassandra.git from 21c3e9731c fix error in conflict edit add d41e69a652 Suppress CVE-2022-45688 add 83dd275d5d DOC - Added :stem: latexmath to Data Modeling page to fix display of equations new 5d315f869d Merge branch 'cassandra-3.11' into cassandra-4.0 new 7d84ad9366 Revert "fix error in conflict edit" The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: CHANGES.txt | 1 + 1 file changed, 1 insertion(+) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] 01/02: Merge branch 'cassandra-3.11' into cassandra-4.0
This is an automated email from the ASF dual-hosted git repository. brandonwilliams pushed a commit to branch cassandra-4.0 in repository https://gitbox.apache.org/repos/asf/cassandra.git commit 5d315f869dcdda73f23f85e178a724391a51dccd Merge: 21c3e9731c 83dd275d5d Author: Brandon Williams AuthorDate: Fri Apr 7 13:41:56 2023 -0500 Merge branch 'cassandra-3.11' into cassandra-4.0 - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] 01/01: Merge branch 'cassandra-4.0' into cassandra-4.1
This is an automated email from the ASF dual-hosted git repository. brandonwilliams pushed a commit to branch cassandra-4.1 in repository https://gitbox.apache.org/repos/asf/cassandra.git commit edb34e2f626be0c04d3055a66611cb0a2541bc91 Merge: 527f12e3ee 7d84ad9366 Author: Brandon Williams AuthorDate: Fri Apr 7 13:42:45 2023 -0500 Merge branch 'cassandra-4.0' into cassandra-4.1 CHANGES.txt | 1 + 1 file changed, 1 insertion(+) diff --cc CHANGES.txt index 536c672b7c,31c5213fad..718fe56ff1 --- a/CHANGES.txt +++ b/CHANGES.txt @@@ -1,30 -1,20 +1,31 @@@ -4.0.9 +4.1.2 + * Return snapshots with dots in their name in nodetool listsnapshots (CASSANDRA-18371) + * Fix NPE when loading snapshots and data directory is one directory from root (CASSANDRA-18359) + * Do not submit hints when hinted_handoff_enabled=false (CASSANDRA-18304) + * Fix COPY ... TO STDOUT behavior in cqlsh (CASSANDRA-18353) + * Remove six and Py2SaferScanner merge cruft (CASSANDRA-18354) +Merged from 4.0: * Update zstd-jni library to version 1.5.5 (CASSANDRA-18429) - * Backport CASSANDRA-17205 to 4.0 branch - Remove self-reference in SSTableTidier (CASSANDRA-18332) - * Avoid loading the preferred IP for BulkLoader streaming (CASSANDRA-18370) - * Fix BufferPool incorrect memoryInUse when putUnusedPortion is used (CASSANDRA-18311) - * Improve memtable allocator accounting when updating AtomicBTreePartition (CASSANDRA-18125) - * Update zstd-jni to version 1.5.4-1 (CASSANDRA-18259) - * Split and order IDEA workspace template VM_PARAMETERS (CASSANDRA-18242) Merged from 3.11: * Suppress CVE-2022-45688 (CASSANDRA-18389) + * Fix Splitter sometimes creating more splits than requested (CASSANDRA-18013) Merged from 3.0: * Save host id to system.local and flush immediately after startup (CASSANDRA-18153) - * Fix the ordering of sstables when running sstableupgrade tool (CASSANDRA-18143) - * Fix default file system error handler for disk_failure_policy die (CASSANDRA-18294) -4.0.8 +4.1.1 + * Deprecate org.apache.cassandra.hadoop code (CASSANDRA-16984) + * Fix too early schema version change in sysem local table (CASSANDRA-18291) + * Fix copying of JAR of a trigger to temporary file (CASSANDRA-18264) + * Fix possible NoSuchFileException when removing a snapshot (CASSANDRA-18211) + * PaxosPrepare may add instances to the Electorate that are not in gossip (CASSANDRA-18194) + * Fix PAXOS2_COMMIT_AND_PREPARE_RSP serialisation AssertionError (CASSANDRA-18164) + * Streaming progress virtual table lock contention can trigger TCP_USER_TIMEOUT and fail streaming (CASSANDRA-18110) + * Fix perpetual load of denylist on read in cases where denylist can never be loaded (CASSANDRA-18116) +Merged from 4.0: + * Fix BufferPool incorrect memoryInUse when putUnusedPortion is used (CASSANDRA-18311) + * Improve memtable allocator accounting when updating AtomicBTreePartition (CASSANDRA-18125) + * Update zstd-jni to version 1.5.4-1 (CASSANDRA-18259) + * Split and order IDEA workspace template VM_PARAMETERS (CASSANDRA-18242) * Log warning message on aggregation queries without key or on multiple keys (CASSANDRA-18219) * Fix the output of FQL dump tool to properly separate entries (CASSANDRA-18215) * Add cache type information for maximum memory usage warning message (CASSANDRA-18184) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] 02/02: Revert "fix error in conflict edit"
This is an automated email from the ASF dual-hosted git repository. brandonwilliams pushed a commit to branch cassandra-4.0 in repository https://gitbox.apache.org/repos/asf/cassandra.git commit 7d84ad936622454afb01424d8a3c6db511654d60 Author: Brandon Williams AuthorDate: Fri Apr 7 13:42:18 2023 -0500 Revert "fix error in conflict edit" This reverts commit 21c3e9731ceb773ef6010dcfea9c8ede3204fda2. --- CHANGES.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.txt b/CHANGES.txt index e14e315604..31c5213fad 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -8,6 +8,7 @@ * Split and order IDEA workspace template VM_PARAMETERS (CASSANDRA-18242) Merged from 3.11: * Suppress CVE-2022-45688 (CASSANDRA-18389) + * Fix Splitter sometimes creating more splits than requested (CASSANDRA-18013) Merged from 3.0: * Save host id to system.local and flush immediately after startup (CASSANDRA-18153) * Fix the ordering of sstables when running sstableupgrade tool (CASSANDRA-18143) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-16895) Build with Java 17
[ https://issues.apache.org/jira/browse/CASSANDRA-16895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ekaterina Dimitrova updated CASSANDRA-16895: Description: This ticket is intended to group all issues found to support Java 17 in the future. Upgrade steps: * [Dependencies |https://mvnrepository.com/artifact/org.apache.cassandra/cassandra-all/4.0.1]to be updated (not all but at least those that require an update in order to work with Java 17) * More encapsulated JDK internal APIs. Some of the issues might be solved with the dependencies updates * Currently trunk compiles if we remove the Nashorn dependency (ant script tag, used for the test environment; UDFs) . The oracle recommendation to use Nashorn-core won't work for the project as it is under GPL 2.0. Most probably we will opt in for graal-sdk licensed under UPL * All tests to be cleaned * CI environment to be setup *NOTE:* GC tuning, performance testing were never agreed to be part of this ticket. Below is a snapshot of current CI failures with JDK17, it will be updated on a regular basis with a date of update *April 7th 2023* || ||Failing Test Classes||Ticket Numbers|| | |_Python DTests_| | |1|test_sjk|CASSANDRA-18343| | |_Java Ditributed Tests_| | |1-6|org.apache.cassandra.distributed.test.ReprepareOldBehaviourTest - all tests, org.apache.cassandra.distributed.test.PrepareBatchStatementsTest - all tests, org.apache.cassandra.distributed.test.IPMembershipTest - both tests, org.apache.cassandra.distributed.test.MixedModeFuzzTest, org.apache.cassandra.distributed.test.ReprepareFuzzTest, org.apache.cassandra.distributed.test.ReprepareNewBehaviourTest|CASSANDRA-16304| |7,8|org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest - all tests org.apache.cassandra.distributed.test.InternodeEncryptionOptionsTest - all tests|Could be related to CASSANDRA-18180, to be checked | |9|org.apache.cassandra.distributed.test.SSTableLoaderEncryptionOptionsTest - 2 tests|CASSANDRA-18180| | |_Unit Tests_| | |1|org.apache.cassandra.repair.RepairJobTest - 1 test|CASSANDRA-17884| |2|org.apache.cassandra.security.SSLFactoryTest - all tests|CASSANDRA-17992| |3,4|org.apache.cassandra.db.memtable.MemtableSizeOffheapBuffersTest, org.apache.cassandra.utils.concurrent.RefCountedTest|CASSANDRA-18329| |5,6|org.apache.cassandra.cql3.validation.entities.UFJavaTest, org.apache.cassandra.cql3.validation.entities.UFSecurityTest|CASSANDRA-18190| |7|org.apache.cassandra.cql3.EmptyValuesTest|CASSANDRA-18436| | | | | was: This ticket is intended to group all issues found to support Java 17 in the future. Upgrade steps: * [Dependencies |https://mvnrepository.com/artifact/org.apache.cassandra/cassandra-all/4.0.1]to be updated (not all but at least those that require an update in order to work with Java 17) * More encapsulated JDK internal APIs. Some of the issues might be solved with the dependencies updates * Currently trunk compiles if we remove the Nashorn dependency (ant script tag, used for the test environment; UDFs) . The oracle recommendation to use Nashorn-core won't work for the project as it is under GPL 2.0. Most probably we will opt in for graal-sdk licensed under UPL * All tests to be cleaned * CI environment to be setup *NOTE:* GC tuning, performance testing were never agreed to be part of this ticket. Below is a snapshot of current CI failures with JDK17, it will be updated on a regular basis with a date of update *March 19th 2023* || ||Failing Test Classes||Ticket Numbers|| | |_Python DTests_| | |1|test_sjk|CASSANDRA-18343| | |_Java Ditributed Tests_| | |1-6|org.apache.cassandra.distributed.test.ReprepareOldBehaviourTest - all tests, org.apache.cassandra.distributed.test.PrepareBatchStatementsTest - all tests, org.apache.cassandra.distributed.test.IPMembershipTest - both tests, org.apache.cassandra.distributed.test.MixedModeFuzzTest, org.apache.cassandra.distributed.test.ReprepareFuzzTest, org.apache.cassandra.distributed.test.ReprepareNewBehaviourTest|CASSANDRA-16304| |7,8|org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest - all tests org.apache.cassandra.distributed.test.InternodeEncryptionOptionsTest - all tests|Could be related to CASSANDRA-18180, to be checked | |9|org.apache.cassandra.distributed.test.SSTableLoaderEncryptionOptionsTest - 2 tests|CASSANDRA-18180| | |_Unit Tests_| | |1|org.apache.cassandra.repair.RepairJobTest - 1 test|CASSANDRA-17884| |2|org.apache.cassandra.security.SSLFactoryTest - all tests|CASSANDRA-17992| |3,4|org.apache.cassandra.db.memtable.MemtableSizeOffheapBuffersTest, org.apache.cassandra.utils.concurrent.RefCountedTest|CASSANDRA-18329| |5,6|org.apache.cassandra.cql3.validation.entities.UFJavaTest, org.apache.cassandra.cql3.validation.entities.UFSecurityTest|CASSANDRA-18190| |7|org.apache.cassandra.cql3.EmptyValuesTest|CASSANDRA-18436| | | | | > Build
[jira] [Updated] (CASSANDRA-18436) Unit tests in org.apache.cassandra.cql3.EmptyValuesTest class occasionally failing with JDK17
[ https://issues.apache.org/jira/browse/CASSANDRA-18436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ekaterina Dimitrova updated CASSANDRA-18436: Summary: Unit tests in org.apache.cassandra.cql3.EmptyValuesTest class occasionally failing with JDK17 (was: Unit tests in EmptyValuesTest class occasionally failing with JDK17) > Unit tests in org.apache.cassandra.cql3.EmptyValuesTest class occasionally > failing with JDK17 > - > > Key: CASSANDRA-18436 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18436 > Project: Cassandra > Issue Type: Bug > Components: CI >Reporter: Ekaterina Dimitrova >Priority: Normal > Fix For: 5.x > > > > All of them failed with the below stack trace for the same assertion failing: > {code:java} > junit.framework.AssertionFailedError: at > org.apache.cassandra.cql3.EmptyValuesTest.verify(EmptyValuesTest.java:90) at > org.apache.cassandra.cql3.EmptyValuesTest.verifyJsonInsert(EmptyValuesTest.java:112) > at > org.apache.cassandra.cql3.EmptyValuesTest.testEmptyDecimal(EmptyValuesTest.java:192) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} > > Unfortunately I do not have a link to the CI run as this was seen last in > private infra and not in CircleCI. Maybe we want to check with the > multiplexer for flakiness. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-16895) Build with Java 17
[ https://issues.apache.org/jira/browse/CASSANDRA-16895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ekaterina Dimitrova updated CASSANDRA-16895: Description: This ticket is intended to group all issues found to support Java 17 in the future. Upgrade steps: * [Dependencies |https://mvnrepository.com/artifact/org.apache.cassandra/cassandra-all/4.0.1]to be updated (not all but at least those that require an update in order to work with Java 17) * More encapsulated JDK internal APIs. Some of the issues might be solved with the dependencies updates * Currently trunk compiles if we remove the Nashorn dependency (ant script tag, used for the test environment; UDFs) . The oracle recommendation to use Nashorn-core won't work for the project as it is under GPL 2.0. Most probably we will opt in for graal-sdk licensed under UPL * All tests to be cleaned * CI environment to be setup *NOTE:* GC tuning, performance testing were never agreed to be part of this ticket. Below is a snapshot of current CI failures with JDK17, it will be updated on a regular basis with a date of update *March 19th 2023* || ||Failing Test Classes||Ticket Numbers|| | |_Python DTests_| | |1|test_sjk|CASSANDRA-18343| | |_Java Ditributed Tests_| | |1-6|org.apache.cassandra.distributed.test.ReprepareOldBehaviourTest - all tests, org.apache.cassandra.distributed.test.PrepareBatchStatementsTest - all tests, org.apache.cassandra.distributed.test.IPMembershipTest - both tests, org.apache.cassandra.distributed.test.MixedModeFuzzTest, org.apache.cassandra.distributed.test.ReprepareFuzzTest, org.apache.cassandra.distributed.test.ReprepareNewBehaviourTest|CASSANDRA-16304| |7,8|org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest - all tests org.apache.cassandra.distributed.test.InternodeEncryptionOptionsTest - all tests|Could be related to CASSANDRA-18180, to be checked | |9|org.apache.cassandra.distributed.test.SSTableLoaderEncryptionOptionsTest - 2 tests|CASSANDRA-18180| | |_Unit Tests_| | |1|org.apache.cassandra.repair.RepairJobTest - 1 test|CASSANDRA-17884| |2|org.apache.cassandra.security.SSLFactoryTest - all tests|CASSANDRA-17992| |3,4|org.apache.cassandra.db.memtable.MemtableSizeOffheapBuffersTest, org.apache.cassandra.utils.concurrent.RefCountedTest|CASSANDRA-18329| |5,6|org.apache.cassandra.cql3.validation.entities.UFJavaTest, org.apache.cassandra.cql3.validation.entities.UFSecurityTest|CASSANDRA-18190| |7|org.apache.cassandra.cql3.EmptyValuesTest|CASSANDRA-18436| | | | | was: This ticket is intended to group all issues found to support Java 17 in the future. Upgrade steps: * [Dependencies |https://mvnrepository.com/artifact/org.apache.cassandra/cassandra-all/4.0.1]to be updated (not all but at least those that require an update in order to work with Java 17) * More encapsulated JDK internal APIs. Some of the issues might be solved with the dependencies updates * Currently trunk compiles if we remove the Nashorn dependency (ant script tag, used for the test environment; UDFs) . The oracle recommendation to use Nashorn-core won't work for the project as it is under GPL 2.0. Most probably we will opt in for graal-sdk licensed under UPL * All tests to be cleaned * CI environment to be setup *NOTE:* GC tuning, performance testing were never agreed to be part of this ticket. Below is a snapshot of current CI failures with JDK17, it will be updated on a regular basis with a date of update *March 19th 2023* || ||Failing Test Classes||Ticket Numbers|| | |_Python DTests_| | |1|test_sjk|CASSANDRA-18343| | |_Java Ditributed Tests_| | |1-6|org.apache.cassandra.distributed.test.ReprepareOldBehaviourTest - all tests, org.apache.cassandra.distributed.test.PrepareBatchStatementsTest - all tests, org.apache.cassandra.distributed.test.IPMembershipTest - both tests, org.apache.cassandra.distributed.test.MixedModeFuzzTest, org.apache.cassandra.distributed.test.ReprepareFuzzTest, org.apache.cassandra.distributed.test.ReprepareNewBehaviourTest|CASSANDRA-16304| |7,8|org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest - all tests org.apache.cassandra.distributed.test.InternodeEncryptionOptionsTest - all tests|Could be related to CASSANDRA-18180, to be checked | |9|org.apache.cassandra.distributed.test.SSTableLoaderEncryptionOptionsTest - 2 tests|CASSANDRA-18180| | |_Unit Tests_| | |1|org.apache.cassandra.repair.RepairJobTest - 1 test|CASSANDRA-17884| |2|org.apache.cassandra.security.SSLFactoryTest - all tests|CASSANDRA-17992| |3,4|org.apache.cassandra.db.memtable.MemtableSizeOffheapBuffersTest, org.apache.cassandra.utils.concurrent.RefCountedTest|CASSANDRA-18329| |5,6|org.apache.cassandra.cql3.validation.entities.UFJavaTest, org.apache.cassandra.cql3.validation.entities.UFSecurityTest|CASSANDRA-18190| | | | | | | | | > Build with Java 17 > -- > >
[cassandra] 03/03: fix error in conflict edit
This is an automated email from the ASF dual-hosted git repository. polandll pushed a commit to branch cassandra-4.1 in repository https://gitbox.apache.org/repos/asf/cassandra.git commit 527f12e3eecb6a403eb0520324d606f2f4f3ee7e Author: Lorina Poland AuthorDate: Fri Apr 7 11:12:09 2023 -0700 fix error in conflict edit --- CHANGES.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index f8d40a7aaf..536c672b7c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -7,9 +7,7 @@ Merged from 4.0: * Update zstd-jni library to version 1.5.5 (CASSANDRA-18429) Merged from 3.11: -3.11.15 * Suppress CVE-2022-45688 (CASSANDRA-18389) - * Fix Splitter sometimes creating more splits than requested (CASSANDRA-18013) Merged from 3.0: * Save host id to system.local and flush immediately after startup (CASSANDRA-18153) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] 02/03: DOC - Added :stem: latexmath to Data Modeling page to fix display of equations
This is an automated email from the ASF dual-hosted git repository. polandll pushed a commit to branch cassandra-4.1 in repository https://gitbox.apache.org/repos/asf/cassandra.git commit 68bab31b4d350b997fdbc181020a26730daabf67 Author: Lorina Poland AuthorDate: Tue Feb 14 10:53:29 2023 -0800 DOC - Added :stem: latexmath to Data Modeling page to fix display of equations patch by Lorina Poland; reviewed by Erick Ramirez for CASSANDRA-16906 --- doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc b/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc index 09f16da094..045a80c4fd 100644 --- a/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc +++ b/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc @@ -1,4 +1,5 @@ = Evaluating and Refining Data Models +:stem: latexmath Once you’ve created a physical model, there are some steps you’ll want to take to evaluate and refine table designs to help ensure optimal - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] branch cassandra-4.1 updated (a8fa357bbc -> 527f12e3ee)
This is an automated email from the ASF dual-hosted git repository. polandll pushed a change to branch cassandra-4.1 in repository https://gitbox.apache.org/repos/asf/cassandra.git from a8fa357bbc Merge branch 'cassandra-4.0' into cassandra-4.1 new 98dd5058d5 Suppress CVE-2022-45688 new 68bab31b4d DOC - Added :stem: latexmath to Data Modeling page to fix display of equations new 527f12e3ee fix error in conflict edit The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc | 1 + 1 file changed, 1 insertion(+) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] branch trunk updated (6a1a4d8459 -> dc4e1fa942)
This is an automated email from the ASF dual-hosted git repository. polandll pushed a change to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git from 6a1a4d8459 Merge branch 'cassandra-4.1' into trunk new 99cd33e28f Suppress CVE-2022-45688 new 6b58ad0e5b DOC - Added :stem: latexmath to Data Modeling page to fix display of equations new dc4e1fa942 fix error in conflict edit The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc | 1 + 1 file changed, 1 insertion(+) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] 01/03: Suppress CVE-2022-45688
This is an automated email from the ASF dual-hosted git repository. polandll pushed a commit to branch cassandra-4.1 in repository https://gitbox.apache.org/repos/asf/cassandra.git commit 98dd5058d52165afb703b22cc2dc8a2b7262203b Author: Brandon Williams AuthorDate: Thu Mar 30 10:14:07 2023 -0500 Suppress CVE-2022-45688 Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18389 --- CHANGES.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index 536c672b7c..f8d40a7aaf 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -7,7 +7,9 @@ Merged from 4.0: * Update zstd-jni library to version 1.5.5 (CASSANDRA-18429) Merged from 3.11: +3.11.15 * Suppress CVE-2022-45688 (CASSANDRA-18389) + * Fix Splitter sometimes creating more splits than requested (CASSANDRA-18013) Merged from 3.0: * Save host id to system.local and flush immediately after startup (CASSANDRA-18153) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] 02/03: DOC - Added :stem: latexmath to Data Modeling page to fix display of equations
This is an automated email from the ASF dual-hosted git repository. polandll pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git commit 6b58ad0e5b72a60a430641301fb6a309d9c90fbc Author: Lorina Poland AuthorDate: Tue Feb 14 10:53:29 2023 -0800 DOC - Added :stem: latexmath to Data Modeling page to fix display of equations patch by Lorina Poland; reviewed by Erick Ramirez for CASSANDRA-16906 --- doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc b/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc index 09f16da094..045a80c4fd 100644 --- a/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc +++ b/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc @@ -1,4 +1,5 @@ = Evaluating and Refining Data Models +:stem: latexmath Once you’ve created a physical model, there are some steps you’ll want to take to evaluate and refine table designs to help ensure optimal - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] branch cassandra-3.11 updated: DOC - Added :stem: latexmath to Data Modeling page to fix display of equations
This is an automated email from the ASF dual-hosted git repository. polandll pushed a commit to branch cassandra-3.11 in repository https://gitbox.apache.org/repos/asf/cassandra.git The following commit(s) were added to refs/heads/cassandra-3.11 by this push: new 83dd275d5d DOC - Added :stem: latexmath to Data Modeling page to fix display of equations 83dd275d5d is described below commit 83dd275d5d824abba4ced3cfbdada711f2e7bf63 Author: Lorina Poland AuthorDate: Tue Feb 14 10:53:29 2023 -0800 DOC - Added :stem: latexmath to Data Modeling page to fix display of equations patch by Lorina Poland; reviewed by Erick Ramirez for CASSANDRA-16906 --- doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc b/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc index 09f16da094..045a80c4fd 100644 --- a/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc +++ b/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc @@ -1,4 +1,5 @@ = Evaluating and Refining Data Models +:stem: latexmath Once you’ve created a physical model, there are some steps you’ll want to take to evaluate and refine table designs to help ensure optimal - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] 01/03: Suppress CVE-2022-45688
This is an automated email from the ASF dual-hosted git repository. polandll pushed a commit to branch cassandra-4.0 in repository https://gitbox.apache.org/repos/asf/cassandra.git commit 30639d8852825c14a98fb3a7ba46c89b559d56bf Author: Brandon Williams AuthorDate: Thu Mar 30 10:14:07 2023 -0500 Suppress CVE-2022-45688 Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18389 --- CHANGES.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.txt b/CHANGES.txt index e14e315604..31c5213fad 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -8,6 +8,7 @@ * Split and order IDEA workspace template VM_PARAMETERS (CASSANDRA-18242) Merged from 3.11: * Suppress CVE-2022-45688 (CASSANDRA-18389) + * Fix Splitter sometimes creating more splits than requested (CASSANDRA-18013) Merged from 3.0: * Save host id to system.local and flush immediately after startup (CASSANDRA-18153) * Fix the ordering of sstables when running sstableupgrade tool (CASSANDRA-18143) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] 03/03: fix error in conflict edit
This is an automated email from the ASF dual-hosted git repository. polandll pushed a commit to branch cassandra-4.0 in repository https://gitbox.apache.org/repos/asf/cassandra.git commit 21c3e9731ceb773ef6010dcfea9c8ede3204fda2 Author: Lorina Poland AuthorDate: Fri Apr 7 11:10:46 2023 -0700 fix error in conflict edit --- CHANGES.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 31c5213fad..e14e315604 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -8,7 +8,6 @@ * Split and order IDEA workspace template VM_PARAMETERS (CASSANDRA-18242) Merged from 3.11: * Suppress CVE-2022-45688 (CASSANDRA-18389) - * Fix Splitter sometimes creating more splits than requested (CASSANDRA-18013) Merged from 3.0: * Save host id to system.local and flush immediately after startup (CASSANDRA-18153) * Fix the ordering of sstables when running sstableupgrade tool (CASSANDRA-18143) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] branch cassandra-4.0 updated (03be6d7926 -> 21c3e9731c)
This is an automated email from the ASF dual-hosted git repository. polandll pushed a change to branch cassandra-4.0 in repository https://gitbox.apache.org/repos/asf/cassandra.git from 03be6d7926 update zstd-jni library to version 1.5.5 new 30639d8852 Suppress CVE-2022-45688 new 9a3a37c5b3 DOC - Added :stem: latexmath to Data Modeling page to fix display of equations new 21c3e9731c fix error in conflict edit The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc | 1 + 1 file changed, 1 insertion(+) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] 02/03: DOC - Added :stem: latexmath to Data Modeling page to fix display of equations
This is an automated email from the ASF dual-hosted git repository. polandll pushed a commit to branch cassandra-4.0 in repository https://gitbox.apache.org/repos/asf/cassandra.git commit 9a3a37c5b3f4d92c10be3ce072c6b16251ad9eed Author: Lorina Poland AuthorDate: Tue Feb 14 10:53:29 2023 -0800 DOC - Added :stem: latexmath to Data Modeling page to fix display of equations patch by Lorina Poland; reviewed by Erick Ramirez for CASSANDRA-16906 --- doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc b/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc index 09f16da094..045a80c4fd 100644 --- a/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc +++ b/doc/modules/cassandra/pages/data_modeling/data_modeling_refining.adoc @@ -1,4 +1,5 @@ = Evaluating and Refining Data Models +:stem: latexmath Once you’ve created a physical model, there are some steps you’ll want to take to evaluate and refine table designs to help ensure optimal - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] 03/03: fix error in conflict edit
This is an automated email from the ASF dual-hosted git repository. polandll pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git commit dc4e1fa94222a271b51aaacf31000aa165a652bd Author: Lorina Poland AuthorDate: Fri Apr 7 11:13:22 2023 -0700 fix error in conflict edit --- CHANGES.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index c7afcf2f5d..64542882a9 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -135,9 +135,7 @@ Merged from 4.0: * Update zstd-jni library to version 1.5.5 (CASSANDRA-18429) Merged from 3.11: -3.11.15 * Suppress CVE-2022-45688 (CASSANDRA-18389) - * Fix Splitter sometimes creating more splits than requested (CASSANDRA-18013) Merged from 3.0: * Save host id to system.local and flush immediately after startup (CASSANDRA-18153) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra] 01/03: Suppress CVE-2022-45688
This is an automated email from the ASF dual-hosted git repository. polandll pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git commit 99cd33e28faed1fb2cad0acf437e0b509c769e5e Author: Brandon Williams AuthorDate: Thu Mar 30 10:14:07 2023 -0500 Suppress CVE-2022-45688 Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18389 --- CHANGES.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index 64542882a9..c7afcf2f5d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -135,7 +135,9 @@ Merged from 4.0: * Update zstd-jni library to version 1.5.5 (CASSANDRA-18429) Merged from 3.11: +3.11.15 * Suppress CVE-2022-45688 (CASSANDRA-18389) + * Fix Splitter sometimes creating more splits than requested (CASSANDRA-18013) Merged from 3.0: * Save host id to system.local and flush immediately after startup (CASSANDRA-18153) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18436) Unit tests in EmptyValuesTest class occasionally failing with JDK17
[ https://issues.apache.org/jira/browse/CASSANDRA-18436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ekaterina Dimitrova updated CASSANDRA-18436: Epic Link: CASSANDRA-16895 > Unit tests in EmptyValuesTest class occasionally failing with JDK17 > --- > > Key: CASSANDRA-18436 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18436 > Project: Cassandra > Issue Type: Bug > Components: CI >Reporter: Ekaterina Dimitrova >Priority: Normal > Fix For: 5.x > > > > All of them failed with the below stack trace for the same assertion failing: > {code:java} > junit.framework.AssertionFailedError: at > org.apache.cassandra.cql3.EmptyValuesTest.verify(EmptyValuesTest.java:90) at > org.apache.cassandra.cql3.EmptyValuesTest.verifyJsonInsert(EmptyValuesTest.java:112) > at > org.apache.cassandra.cql3.EmptyValuesTest.testEmptyDecimal(EmptyValuesTest.java:192) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} > > Unfortunately I do not have a link to the CI run as this was seen last in > private infra and not in CircleCI. Maybe we want to check with the > multiplexer for flakiness. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18436) Unit tests in EmptyValuesTest class occasionally failing with JDK17
[ https://issues.apache.org/jira/browse/CASSANDRA-18436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ekaterina Dimitrova updated CASSANDRA-18436: Bug Category: Parent values: Correctness(12982)Level 1 values: Test Failure(12990) Complexity: Normal Component/s: CI Discovered By: User Report Severity: Normal Status: Open (was: Triage Needed) > Unit tests in EmptyValuesTest class occasionally failing with JDK17 > --- > > Key: CASSANDRA-18436 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18436 > Project: Cassandra > Issue Type: Bug > Components: CI >Reporter: Ekaterina Dimitrova >Priority: Normal > > > All of them failed with the below stack trace for the same assertion failing: > {code:java} > junit.framework.AssertionFailedError: at > org.apache.cassandra.cql3.EmptyValuesTest.verify(EmptyValuesTest.java:90) at > org.apache.cassandra.cql3.EmptyValuesTest.verifyJsonInsert(EmptyValuesTest.java:112) > at > org.apache.cassandra.cql3.EmptyValuesTest.testEmptyDecimal(EmptyValuesTest.java:192) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} > > Unfortunately I do not have a link to the CI run as this was seen last in > private infra and not in CircleCI. Maybe we want to check with the > multiplexer for flakiness. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18436) Unit tests in EmptyValuesTest class occasionally failing with JDK17
[ https://issues.apache.org/jira/browse/CASSANDRA-18436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ekaterina Dimitrova updated CASSANDRA-18436: Description: All of them failed with the below stack trace for the same assertion failing: {code:java} junit.framework.AssertionFailedError: at org.apache.cassandra.cql3.EmptyValuesTest.verify(EmptyValuesTest.java:90) at org.apache.cassandra.cql3.EmptyValuesTest.verifyJsonInsert(EmptyValuesTest.java:112) at org.apache.cassandra.cql3.EmptyValuesTest.testEmptyDecimal(EmptyValuesTest.java:192) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) {code} Unfortunately I do not have a link to the CI run as this was seen last in private infra and not in CircleCI. Maybe we want to check with the multiplexer for flakiness. was: All of them failed with the below stack trace for the same assertion failing: {code:java} junit.framework.AssertionFailedError: at org.apache.cassandra.cql3.EmptyValuesTest.verify(EmptyValuesTest.java:90) at org.apache.cassandra.cql3.EmptyValuesTest.verifyJsonInsert(EmptyValuesTest.java:112) at org.apache.cassandra.cql3.EmptyValuesTest.testEmptyDecimal(EmptyValuesTest.java:192) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) {code} Unfortunately I do not have a link to the CI run as this was seen last in private infra. > Unit tests in EmptyValuesTest class occasionally failing with JDK17 > --- > > Key: CASSANDRA-18436 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18436 > Project: Cassandra > Issue Type: Bug >Reporter: Ekaterina Dimitrova >Priority: Normal > > > All of them failed with the below stack trace for the same assertion failing: > {code:java} > junit.framework.AssertionFailedError: at > org.apache.cassandra.cql3.EmptyValuesTest.verify(EmptyValuesTest.java:90) at > org.apache.cassandra.cql3.EmptyValuesTest.verifyJsonInsert(EmptyValuesTest.java:112) > at > org.apache.cassandra.cql3.EmptyValuesTest.testEmptyDecimal(EmptyValuesTest.java:192) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} > > Unfortunately I do not have a link to the CI run as this was seen last in > private infra and not in CircleCI. Maybe we want to check with the > multiplexer for flakiness. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18436) Unit tests in EmptyValuesTest class occasionally failing with JDK17
[ https://issues.apache.org/jira/browse/CASSANDRA-18436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ekaterina Dimitrova updated CASSANDRA-18436: Fix Version/s: 5.x > Unit tests in EmptyValuesTest class occasionally failing with JDK17 > --- > > Key: CASSANDRA-18436 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18436 > Project: Cassandra > Issue Type: Bug > Components: CI >Reporter: Ekaterina Dimitrova >Priority: Normal > Fix For: 5.x > > > > All of them failed with the below stack trace for the same assertion failing: > {code:java} > junit.framework.AssertionFailedError: at > org.apache.cassandra.cql3.EmptyValuesTest.verify(EmptyValuesTest.java:90) at > org.apache.cassandra.cql3.EmptyValuesTest.verifyJsonInsert(EmptyValuesTest.java:112) > at > org.apache.cassandra.cql3.EmptyValuesTest.testEmptyDecimal(EmptyValuesTest.java:192) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > {code} > > Unfortunately I do not have a link to the CI run as this was seen last in > private infra and not in CircleCI. Maybe we want to check with the > multiplexer for flakiness. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Created] (CASSANDRA-18436) Unit tests in EmptyValuesTest class occasionally failing with JDK17
Ekaterina Dimitrova created CASSANDRA-18436: --- Summary: Unit tests in EmptyValuesTest class occasionally failing with JDK17 Key: CASSANDRA-18436 URL: https://issues.apache.org/jira/browse/CASSANDRA-18436 Project: Cassandra Issue Type: Bug Reporter: Ekaterina Dimitrova All of them failed with the below stack trace for the same assertion failing: {code:java} junit.framework.AssertionFailedError: at org.apache.cassandra.cql3.EmptyValuesTest.verify(EmptyValuesTest.java:90) at org.apache.cassandra.cql3.EmptyValuesTest.verifyJsonInsert(EmptyValuesTest.java:112) at org.apache.cassandra.cql3.EmptyValuesTest.testEmptyDecimal(EmptyValuesTest.java:192) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) {code} Unfortunately I do not have a link to the CI run as this was seen last in private infra. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-17869) Add JDK17 option to cassandra-builds (build-scripts and jenkins dsl) and on jenkins agents
[ https://issues.apache.org/jira/browse/CASSANDRA-17869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17709752#comment-17709752 ] Ekaterina Dimitrova commented on CASSANDRA-17869: - I tried to verify we have the right amount of tests running with every suite published; being run with the right JDK version and final results matching what we already know about without new surprises. Feedback: * I will open a ticket for EmptyValuesTest class(unit tests) - I've seen it before failing with JDK17 but not in the past month so I guess it did not disappear but it is probably flaky with JDK17. * The links posted for in-jvm tests return 404 error. I just navigated myself from the main page to the latest runs available * I had some confusion with the Java distributed tests until I found CASSANDRA-18008. (we do not have them running with vnodes as in CircleCI). Also, Jenkins skips to run different tests sometimes in different runs. I have no clue why. Further to the @Ignore annotations do we have any custom way to check and decide if we want to skip some tests running with JUnit? Like we have for the Python tests for example to skip certain resource-intensive tests. Also, I think we also skip some tests in CircleCI but it just reports total number of test runs and total number of failures, no total number of skipped tests. Number of tests run seems similar so I _guess_ things are ok but it is hard to reason. * It seems JDK11 Python DTests are not currently run in Jenkins, do we plan now to enable both 11 and 17? This will raise significantly the build times and the infra will suffer. I am not sure whether this was the rationality or they were just not added as other suites we are missing. * Some Python upgrade tests are failing because we try to compile older Cassandra versions with JDK17 as far as I can tell from the logs. (I seen complaints about Nashorn) * Not all suites were run with the latest changes applied in Cassandra. * I guess intentionally you did not run yet the cdc, compression enabled etc unit tests? > Add JDK17 option to cassandra-builds (build-scripts and jenkins dsl) and on > jenkins agents > -- > > Key: CASSANDRA-17869 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17869 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Michael Semb Wever >Assignee: Michael Semb Wever >Priority: Normal > Fix For: 5.x > > Time Spent: 2.5h > Remaining Estimate: 0h > > Add JDK17 option to cassandra-builds build-scripts, they only currently > support options {{8}} and {{11}}. > Add JDK17 to the matrix axes in the jenkins dsl. > Ensure JDK17 is installed on all the jenkins agents. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18401) Investigate preloading ccm repositories in the docker image
[ https://issues.apache.org/jira/browse/CASSANDRA-18401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams updated CASSANDRA-18401: - Change Category: Performance Complexity: Normal Component/s: Build Fix Version/s: 3.0.x 3.11.x 4.0.x 5.x Status: Open (was: Triage Needed) We currently pull the current git branches into ccm, but the dtests also pull in specific versions in some cases, which I added [here|https://github.com/driftx/cassandra-builds/commit/d6cec22f39f57e89b13c201fe525be4f2b8799ac] and uploaded to my docker. Circle [j8|https://app.circleci.com/pipelines/github/driftx/cassandra/969/workflows/91c59281-f6ea-4957-bbec-6435decde99f] w/upgrades and [j11|https://app.circleci.com/pipelines/github/driftx/cassandra/969/workflows/9c436350-50e0-4661-a92a-5de554315064]. [!https://ci-cassandra.apache.org/job/Cassandra-devbranch/2416/badge/icon!|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/2416/pipeline] > Investigate preloading ccm repositories in the docker image > --- > > Key: CASSANDRA-18401 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18401 > Project: Cassandra > Issue Type: Improvement > Components: Build >Reporter: Brandon Williams >Assignee: Brandon Williams >Priority: Normal > Fix For: 3.0.x, 3.11.x, 4.0.x, 5.x > > > In CASSANDRA-18391 it was discovered that to skip some upgrade tests, the ccm > repository first needed to be populated with older versions. While that case > was solved, it may still be beneficial to preload the ccm repositories in the > docker image so they don't need to be fetched at all. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Comment Edited] (CASSANDRA-18373) Node Draining Should Abort All Current SSTables Imports
[ https://issues.apache.org/jira/browse/CASSANDRA-18373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17709746#comment-17709746 ] Yifan Cai edited comment on CASSANDRA-18373 at 4/7/23 5:06 PM: --- Starting commit CI Results (pending): ||Branch||Source||Circle CI|| |trunk|[branch|https://github.com/yifan-c/cassandra/tree/commit_remote_branch/CASSANDRA-18373-trunk-B9891CFB-1142-4F67-B3E6-DE876B526F93]|[build|https://app.circleci.com/pipelines/github/yifan-c/cassandra?branch=commit_remote_branch%2FCASSANDRA-18373-trunk-B9891CFB-1142-4F67-B3E6-DE876B526F93]| was (Author: yifanc): Starting commit CI Results (pending): ||Branch||Source||Circle CI|| |trunk|[branch|https://github.com/yifa-c/cassandra/tree/commit_remote_branch/CASSANDRA-18373-trunk-B9891CFB-1142-4F67-B3E6-DE876B526F93]|[build|https://app.circleci.com/pipelines/github/yifan-c/cassandra?branch=commit_remote_branch%2FCASSANDRA-18373-trunk-B9891CFB-1142-4F67-B3E6-DE876B526F93]| > Node Draining Should Abort All Current SSTables Imports > --- > > Key: CASSANDRA-18373 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18373 > Project: Cassandra > Issue Type: Improvement > Components: Local/Startup and Shutdown >Reporter: Yuriy Semchyshyn >Assignee: Yuriy Semchyshyn >Priority: Normal > Time Spent: 1h 20m > Remaining Estimate: 0h > > SS tables imports that will end up being ignored due to the node draining > should fail instead of succeeding. > Each active SS tables import should periodically check for the node status > and see whether or not it is `DRAINING`. > In case the node starts draining the import should abort immediately by > throwing an `InterruptedException`. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Comment Edited] (CASSANDRA-18373) Node Draining Should Abort All Current SSTables Imports
[ https://issues.apache.org/jira/browse/CASSANDRA-18373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17709746#comment-17709746 ] Yifan Cai edited comment on CASSANDRA-18373 at 4/7/23 5:06 PM: --- Starting commit CI Results (pending): ||Branch||Source||Circle CI|| |trunk|[branch|https://github.com/yifa-c/cassandra/tree/commit_remote_branch/CASSANDRA-18373-trunk-B9891CFB-1142-4F67-B3E6-DE876B526F93]|[build|https://app.circleci.com/pipelines/github/yifan-c/cassandra?branch=commit_remote_branch%2FCASSANDRA-18373-trunk-B9891CFB-1142-4F67-B3E6-DE876B526F93]| was (Author: yifanc): Starting commit CI Results (pending): ||Branch||Source||Circle CI|| |trunk|[branch|https://github.com/yifan_cai/cassandra/tree/commit_remote_branch/CASSANDRA-18373-trunk-B9891CFB-1142-4F67-B3E6-DE876B526F93]|[build|https://app.circleci.com/pipelines/github/yifan_cai/cassandra?branch=commit_remote_branch%2FCASSANDRA-18373-trunk-B9891CFB-1142-4F67-B3E6-DE876B526F93]| > Node Draining Should Abort All Current SSTables Imports > --- > > Key: CASSANDRA-18373 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18373 > Project: Cassandra > Issue Type: Improvement > Components: Local/Startup and Shutdown >Reporter: Yuriy Semchyshyn >Assignee: Yuriy Semchyshyn >Priority: Normal > Time Spent: 1h 20m > Remaining Estimate: 0h > > SS tables imports that will end up being ignored due to the node draining > should fail instead of succeeding. > Each active SS tables import should periodically check for the node status > and see whether or not it is `DRAINING`. > In case the node starts draining the import should abort immediately by > throwing an `InterruptedException`. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18373) Node Draining Should Abort All Current SSTables Imports
[ https://issues.apache.org/jira/browse/CASSANDRA-18373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17709746#comment-17709746 ] Yifan Cai commented on CASSANDRA-18373: --- Starting commit CI Results (pending): ||Branch||Source||Circle CI|| |trunk|[branch|https://github.com/yifan_cai/cassandra/tree/commit_remote_branch/CASSANDRA-18373-trunk-B9891CFB-1142-4F67-B3E6-DE876B526F93]|[build|https://app.circleci.com/pipelines/github/yifan_cai/cassandra?branch=commit_remote_branch%2FCASSANDRA-18373-trunk-B9891CFB-1142-4F67-B3E6-DE876B526F93]| > Node Draining Should Abort All Current SSTables Imports > --- > > Key: CASSANDRA-18373 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18373 > Project: Cassandra > Issue Type: Improvement > Components: Local/Startup and Shutdown >Reporter: Yuriy Semchyshyn >Assignee: Yuriy Semchyshyn >Priority: Normal > Time Spent: 1h 20m > Remaining Estimate: 0h > > SS tables imports that will end up being ignored due to the node draining > should fail instead of succeeding. > Each active SS tables import should periodically check for the node status > and see whether or not it is `DRAINING`. > In case the node starts draining the import should abort immediately by > throwing an `InterruptedException`. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18373) Node Draining Should Abort All Current SSTables Imports
[ https://issues.apache.org/jira/browse/CASSANDRA-18373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yifan Cai updated CASSANDRA-18373: -- Status: Review In Progress (was: Needs Committer) > Node Draining Should Abort All Current SSTables Imports > --- > > Key: CASSANDRA-18373 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18373 > Project: Cassandra > Issue Type: Improvement > Components: Local/Startup and Shutdown >Reporter: Yuriy Semchyshyn >Assignee: Yuriy Semchyshyn >Priority: Normal > Time Spent: 1h 20m > Remaining Estimate: 0h > > SS tables imports that will end up being ignored due to the node draining > should fail instead of succeeding. > Each active SS tables import should periodically check for the node status > and see whether or not it is `DRAINING`. > In case the node starts draining the import should abort immediately by > throwing an `InterruptedException`. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18423) Test failure: org.apache.cassandra.io.sstable.indexsummary.IndexSummaryTest.testLargeIndexSummary
[ https://issues.apache.org/jira/browse/CASSANDRA-18423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17709724#comment-17709724 ] Ekaterina Dimitrova commented on CASSANDRA-18423: - Thanks for raising the ticket, I just linked it in Butler for reference > Test failure: > org.apache.cassandra.io.sstable.indexsummary.IndexSummaryTest.testLargeIndexSummary > - > > Key: CASSANDRA-18423 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18423 > Project: Cassandra > Issue Type: Bug > Components: Feature/2i Index >Reporter: Brandon Williams >Assignee: Brandon Williams >Priority: Normal > Fix For: 5.x > > > Failed 6 times in the last 6 runs. Flakiness: 0%, Stability: 0% > {noformat} > unit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please > note the time in the report does not reflect the time until the VM exit. > at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.util.Vector.forEach(Vector.java:1394) > at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.util.Vector.forEach(Vector.java:1394) > {noformat} > Note that only the 'default' version of this test is failing: > https://butler.cassandra.apache.org/#/ci/upstream/workflow/Cassandra-trunk/failure/org.apache.cassandra.io.sstable.indexsummary/IndexSummaryTest/testLargeIndexSummary -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-17869) Add JDK17 option to cassandra-builds (build-scripts and jenkins dsl) and on jenkins agents
[ https://issues.apache.org/jira/browse/CASSANDRA-17869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17709712#comment-17709712 ] Ekaterina Dimitrova commented on CASSANDRA-17869: - Took a quick look at the few commits from the past few days. Looking good, left just a few questions on the commits primarily for my understanding. I will check now the CI runs you posted > Add JDK17 option to cassandra-builds (build-scripts and jenkins dsl) and on > jenkins agents > -- > > Key: CASSANDRA-17869 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17869 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Michael Semb Wever >Assignee: Michael Semb Wever >Priority: Normal > Fix For: 5.x > > Time Spent: 2.5h > Remaining Estimate: 0h > > Add JDK17 option to cassandra-builds build-scripts, they only currently > support options {{8}} and {{11}}. > Add JDK17 to the matrix axes in the jenkins dsl. > Ensure JDK17 is installed on all the jenkins agents. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-17869) Add JDK17 option to cassandra-builds (build-scripts and jenkins dsl) and on jenkins agents
[ https://issues.apache.org/jira/browse/CASSANDRA-17869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17709700#comment-17709700 ] Ekaterina Dimitrova commented on CASSANDRA-17869: - I will take a look, thanks, I need to remember the details as time passed and a bunch of stuff happened in the meantime... Immediate question on my end though: {quote}I think the main question is do we want to commit this now with a toggle that will switch later when we switch trunk from J8+J11 to J11+J17, or just have it ready for when the time comes. I leave It up to you Mick to decide. If we commit it now we will need to test all branches. If we leave it for later, that also seems ok to me because I do not expect cassandra-builds to get many change in the meantime. {quote} What's the plan? In your runs we see currently 8+11+17. Were all three triggered just to check everything works with all JDK versions but we will have in Cassandra a toggle and switch from 8+11 to 11+17 runs when we are done with everything else required from CASSANDRA-16895? > Add JDK17 option to cassandra-builds (build-scripts and jenkins dsl) and on > jenkins agents > -- > > Key: CASSANDRA-17869 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17869 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Michael Semb Wever >Assignee: Michael Semb Wever >Priority: Normal > Fix For: 5.x > > Time Spent: 2.5h > Remaining Estimate: 0h > > Add JDK17 option to cassandra-builds build-scripts, they only currently > support options {{8}} and {{11}}. > Add JDK17 to the matrix axes in the jenkins dsl. > Ensure JDK17 is installed on all the jenkins agents. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18435) Provide checkstyle in ant scripts on all branches; improve documentation on recommended JDK env for dev
[ https://issues.apache.org/jira/browse/CASSANDRA-18435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17709698#comment-17709698 ] Brandon Williams commented on CASSANDRA-18435: -- Note that for 1) the patch on CASSANDRA-18423 does this. > Provide checkstyle in ant scripts on all branches; improve documentation on > recommended JDK env for dev > --- > > Key: CASSANDRA-18435 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18435 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Josh McKenzie >Priority: Normal > > See CASSANDRA-18262 comment thread for discussion leading up to this > # We should checkstyle only on the lowest supported JDK for our builds in CI > # Having checkstyle be part of the local {{ant jar}} target for all supported > JDKs would be nice ergonomics for folks who are working with another > supported JDK version so they don't get surprised in CI > # We should tighten up our docs in terms of recommendations on which JDK to > build/run with locally and help smooth out that process for folks -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-18180) bulkLoaderSuccessfullyStreamsOverSsl fails with ClassCastException on JDK17
[ https://issues.apache.org/jira/browse/CASSANDRA-18180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ekaterina Dimitrova updated CASSANDRA-18180: Description: While working on CASSANDRA-17992 we hit: {code:java} java.lang.ClassCastException: class org.apache.cassandra.utils.memory.BufferPool$Chunk cannot be cast to class sun.nio.ch.DirectBuffer (org.apache.cassandra.utils.memory.BufferPool$Chunk is in unnamed module of loader 'app'; sun.nio.ch.DirectBuffer is in module java.base of loader 'bootstrap')\n\tat java.base/com.sun.crypto.provider.GaloisCounterMode$GCMEngine.overlapDetection(GaloisCounterMode.java:865)\n\tat java.base/com.sun.crypto.provider.GaloisCounterMode$GCMDecrypt.doFinal(GaloisCounterMode.java:1502)\n\tat java.base/com.sun.crypto.provider.GaloisCounterMode.engineDoFinal(GaloisCounterMode.java:447)\n\tat {code} -The issue is exposed with JDK 17, trunk; if interested, ping- [~e.dimitrova] -for current branch as there is no feature branch at the moment- we can build and start from trunk with JDK17 already. Circle CI can be run for JDK17 too. For more information how to do that - .circleci/readme.md CC [~benedict] was: While working on CASSANDRA-17992 we hit: {code:java} java.lang.ClassCastException: class org.apache.cassandra.utils.memory.BufferPool$Chunk cannot be cast to class sun.nio.ch.DirectBuffer (org.apache.cassandra.utils.memory.BufferPool$Chunk is in unnamed module of loader 'app'; sun.nio.ch.DirectBuffer is in module java.base of loader 'bootstrap')\n\tat java.base/com.sun.crypto.provider.GaloisCounterMode$GCMEngine.overlapDetection(GaloisCounterMode.java:865)\n\tat java.base/com.sun.crypto.provider.GaloisCounterMode$GCMDecrypt.doFinal(GaloisCounterMode.java:1502)\n\tat java.base/com.sun.crypto.provider.GaloisCounterMode.engineDoFinal(GaloisCounterMode.java:447)\n\tat {code} The issue is exposed with JDK 17, trunk; if interested, ping [~e.dimitrova] for current branch as there is no feature branch at the moment CC [~benedict] > bulkLoaderSuccessfullyStreamsOverSsl fails with ClassCastException on JDK17 > --- > > Key: CASSANDRA-18180 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18180 > Project: Cassandra > Issue Type: Bug > Components: CI >Reporter: Ekaterina Dimitrova >Assignee: dan jatnieks >Priority: Normal > > While working on CASSANDRA-17992 we hit: > {code:java} > java.lang.ClassCastException: class > org.apache.cassandra.utils.memory.BufferPool$Chunk cannot be cast to class > sun.nio.ch.DirectBuffer (org.apache.cassandra.utils.memory.BufferPool$Chunk > is in unnamed module of loader 'app'; sun.nio.ch.DirectBuffer is in module > java.base of loader 'bootstrap')\n\tat > java.base/com.sun.crypto.provider.GaloisCounterMode$GCMEngine.overlapDetection(GaloisCounterMode.java:865)\n\tat > > java.base/com.sun.crypto.provider.GaloisCounterMode$GCMDecrypt.doFinal(GaloisCounterMode.java:1502)\n\tat > > java.base/com.sun.crypto.provider.GaloisCounterMode.engineDoFinal(GaloisCounterMode.java:447)\n\tat > > {code} > -The issue is exposed with JDK 17, trunk; if interested, ping- [~e.dimitrova] > -for current branch as there is no feature branch at the moment- we can > build and start from trunk with JDK17 already. Circle CI can be run for JDK17 > too. For more information how to do that - .circleci/readme.md > CC [~benedict] -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-18262) Switch checkstyle running only with JDK8 to be run with JDK11
[ https://issues.apache.org/jira/browse/CASSANDRA-18262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17709688#comment-17709688 ] Josh McKenzie commented on CASSANDRA-18262: --- Created CASSANDRA-18435 to track the things that came up. > Switch checkstyle running only with JDK8 to be run with JDK11 > - > > Key: CASSANDRA-18262 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18262 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Ekaterina Dimitrova >Assignee: Maxim Muzafarov >Priority: Normal > Fix For: 5.0 > > Time Spent: 10m > Remaining Estimate: 0h > > Currently we run checkstyle, eclipse warnings (and probably anything else?) > only with JDK8. > In preparation to remove JDK8 we need to switch those to run with JDK11. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Created] (CASSANDRA-18435) Provide checkstyle in ant scripts on all branches; improve documentation on recommended JDK env for dev
Josh McKenzie created CASSANDRA-18435: - Summary: Provide checkstyle in ant scripts on all branches; improve documentation on recommended JDK env for dev Key: CASSANDRA-18435 URL: https://issues.apache.org/jira/browse/CASSANDRA-18435 Project: Cassandra Issue Type: Task Components: Build Reporter: Josh McKenzie See CASSANDRA-18262 comment thread for discussion leading up to this # We should checkstyle only on the lowest supported JDK for our builds in CI # Having checkstyle be part of the local {{ant jar}} target for all supported JDKs would be nice ergonomics for folks who are working with another supported JDK version so they don't get surprised in CI # We should tighten up our docs in terms of recommendations on which JDK to build/run with locally and help smooth out that process for folks -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Comment Edited] (CASSANDRA-17869) Add JDK17 option to cassandra-builds (build-scripts and jenkins dsl) and on jenkins agents
[ https://issues.apache.org/jira/browse/CASSANDRA-17869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17708899#comment-17708899 ] Michael Semb Wever edited comment on CASSANDRA-17869 at 4/7/23 10:21 AM: - CI - artifacts: http://13.50.248.249:8080/job/Cassandra-trunk-artifacts/21/ - cqlsh-tests: http://13.50.248.249:8080/job/Cassandra-trunk-cqlsh-tests/11/ - unit: http://13.50.248.249:8080/job/Cassandra-trunk-test/4/ - jvm-dtest: http://13.50.248.249:8080/job/Cassandra-trunk-jvm-dtest/5/ - jvm-dtest-upgrade: http://13.50.248.249:8080/job/Cassandra-trunk-jvm-dtest-upgrade/3/ - dtest: http://13.50.248.249:8080/job/Cassandra-trunk-dtest/14/ - dtest-upgrade: http://13.50.248.249:8080/job/Cassandra-trunk-dtest-upgrade/3/ Failures are similar to CircleCI: https://app.circleci.com/pipelines/github/michaelsembwever/cassandra?branch=mck%2Ftrunk was (Author: michaelsembwever): CI - artifacts: http://13.50.248.249:8080/job/Cassandra-trunk-artifacts/21/ - cqlsh-tests: http://13.50.248.249:8080/job/Cassandra-trunk-cqlsh-tests/11/ - unit: http://13.50.248.249:8080/job/Cassandra-trunk-test/4/ - jvm-dtest: http://13.50.248.249:8080/job/Cassandra-trunk-jvm-dtest/5/ - jvm-dtest-upgrade: http://13.50.248.249:8080/job/Cassandra-trunk-jvm-dtest-upgrade/3/ - dtest: http://13.50.248.249:8080/job/Cassandra-trunk-dtest/10/ - dtest-upgrade: http://13.50.248.249:8080/job/Cassandra-trunk-dtest-upgrade/1/ Failures are similar to CircleCI: https://app.circleci.com/pipelines/github/michaelsembwever/cassandra?branch=mck%2Ftrunk > Add JDK17 option to cassandra-builds (build-scripts and jenkins dsl) and on > jenkins agents > -- > > Key: CASSANDRA-17869 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17869 > Project: Cassandra > Issue Type: Task > Components: Build >Reporter: Michael Semb Wever >Assignee: Michael Semb Wever >Priority: Normal > Fix For: 5.x > > Time Spent: 2.5h > Remaining Estimate: 0h > > Add JDK17 option to cassandra-builds build-scripts, they only currently > support options {{8}} and {{11}}. > Add JDK17 to the matrix axes in the jenkins dsl. > Ensure JDK17 is installed on all the jenkins agents. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[cassandra-website] branch asf-staging updated (4d5a1ee1d -> 11c16371f)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-staging in repository https://gitbox.apache.org/repos/asf/cassandra-website.git discard 4d5a1ee1d generate docs for 8612e581 new 11c16371f generate docs for 8612e581 This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (4d5a1ee1d) \ N -- N -- N refs/heads/asf-staging (11c16371f) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: content/search-index.js | 2 +- site-ui/build/ui-bundle.zip | Bin 4796442 -> 4796442 bytes 2 files changed, 1 insertion(+), 1 deletion(-) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org