[
https://issues.apache.org/jira/browse/CASSANDRA-17298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17880201#comment-17880201
]
Stefan Miklosovic commented on CASSANDRA-17298:
-----------------------------------------------
That helped. Would you mind to apply same stuff to 4.1?
[CASSANDRA-17298-4.0|https://github.com/instaclustr/cassandra/tree/CASSANDRA-17298-4.0]
{noformat}
java11_pre-commit_tests
✓ j11_build 1m 58s
✓ j11_cqlsh-dtests-py2-no-vnodes 5m 26s
✓ j11_cqlsh-dtests-py2-with-vnodes 5m 32s
✓ j11_cqlsh_dtests_py3 5m 19s
✓ j11_cqlsh_dtests_py311 5m 44s
✓ j11_cqlsh_dtests_py311_vnode 5m 49s
✓ j11_cqlsh_dtests_py38 5m 39s
✓ j11_cqlsh_dtests_py38_vnode 5m 41s
✓ j11_cqlsh_dtests_py3_vnode 5m 47s
✓ j11_cqlshlib_tests 8m 6s
✓ j11_dtests 32m 32s
✓ j11_dtests_vnode 34m 50s
✓ j11_jvm_dtests 9m 41s
✓ j11_unit_tests 6m 47s
✓ j11_unit_tests_repeat 24m 46s
{noformat}
[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4677/workflows/d24a8452-d3a1-4878-a5b5-b22d56e73a1f]
> Test Failure: org.apache.cassandra.cql3.MemtableSizeTest
> --------------------------------------------------------
>
> Key: CASSANDRA-17298
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17298
> Project: Cassandra
> Issue Type: Bug
> Components: Test/unit
> Reporter: Josh McKenzie
> Assignee: Dmitry Konstantinov
> Priority: Normal
> Fix For: 4.0.x, 4.1.x
>
> Attachments: analyzed_objects.svg, structure_example.svg
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> [https://ci-cassandra.apache.org/job/Cassandra-4.0/313/testReport/org.apache.cassandra.cql3/MemtableSizeTest/testTruncationReleasesLogSpace_2/]
> Failed 4 times in the last 30 runs. Flakiness: 27%, Stability: 86%
> Error Message
> Expected heap usage close to 49.930MiB, got 41.542MiB.
> {code}
> Stacktrace
> junit.framework.AssertionFailedError: Expected heap usage close to 49.930MiB,
> got 41.542MiB.
> at
> org.apache.cassandra.cql3.MemtableSizeTest.testSize(MemtableSizeTest.java:130)
> at org.apache.cassandra.Util.runCatchingAssertionError(Util.java:644)
> at org.apache.cassandra.Util.flakyTest(Util.java:669)
> at
> org.apache.cassandra.cql3.MemtableSizeTest.testTruncationReleasesLogSpace(MemtableSizeTest.java:61)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {code}
> *UPDATE:* It was discovered that unit tests were running with
> memtable_allocation_type: offheap_objects when we ship C* with heap_buffers.
> So we changed that in CASSANDRA-19326, now we test with
> memtable_allocation_type: heap_buffers. As a result, this test now fails all
> the time on 4.0 and 4.1.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]