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

Stefan Miklosovic commented on CASSANDRA-19495:
-----------------------------------------------

[CASSANDRA-19495 
5.0|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19495]
{noformat}
java17_pre-commit_tests                         
  ✓ j17_build                                        4m 15s
  ✓ j17_cqlsh_dtests_py311                            6m 2s
  ✓ j17_cqlsh_dtests_py311_vnode                     6m 36s
  ✓ j17_cqlsh_dtests_py38                            5m 57s
  ✓ j17_cqlsh_dtests_py38_vnode                       6m 5s
  ✓ j17_cqlshlib_cython_tests                        7m 55s
  ✓ j17_cqlshlib_tests                               6m 35s
  ✓ j17_dtests                                      33m 31s
  ✓ j17_dtests_latest                               32m 42s
  ✓ j17_dtests_vnode                                34m 28s
  ✓ j17_jvm_dtests                                   19m 6s
  ✓ j17_jvm_dtests_latest_vnode                     15m 12s
  ✓ j17_jvm_dtests_latest_vnode_repeat              28m 55s
  ✓ j17_jvm_dtests_repeat                           28m 33s
  ✓ j17_unit_tests                                  15m 52s
  ✓ j17_utests_latest                               16m 15s
  ✓ j17_utests_oa                                   16m 20s
java17_separate_tests                            
java11_pre-commit_tests                         
  ✓ j11_build                                        6m 25s
  ✓ j11_cqlsh_dtests_py311                           10m 1s
  ✓ j11_cqlsh_dtests_py311_vnode                     7m 19s
  ✓ j11_cqlsh_dtests_py38                            6m 33s
  ✓ j11_cqlsh_dtests_py38_vnode                       8m 3s
  ✓ j11_cqlshlib_cython_tests                       11m 22s
  ✓ j11_cqlshlib_tests                               7m 56s
  ✓ j11_dtests                                      33m 47s
  ✓ j11_dtests_latest                               35m 46s
  ✓ j11_dtests_vnode                                39m 29s
  ✓ j11_jvm_dtests                                  21m 55s
  ✓ j11_jvm_dtests_latest_vnode                     13m 42s
  ✓ j11_jvm_dtests_latest_vnode_repeat              31m 53s
  ✓ j11_jvm_dtests_repeat                           31m 53s
  ✓ j11_simulator_dtests                              2m 8s
  ✓ j11_unit_tests                                  15m 42s
  ✓ j11_utests_latest                               17m 32s
  ✓ j11_utests_oa                                   16m 47s
  ✓ j11_utests_system_keyspace_directory            18m 50s
  ✓ j17_cqlsh_dtests_py311                           6m 16s
  ✓ j17_cqlsh_dtests_py311_vnode                     6m 30s
  ✓ j17_cqlsh_dtests_py38                            6m 33s
  ✓ j17_cqlsh_dtests_py38_vnode                      6m 21s
  ✓ j17_cqlshlib_cython_tests                        7m 44s
  ✓ j17_cqlshlib_tests                               6m 43s
  ✓ j17_dtests                                      31m 36s
  ✓ j17_dtests_latest                               33m 18s
  ✓ j17_dtests_vnode                                 33m 4s
  ✓ j17_jvm_dtests                                  18m 52s
  ✓ j17_jvm_dtests_latest_vnode                     14m 44s
  ✓ j17_jvm_dtests_latest_vnode_repeat              28m 34s
  ✓ j17_jvm_dtests_repeat                           28m 15s
  ✓ j17_utests_latest                                14m 8s
  ✓ j17_utests_oa                                   14m 37s
  ✕ j17_unit_tests                                  15m 35s
      org.apache.cassandra.net.ConnectionTest testTimeout
java11_separate_tests                            
{noformat}

[java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4097/workflows/93d0a79e-b3d2-42d9-aa30-0255a1dab960]
[java17_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4097/workflows/ec5296fd-7d3a-4bb1-8047-259db70e789a]
[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4097/workflows/dbc1290f-6694-42aa-9e1f-f8f93bd2b041]
[java11_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4097/workflows/4b774ce9-8e90-4fdd-a0d2-555a42685eed]


> Hints not stored after node goes down for the second time
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-19495
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19495
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Consistency/Hints
>            Reporter: Paul Chandler
>            Assignee: Stefan Miklosovic
>            Priority: Urgent
>             Fix For: 4.1.x, 5.0-rc, 5.x
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> I have a scenario where a node goes down, hints are recorded on the second 
> node and replayed, as expected. If the first node goes down for a second time 
> and time span between the first time it stopped and the second time it 
> stopped is more than the max_hint_window then the hint is not recorded, no 
> hint file is created, and the mutation never arrives at the node after it 
> comes up again.
> I have debugged this and it appears to due to the way hint window is 
> persisted after https://issues.apache.org/jira/browse/CASSANDRA-14309
> The code here: 
> [https://github.com/apache/cassandra/blame/cassandra-4.1/src/java/org/apache/cassandra/service/StorageProxy.java#L2402]
>  uses the time stored in the HintsBuffer.earliestHintByHost map.  This map is 
> based on the UUID of the host, but this does not seem to be cleared when the 
> node is back up, and I think this is what is causing the problem.
>  
> This is in cassandra 4.1.5



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