[jira] [Updated] (CASSANDRA-18373) Node Draining Should Abort All Current SSTables Imports

2023-04-07 Thread Yifan Cai (Jira)


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

Yifan Cai updated CASSANDRA-18373:
--
  Fix Version/s: 5.0
Source Control Link: 
https://github.com/apache/cassandra/commit/acd815898d1e5669e7d8ee2469808f6e8a14a7df
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

Committed into trunk as 
[acd815|https://github.com/apache/cassandra/commit/acd815898d1e5669e7d8ee2469808f6e8a14a7df]

> Node Draining Should Abort All Current SSTables Imports
> ---
>
> Key: CASSANDRA-18373
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18373
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/Startup and Shutdown
>Reporter: Yuriy Semchyshyn
>Assignee: Yuriy Semchyshyn
>Priority: Normal
> Fix For: 5.0
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> SS tables imports that will end up being ignored due to the node draining 
> should fail instead of succeeding.
> Each active SS tables import should periodically check for the node status 
> and see whether or not it is `DRAINING`.
> In case the node starts draining the import should abort immediately by 
> throwing an `InterruptedException`.



--
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-18373) Node Draining Should Abort All Current SSTables Imports

2023-04-07 Thread Yifan Cai (Jira)


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

Yifan Cai updated CASSANDRA-18373:
--
Status: Ready to Commit  (was: Review In Progress)

> Node Draining Should Abort All Current SSTables Imports
> ---
>
> Key: CASSANDRA-18373
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18373
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/Startup and Shutdown
>Reporter: Yuriy Semchyshyn
>Assignee: Yuriy Semchyshyn
>Priority: Normal
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> SS tables imports that will end up being ignored due to the node draining 
> should fail instead of succeeding.
> Each active SS tables import should periodically check for the node status 
> and see whether or not it is `DRAINING`.
> In case the node starts draining the import should abort immediately by 
> throwing an `InterruptedException`.



--
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-18373) Node Draining Should Abort All Current SSTables Imports

2023-04-07 Thread Yifan Cai (Jira)


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

Yifan Cai updated CASSANDRA-18373:
--
Status: Review In Progress  (was: Needs Committer)

> Node Draining Should Abort All Current SSTables Imports
> ---
>
> Key: CASSANDRA-18373
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18373
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/Startup and Shutdown
>Reporter: Yuriy Semchyshyn
>Assignee: Yuriy Semchyshyn
>Priority: Normal
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> SS tables imports that will end up being ignored due to the node draining 
> should fail instead of succeeding.
> Each active SS tables import should periodically check for the node status 
> and see whether or not it is `DRAINING`.
> In case the node starts draining the import should abort immediately by 
> throwing an `InterruptedException`.



--
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-18373) Node Draining Should Abort All Current SSTables Imports

2023-04-04 Thread Dinesh Joshi (Jira)


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

Dinesh Joshi updated CASSANDRA-18373:
-
Reviewers: Dinesh Joshi, Yifan Cai  (was: Yifan Cai)

> Node Draining Should Abort All Current SSTables Imports
> ---
>
> Key: CASSANDRA-18373
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18373
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/Startup and Shutdown
>Reporter: Yuriy Semchyshyn
>Assignee: Yuriy Semchyshyn
>Priority: Normal
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> SS tables imports that will end up being ignored due to the node draining 
> should fail instead of succeeding.
> Each active SS tables import should periodically check for the node status 
> and see whether or not it is `DRAINING`.
> In case the node starts draining the import should abort immediately by 
> throwing an `InterruptedException`.



--
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-18373) Node Draining Should Abort All Current SSTables Imports

2023-04-04 Thread Yuriy Semchyshyn (Jira)


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

Yuriy Semchyshyn updated CASSANDRA-18373:
-
Status: Needs Committer  (was: Patch Available)

> Node Draining Should Abort All Current SSTables Imports
> ---
>
> Key: CASSANDRA-18373
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18373
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/Startup and Shutdown
>Reporter: Yuriy Semchyshyn
>Assignee: Yuriy Semchyshyn
>Priority: Normal
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> SS tables imports that will end up being ignored due to the node draining 
> should fail instead of succeeding.
> Each active SS tables import should periodically check for the node status 
> and see whether or not it is `DRAINING`.
> In case the node starts draining the import should abort immediately by 
> throwing an `InterruptedException`.



--
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-18373) Node Draining Should Abort All Current SSTables Imports

2023-04-03 Thread Yuriy Semchyshyn (Jira)


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

Yuriy Semchyshyn updated CASSANDRA-18373:
-
Description: 
SS tables imports that will end up being ignored due to the node draining 
should fail instead of succeeding.
Each active SS tables import should periodically check for the node status and 
see whether or not it is `DRAINING`.
In case the node starts draining the import should abort immediately by 
throwing an `InterruptedException`.

  was:
SS tables imports that have no chance of succeeding due to the node being 
drained should fail fast.
In case there are any SS tables imports currently active, a draining node 
should notify all of them upon flushing its column family stores.
Each notified SS tables import should abort as soon as possible by throwing an 
`InterruptedException`.


> Node Draining Should Abort All Current SSTables Imports
> ---
>
> Key: CASSANDRA-18373
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18373
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/Startup and Shutdown
>Reporter: Yuriy Semchyshyn
>Assignee: Yuriy Semchyshyn
>Priority: Normal
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> SS tables imports that will end up being ignored due to the node draining 
> should fail instead of succeeding.
> Each active SS tables import should periodically check for the node status 
> and see whether or not it is `DRAINING`.
> In case the node starts draining the import should abort immediately by 
> throwing an `InterruptedException`.



--
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-18373) Node Draining Should Abort All Current SSTables Imports

2023-03-28 Thread Yuriy Semchyshyn (Jira)


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

Yuriy Semchyshyn updated CASSANDRA-18373:
-
Test and Documentation Plan: https://github.com/apache/cassandra/pull/2251
 Status: Patch Available  (was: Open)

> Node Draining Should Abort All Current SSTables Imports
> ---
>
> Key: CASSANDRA-18373
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18373
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/Startup and Shutdown
>Reporter: Yuriy Semchyshyn
>Assignee: Yuriy Semchyshyn
>Priority: Normal
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> SS tables imports that have no chance of succeeding due to the node being 
> drained should fail fast.
> In case there are any SS tables imports currently active, a draining node 
> should notify all of them upon flushing its column family stores.
> Each notified SS tables import should abort as soon as possible by throwing 
> an `InterruptedException`.



--
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-18373) Node Draining Should Abort All Current SSTables Imports

2023-03-28 Thread Yuriy Semchyshyn (Jira)


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

Yuriy Semchyshyn updated CASSANDRA-18373:
-
Change Category: Semantic
 Complexity: Low Hanging Fruit
 Status: Open  (was: Triage Needed)

> Node Draining Should Abort All Current SSTables Imports
> ---
>
> Key: CASSANDRA-18373
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18373
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/Startup and Shutdown
>Reporter: Yuriy Semchyshyn
>Assignee: Yuriy Semchyshyn
>Priority: Normal
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> SS tables imports that have no chance of succeeding due to the node being 
> drained should fail fast.
> In case there are any SS tables imports currently active, a draining node 
> should notify all of them upon flushing its column family stores.
> Each notified SS tables import should abort as soon as possible by throwing 
> an `InterruptedException`.



--
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-18373) Node Draining Should Abort All Current SSTables Imports

2023-03-28 Thread Yifan Cai (Jira)


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

Yifan Cai updated CASSANDRA-18373:
--
Reviewers: Yifan Cai

> Node Draining Should Abort All Current SSTables Imports
> ---
>
> Key: CASSANDRA-18373
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18373
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Local/Startup and Shutdown
>Reporter: Yuriy Semchyshyn
>Assignee: Yuriy Semchyshyn
>Priority: Normal
>
> SS tables imports that have no chance of succeeding due to the node being 
> drained should fail fast.
> In case there are any SS tables imports currently active, a draining node 
> should notify all of them upon flushing its column family stores.
> Each notified SS tables import should abort as soon as possible by throwing 
> an `InterruptedException`.



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