[jira] [Updated] (CASSANDRA-19405) (Accord) AsyncChain.flatMap does not begin the result of the flatMap, which causes AsyncLoader to hang in some cases

2024-02-19 Thread David Capwell (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Capwell updated CASSANDRA-19405:
--
  Fix Version/s: NA
 (was: 5.x)
  Since Version: NA
Source Control Link: 
https://github.com/apache/cassandra-accord/commit/b37c43e5148228b309166d71080b5125faae85cc
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

> (Accord) AsyncChain.flatMap does not begin the result of the flatMap, which 
> causes AsyncLoader to hang in some cases
> 
>
> Key: CASSANDRA-19405
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19405
> Project: Cassandra
>  Issue Type: Bug
>  Components: Accord
>Reporter: David Capwell
>Assignee: David Capwell
>Priority: Normal
> Fix For: NA
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> While a Node is in the Saving state, but linked, we can call 
> org.apache.cassandra.service.accord.AccordStateCache#maybeEvictSomeNodes 
> which will promote the value to Loaded.  Now that the node is Loaded we are 
> allowed to evict it!



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



[jira] [Updated] (CASSANDRA-19405) (Accord) AsyncChain.flatMap does not begin the result of the flatMap, which causes AsyncLoader to hang in some cases

2024-02-19 Thread David Capwell (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Capwell updated CASSANDRA-19405:
--
Status: Ready to Commit  (was: Review In Progress)

+1 on accord from [~benedict] in GH

> (Accord) AsyncChain.flatMap does not begin the result of the flatMap, which 
> causes AsyncLoader to hang in some cases
> 
>
> Key: CASSANDRA-19405
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19405
> Project: Cassandra
>  Issue Type: Bug
>  Components: Accord
>Reporter: David Capwell
>Assignee: David Capwell
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> While a Node is in the Saving state, but linked, we can call 
> org.apache.cassandra.service.accord.AccordStateCache#maybeEvictSomeNodes 
> which will promote the value to Loaded.  Now that the node is Loaded we are 
> allowed to evict it!



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



[jira] [Updated] (CASSANDRA-19405) (Accord) AsyncChain.flatMap does not begin the result of the flatMap, which causes AsyncLoader to hang in some cases

2024-02-19 Thread David Capwell (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Capwell updated CASSANDRA-19405:
--
Reviewers: Benedict Elliott Smith, David Capwell
   Status: Review In Progress  (was: Patch Available)

> (Accord) AsyncChain.flatMap does not begin the result of the flatMap, which 
> causes AsyncLoader to hang in some cases
> 
>
> Key: CASSANDRA-19405
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19405
> Project: Cassandra
>  Issue Type: Bug
>  Components: Accord
>Reporter: David Capwell
>Assignee: David Capwell
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> While a Node is in the Saving state, but linked, we can call 
> org.apache.cassandra.service.accord.AccordStateCache#maybeEvictSomeNodes 
> which will promote the value to Loaded.  Now that the node is Loaded we are 
> allowed to evict it!



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



[jira] [Updated] (CASSANDRA-19405) (Accord) AsyncChain.flatMap does not begin the result of the flatMap, which causes AsyncLoader to hang in some cases

2024-02-19 Thread David Capwell (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-19405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Capwell updated CASSANDRA-19405:
--
Test and Documentation Plan: existing tests  (was: new tests)
 Status: Patch Available  (was: Open)

> (Accord) AsyncChain.flatMap does not begin the result of the flatMap, which 
> causes AsyncLoader to hang in some cases
> 
>
> Key: CASSANDRA-19405
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19405
> Project: Cassandra
>  Issue Type: Bug
>  Components: Accord
>Reporter: David Capwell
>Assignee: David Capwell
>Priority: Normal
> Fix For: 5.x
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> While a Node is in the Saving state, but linked, we can call 
> org.apache.cassandra.service.accord.AccordStateCache#maybeEvictSomeNodes 
> which will promote the value to Loaded.  Now that the node is Loaded we are 
> allowed to evict it!



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