[ 
https://issues.apache.org/jira/browse/CASSANDRA-19471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17829250#comment-17829250
 ] 

Ekaterina Dimitrova edited comment on CASSANDRA-19471 at 3/20/24 5:15 PM:
--------------------------------------------------------------------------

{quote}it looks like the 'latest repeat' is now gone and I don't see a way to 
trigger it in generate.sh
{quote}
It replaces the offheap which never had a dedicated environment variable 
either. We use the REPEATED_DTESTS one for generating repeated jobs for vnode, 
no_vnode, latest(former offheap), etc. 
{code:java}
.circleci/generate.sh -ps -e 
REPEATED_DTESTS=configuration_test.py::TestConfiguration::test_change_durable_writes{code}
 


was (Author: e.dimitrova):
{quote}it looks like the 'latest repeat' is now gone and I don't see a way to 
trigger it in generate.sh
{quote}
It replaces the offheap which never had a dedicated environment variable 
either. We use the REPEATED_DTESTS one for vnode, no_vnode, latest(former 
offheap), etc. 
{code:java}
.circleci/generate.sh -ps -e 
REPEATED_DTESTS=configuration_test.py::TestConfiguration::test_change_durable_writes{code}

> Commitlog with direct io fails test_change_durable_writes
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-19471
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19471
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local/Commit Log
>            Reporter: Brandon Williams
>            Priority: Normal
>             Fix For: 5.0-rc, 5.x
>
>
> With the commitlog_disk_access_mode set to direct, and the improved 
> configuration_test.py::TestConfiguration::test_change_durable_writes from 
> CASSANDRA-19465, this fails with either:
> {noformat}
>  AssertionError: Commitlog was written with durable writes disabled
> {noformat}
> Or what appears to be the original exception reported in CASSANDRA-19465:
> {noformat}
>   node1: ERROR [PERIODIC-COMMIT-LOG-SYNCER] 2024-03-14 17:16:08,465 
> StorageService.java:631 - Stopping native transport
>   node1: ERROR [MutationStage-5] 2024-03-14 17:16:08,465 
> StorageProxy.java:1670 - Failed to apply mutation locally :
>   java.lang.IllegalArgumentException: newPosition > limit: (1048634 > 1048576)
>         at java.base/java.nio.Buffer.createPositionException(Buffer.java:341)
>         at java.base/java.nio.Buffer.position(Buffer.java:316)
>         at java.base/java.nio.ByteBuffer.position(ByteBuffer.java:1516)
>         at 
> java.base/java.nio.MappedByteBuffer.position(MappedByteBuffer.java:321)
>         at 
> java.base/java.nio.MappedByteBuffer.position(MappedByteBuffer.java:73)
>         at 
> org.apache.cassandra.db.commitlog.CommitLogSegment.allocate(CommitLogSegment.java:216)
>         at 
> org.apache.cassandra.db.commitlog.CommitLogSegmentManagerStandard.allocate(CommitLogSegmentManagerStandard.java:52)
>         at org.apache.cassandra.db.commitlog.CommitLog.add(CommitLog.java:307)
>         at 
> org.apache.cassandra.db.CassandraKeyspaceWriteHandler.addToCommitLog(CassandraKeyspaceWriteHandler.java:99)
>         at 
> org.apache.cassandra.db.CassandraKeyspaceWriteHandler.beginWrite(CassandraKeyspaceWriteHandler.java:53)
>         at org.apache.cassandra.db.Keyspace.applyInternal(Keyspace.java:612)
>         at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:497)
>         at org.apache.cassandra.db.Mutation.apply(Mutation.java:244)
>         at org.apache.cassandra.db.Mutation.apply(Mutation.java:264)
>         at 
> org.apache.cassandra.service.StorageProxy$4.runMayThrow(StorageProxy.java:1664)
>         at 
> org.apache.cassandra.service.StorageProxy$LocalMutationRunnable.run(StorageProxy.java:2624)
>         at 
> org.apache.cassandra.concurrent.ExecutionFailure$2.run(ExecutionFailure.java:163)
>         at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)
>         at 
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
>         at java.base/java.lang.Thread.run(Thread.java:833)
>   node1: ERROR [PERIODIC-COMMIT-LOG-SYNCER] 2024-03-14 17:16:08,470 
> StorageService.java:636 - Stopping gossiper
> {noformat}



--
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

Reply via email to