[
https://issues.apache.org/jira/browse/CASSANDRA-17439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17507169#comment-17507169
]
Josh McKenzie commented on CASSANDRA-17439:
-------------------------------------------
3 failures new to the run for this ticket; none of them look related just
glancing at the name.
[CI Results]
Branch: trunk, build number: 1011
butler url:
[https://butler.cassandra.apache.org/#/ci/upstream/compare/Cassandra-trunk/trunk]
jenkins url: [https://ci-cassandra.apache.org/job/Cassandra-trunk/1011/]
JIRA: CASSANDRA-17439
commit url:
[https://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=commit;h=0bbcc07b437e0ac117e03760841a45e670cec8ff]
affected paths:
* src/java/org/apache/cassandra/io/util/PathUtils.java
* test/unit/org/apache/cassandra/io/util/FileTest.java
Build Result: UNSTABLE
Passing Tests: 44049
Failing Tests: 18
||Test|Failures|JIRA|
|org.apache.cassandra.tools.TopPartitionsTest.testServiceTopPartitionsSingleTable-compression|2
of 63|[No JIRA
found|https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=496&quickFilter=2252]|
|org.apache.cassandra.cql3.ViewComplexTTLTest.terminated successfully|1 of
63|[No JIRA
found|https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=496&quickFilter=2252]|
|junit.framework.TestSuite.org.apache.cassandra.distributed.test.CASMultiDCTest|3
of 63|[Multiple JIRAs
found|https://issues.apache.org/jira/issues/?jql=project%20%3D%20CASSANDRA%20and%20resolution%20%3D%20unresolved%20and%20summary%20~%20%22*test*%22]|
|org.apache.cassandra.db.commitlog.CommitLogSegmentManagerCDCTest.testCDCIndexFileWriteOnSync|3
of 63|CASSANDRA-17416?|
|org.apache.cassandra.distributed.test.trackwarnings.TombstoneCountWarningTest.failThresholdSinglePartition|4
of 63|CASSANDRA-17244?|
|dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_3_11_X.test_rolling_upgrade_with_internode_ssl|28
of 63|CASSANDRA-17305?|
|dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_RandomPartitioner_EndsAt_3_11_X_HEAD.test_rolling_upgrade_with_internode_ssl|28
of 63|CASSANDRA-17305?|
|org.apache.cassandra.db.commitlog.GroupCommitLogTest.testOutOfOrderLogDiscardWithCompaction[3]|1
of 63|CASSANDRA-17232?|
|dtest.write_failures_test.TestMultiDCWriteFailures.test_oversized_mutation|9
of 63|[No JIRA
found|https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=496&quickFilter=2252]|
|org.apache.cassandra.distributed.test.CasCriticalSectionTest.criticalSectionTest|9
of 63|[No JIRA
found|https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=496&quickFilter=2252]|
|dtest-offheap.write_failures_test.TestMultiDCWriteFailures.test_oversized_mutation|9
of 63|[No JIRA
found|https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=496&quickFilter=2252]|
|org.apache.cassandra.distributed.test.CASTest.testConflictingWritesWithStaleRingInformation|2
of 63|[No JIRA
found|https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=496&quickFilter=2252]|
|dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_RandomPartitioner_EndsAt_3_11_X_HEAD.test_rolling_upgrade|29
of 63|CASSANDRA-17305?|
|dtest-upgrade.upgrade_tests.upgrade_through_versions_test.TestProtoV3Upgrade_AllVersions_EndsAt_3_11_X.test_rolling_upgrade|29
of 63|CASSANDRA-17305?|
|org.apache.cassandra.cql3.validation.entities.TupleTypeTest.tupleCkReadWriteDesc|2
of 63|[No JIRA
found|https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=496&quickFilter=2252]|
|org.apache.cassandra.cql3.KeywordTest.test[keyword INPUT isReserved false]|1
of 63|[No JIRA
found|https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=496&quickFilter=2252]|
|dtest-novnode.write_failures_test.TestMultiDCWriteFailures.test_oversized_mutation|9
of 63|[No JIRA
found|https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=496&quickFilter=2252]|
> Missing TRUNCATE_EXISTING in write options
> ------------------------------------------
>
> Key: CASSANDRA-17439
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17439
> Project: Cassandra
> Issue Type: Bug
> Components: Legacy/Local Write-Read Paths
> Reporter: Jacek Lewandowski
> Assignee: Jacek Lewandowski
> Priority: Normal
> Fix For: 4.1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> `PathUtils.WRITE_OPTIONS` is meant to be used for overwriting files. However,
> without TRUNCATE_EXISTING option, it may overwrite only the beginning of the
> file if the new content is smaller than previous, which in turn may lead to
> unexpected file size and fail some tests unexpectedly.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]