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

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

[CASSANDRA-19495-4.1|https://github.com/instaclustr/cassandra/tree/CASSANDRA-19495-4.1]
{noformat}
java11_pre-commit_tests                         
  ✓ j11_build                                        1m 45s
  ✓ j11_cqlsh_dtests_py3                             5m 31s
  ✓ j11_cqlsh_dtests_py311                           6m 18s
  ✓ j11_cqlsh_dtests_py311_vnode                     6m 14s
  ✓ j11_cqlsh_dtests_py38                            5m 50s
  ✓ j11_cqlsh_dtests_py38_vnode                      5m 58s
  ✓ j11_cqlsh_dtests_py3_vnode                       5m 35s
  ✓ j11_cqlshlib_cython_tests                        7m 34s
  ✓ j11_cqlshlib_tests                               8m 35s
  ✓ j11_dtests                                      33m 30s
  ✓ j11_dtests_vnode                                36m 31s
  ✓ j11_jvm_dtests                                  17m 43s
  ✓ j11_jvm_dtests_repeat                           35m 54s
  ✓ j11_jvm_dtests_vnode                            11m 57s
  ✓ j11_jvm_dtests_vnode_repeat                     35m 40s
  ✕ j11_unit_tests                                    8m 3s
      org.apache.cassandra.cql3.MemtableSizeTest testSize[skiplist]
java11_separate_tests                            
java8_pre-commit_tests                          
  ✓ j8_build                                         7m 13s
  ✓ j8_cqlsh_dtests_py3                              6m 10s
  ✓ j8_cqlsh_dtests_py311                            7m 43s
  ✓ j8_cqlsh_dtests_py311_vnode                      9m 56s
  ✓ j8_cqlsh_dtests_py38                             8m 16s
  ✓ j8_cqlsh_dtests_py38_vnode                       6m 38s
  ✓ j8_cqlsh_dtests_py3_vnode                        8m 52s
  ✓ j8_cqlshlib_cython_tests                        12m 26s
  ✓ j8_cqlshlib_tests                               12m 25s
  ✓ j8_dtests                                       34m 21s
  ✓ j8_dtests_vnode                                 37m 57s
  ✓ j8_jvm_dtests                                   18m 17s
  ✓ j8_jvm_dtests_repeat                            38m 45s
  ✓ j8_jvm_dtests_vnode                             12m 50s
  ✓ j8_jvm_dtests_vnode_repeat                      37m 28s
  ✓ j8_simulator_dtests                              5m 18s
  ✓ j11_jvm_dtests_vnode_repeat                      35m 8s
  ✓ j11_jvm_dtests_vnode                            11m 41s
  ✓ j11_jvm_dtests_repeat                           35m 23s
  ✓ j11_jvm_dtests                                  17m 38s
  ✓ j11_dtests_vnode                                 36m 3s
  ✓ j11_dtests                                       34m 1s
  ✓ j11_cqlshlib_tests                               8m 22s
  ✓ j11_cqlshlib_cython_tests                        6m 51s
  ✓ j11_cqlsh_dtests_py3_vnode                       5m 55s
  ✓ j11_cqlsh_dtests_py38_vnode                      6m 15s
  ✓ j11_cqlsh_dtests_py38                            6m 12s
  ✓ j11_cqlsh_dtests_py311_vnode                     5m 57s
  ✓ j11_cqlsh_dtests_py311                           5m 48s
  ✓ j11_cqlsh_dtests_py3                             5m 25s
  ✕ j8_unit_tests                                    9m 32s
      org.apache.cassandra.cql3.MemtableSizeTest testSize[skiplist]
  ✕ j8_utests_system_keyspace_directory             10m 16s
      org.apache.cassandra.cql3.MemtableSizeTest testSize[skiplist]
  ✕ j11_unit_tests                                   8m 37s
      org.apache.cassandra.cql3.MemtableSizeTest testSize[skiplist]
java8_separate_tests                             
{noformat}

[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4098/workflows/53289114-3af8-4a95-bbf2-03ec435d828d]
[java11_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4098/workflows/270b6da9-47a5-45a3-8cde-c00c175a2a7d]
[java8_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4098/workflows/d0852ed4-be80-4d24-a560-e9e7f57d93af]
[java8_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4098/workflows/9a14c4ef-2d6e-4c57-aa8e-fb00093416ad]


> 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