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

Stefan Miklosovic commented on CASSANDRA-21290:
-----------------------------------------------

[CASSANDRA-21290-4.1|https://github.com/instaclustr/cassandra/tree/CASSANDRA-21290-4.1]
{noformat}
java11_pre-commit_tests                         
java11_separate_tests                            
java8_pre-commit_tests                          
  ✓ j8_build                                          5m 3s
  ✓ j8_cqlsh_dtests_py3                              6m 21s
  ✓ j8_cqlsh_dtests_py38                             6m 39s
  ✓ j8_cqlsh_dtests_py38_vnode                       8m 25s
  ✓ j8_cqlshlib_cython_tests                        11m 53s
  ✓ j8_cqlshlib_tests                                12m 9s
  ✓ j8_dtests_vnode                                 45m 25s
  ✓ j8_jvm_dtests                                   17m 23s
  ✓ j8_jvm_dtests_vnode                             13m 20s
  ✓ j8_simulator_dtests                               2m 4s
  ✓ j8_unit_tests                                    8m 49s
  ✓ j8_unit_tests_repeat                             8m 43s
  ✓ j8_utests_system_keyspace_directory_repeat       8m 43s
  ✓ j11_unit_tests_repeat                            7m 48s
  ✓ j11_unit_tests                                   9m 13s
  ✓ j11_jvm_dtests_vnode                             15m 1s
  ✓ j11_jvm_dtests                                   16m 8s
  ✓ j11_dtests_vnode                                45m 40s
  ✓ j11_cqlshlib_tests                               8m 33s
  ✓ j11_cqlshlib_cython_tests                       12m 38s
  ✓ j11_cqlsh_dtests_py3_vnode                       6m 49s
  ✓ j11_cqlsh_dtests_py38_vnode                      6m 39s
  ✓ j11_cqlsh_dtests_py38                            6m 32s
  ✓ j11_cqlsh_dtests_py311_vnode                     6m 43s
  ✓ j11_cqlsh_dtests_py311                           6m 23s
  ✓ j11_cqlsh_dtests_py3                              6m 9s
  ✕ j8_cqlsh_dtests_py311                            1m 11s
  ✕ j8_cqlsh_dtests_py311_vnode                      1m 51s
  ✕ j8_cqlsh_dtests_py3_vnode                        7m 53s
      cqlsh_tests.test_cqlsh_copy.TestCqlshCopy 
test_bulk_round_trip_with_backoff
  ✕ j8_dtests                                      1h 0m 4s
  ✕ j8_utests_system_keyspace_directory             10m 39s
      org.apache.cassandra.auth.CassandraRoleManagerTest 
testPasswordUpdateRateLimitingPerRole
      org.apache.cassandra.config.DatabaseDescriptorTest 
testRepairSessionMemorySizeToggles
  ✕ j11_dtests                                       57m 7s
      refresh_test.TestRefresh test_refresh_deadlock_startup
java8_separate_tests                             
{noformat}

[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6344/workflows/9b23d27e-2d52-4ce4-ab15-1729aa90ff6f]
[java11_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6344/workflows/ff691e31-d422-453e-881c-77b34076a69b]
[java8_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6344/workflows/33a6d461-a9ff-4241-a40b-aa5ba5236e39]
[java8_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6344/workflows/2284b7e6-ae56-4fd3-afe3-ad35e9dfac79]


> Implement atomic heartbeat file write
> -------------------------------------
>
>                 Key: CASSANDRA-21290
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21290
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Legacy/Core
>            Reporter: John Lu
>            Assignee: John Lu
>            Priority: Normal
>             Fix For: 4.1.x, 5.0.x, 6.x
>
>
> It is possible for an empty heartbeat file to be written, potentially due to 
> crash between file creation and the actual write. We can instead write to a 
> temporary heartbeat file and then do an atomic move to rename it to the 
> actual heartbeat file.
>  
> Also fall back to the last modified time of the heartbeat file in case the 
> file is not able to be parsed (it wont be able to be parsed if its empty)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to