[jira] [Updated] (CASSANDRA-16924) Blocking Concurrency Primitives

2022-02-17 Thread Michael Semb Wever (Jira)


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

Michael Semb Wever updated CASSANDRA-16924:
---
Fix Version/s: 4.1

> Blocking Concurrency Primitives
> ---
>
> Key: CASSANDRA-16924
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16924
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Legacy/Core
>Reporter: Benedict Elliott Smith
>Assignee: Benedict Elliott Smith
>Priority: Normal
> Fix For: 4.1, 4.x
>
>
> To support CEP-10 it is necessary to support alternative implementations of 
> the blocking concurrency primitives we use on the project. At the same time, 
> the project is very inconsistent in its usage of these APIs, so this work 
> includes a number of improvements to the coherency of the codebase. 
> This ticket introduces new abstractions and standardises old ones, migrating 
> all blocking concurrency operations besides Futures returned by Executors to 
> these new APIs. This includes a migration of SimpleCondition to a new 
> Conditioninterface, new CountDownLatch and Semaphore interfaces, and new 
> static factory methods for creating these objects (as well as WaitQueue) that 
> can be intercepted by byte weaving. Additionally the internal Netty Future 
> implementation is improved to support more general use (though this is only 
> fully realised in a later ticket), OpOrder is improved to more easily support 
> mocking WaitQueue.
> Finally we standardise the propagation of InterruptedExecption, with the new 
> UncheckedInterruptedException, so that simulations may be terminated cleanly.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-16924) Blocking Concurrency Primitives

2022-02-17 Thread Michael Semb Wever (Jira)


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

Michael Semb Wever updated CASSANDRA-16924:
---
Fix Version/s: (was: 4.x)

> Blocking Concurrency Primitives
> ---
>
> Key: CASSANDRA-16924
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16924
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Legacy/Core
>Reporter: Benedict Elliott Smith
>Assignee: Benedict Elliott Smith
>Priority: Normal
> Fix For: 4.1
>
>
> To support CEP-10 it is necessary to support alternative implementations of 
> the blocking concurrency primitives we use on the project. At the same time, 
> the project is very inconsistent in its usage of these APIs, so this work 
> includes a number of improvements to the coherency of the codebase. 
> This ticket introduces new abstractions and standardises old ones, migrating 
> all blocking concurrency operations besides Futures returned by Executors to 
> these new APIs. This includes a migration of SimpleCondition to a new 
> Conditioninterface, new CountDownLatch and Semaphore interfaces, and new 
> static factory methods for creating these objects (as well as WaitQueue) that 
> can be intercepted by byte weaving. Additionally the internal Netty Future 
> implementation is improved to support more general use (though this is only 
> fully realised in a later ticket), OpOrder is improved to more easily support 
> mocking WaitQueue.
> Finally we standardise the propagation of InterruptedExecption, with the new 
> UncheckedInterruptedException, so that simulations may be terminated cleanly.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-16924) Blocking Concurrency Primitives

2021-09-30 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe updated CASSANDRA-16924:

Status: Review In Progress  (was: Patch Available)

> Blocking Concurrency Primitives
> ---
>
> Key: CASSANDRA-16924
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16924
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Legacy/Core
>Reporter: Benedict Elliott Smith
>Assignee: Benedict Elliott Smith
>Priority: Normal
>
> To support CEP-10 it is necessary to support alternative implementations of 
> the blocking concurrency primitives we use on the project. At the same time, 
> the project is very inconsistent in its usage of these APIs, so this work 
> includes a number of improvements to the coherency of the codebase. 
> This ticket introduces new abstractions and standardises old ones, migrating 
> all blocking concurrency operations besides Futures returned by Executors to 
> these new APIs. This includes a migration of SimpleCondition to a new 
> Conditioninterface, new CountDownLatch and Semaphore interfaces, and new 
> static factory methods for creating these objects (as well as WaitQueue) that 
> can be intercepted by byte weaving. Additionally the internal Netty Future 
> implementation is improved to support more general use (though this is only 
> fully realised in a later ticket), OpOrder is improved to more easily support 
> mocking WaitQueue.
> Finally we standardise the propagation of InterruptedExecption, with the new 
> UncheckedInterruptedException, so that simulations may be terminated cleanly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-16924) Blocking Concurrency Primitives

2021-09-30 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe updated CASSANDRA-16924:

Status: Ready to Commit  (was: Review In Progress)

+1 from me to FTR

> Blocking Concurrency Primitives
> ---
>
> Key: CASSANDRA-16924
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16924
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Legacy/Core
>Reporter: Benedict Elliott Smith
>Assignee: Benedict Elliott Smith
>Priority: Normal
>
> To support CEP-10 it is necessary to support alternative implementations of 
> the blocking concurrency primitives we use on the project. At the same time, 
> the project is very inconsistent in its usage of these APIs, so this work 
> includes a number of improvements to the coherency of the codebase. 
> This ticket introduces new abstractions and standardises old ones, migrating 
> all blocking concurrency operations besides Futures returned by Executors to 
> these new APIs. This includes a migration of SimpleCondition to a new 
> Conditioninterface, new CountDownLatch and Semaphore interfaces, and new 
> static factory methods for creating these objects (as well as WaitQueue) that 
> can be intercepted by byte weaving. Additionally the internal Netty Future 
> implementation is improved to support more general use (though this is only 
> fully realised in a later ticket), OpOrder is improved to more easily support 
> mocking WaitQueue.
> Finally we standardise the propagation of InterruptedExecption, with the new 
> UncheckedInterruptedException, so that simulations may be terminated cleanly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-16924) Blocking Concurrency Primitives

2021-10-07 Thread Benedict Elliott Smith (Jira)


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

Benedict Elliott Smith updated CASSANDRA-16924:
---
  Fix Version/s: 4.x
Source Control Link: 
[5c3a05a5787f7ab0b46e3a6401d64f376f6c9d9f|https://github.com/apache/cassandra/commit/5c3a05a5787f7ab0b46e3a6401d64f376f6c9d9f]
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

> Blocking Concurrency Primitives
> ---
>
> Key: CASSANDRA-16924
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16924
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Legacy/Core
>Reporter: Benedict Elliott Smith
>Assignee: Benedict Elliott Smith
>Priority: Normal
> Fix For: 4.x
>
>
> To support CEP-10 it is necessary to support alternative implementations of 
> the blocking concurrency primitives we use on the project. At the same time, 
> the project is very inconsistent in its usage of these APIs, so this work 
> includes a number of improvements to the coherency of the codebase. 
> This ticket introduces new abstractions and standardises old ones, migrating 
> all blocking concurrency operations besides Futures returned by Executors to 
> these new APIs. This includes a migration of SimpleCondition to a new 
> Conditioninterface, new CountDownLatch and Semaphore interfaces, and new 
> static factory methods for creating these objects (as well as WaitQueue) that 
> can be intercepted by byte weaving. Additionally the internal Netty Future 
> implementation is improved to support more general use (though this is only 
> fully realised in a later ticket), OpOrder is improved to more easily support 
> mocking WaitQueue.
> Finally we standardise the propagation of InterruptedExecption, with the new 
> UncheckedInterruptedException, so that simulations may be terminated cleanly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-16924) Blocking Concurrency Primitives

2021-09-17 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe updated CASSANDRA-16924:

Change Category: Quality Assurance
 Complexity: Normal
Component/s: Legacy/Core
  Reviewers: Sam Tunnicliffe
   Assignee: Benedict Elliott Smith
 Status: Open  (was: Triage Needed)

> Blocking Concurrency Primitives
> ---
>
> Key: CASSANDRA-16924
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16924
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Legacy/Core
>Reporter: Benedict Elliott Smith
>Assignee: Benedict Elliott Smith
>Priority: Normal
>
> To support CEP-10 it is necessary to support alternative implementations of 
> the blocking concurrency primitives we use on the project. At the same time, 
> the project is very inconsistent in its usage of these APIs, so this work 
> includes a number of improvements to the coherency of the codebase. 
> This ticket introduces new abstractions and standardises old ones, migrating 
> all blocking concurrency operations besides Futures returned by Executors to 
> these new APIs. This includes a migration of SimpleCondition to a new 
> Conditioninterface, new CountDownLatch and Semaphore interfaces, and new 
> static factory methods for creating these objects (as well as WaitQueue) that 
> can be intercepted by byte weaving. Additionally the internal Netty Future 
> implementation is improved to support more general use (though this is only 
> fully realised in a later ticket), OpOrder is improved to more easily support 
> mocking WaitQueue.
> Finally we standardise the propagation of InterruptedExecption, with the new 
> UncheckedInterruptedException, so that simulations may be terminated cleanly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-16924) Blocking Concurrency Primitives

2021-09-17 Thread Sam Tunnicliffe (Jira)


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

Sam Tunnicliffe updated CASSANDRA-16924:

Test and Documentation Plan: new and existing utests/dtests
 Status: Patch Available  (was: Open)

[16924-trunk|https://github.com/beobal/cassandra/tree/16924-trunk]

> Blocking Concurrency Primitives
> ---
>
> Key: CASSANDRA-16924
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16924
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Legacy/Core
>Reporter: Benedict Elliott Smith
>Assignee: Benedict Elliott Smith
>Priority: Normal
>
> To support CEP-10 it is necessary to support alternative implementations of 
> the blocking concurrency primitives we use on the project. At the same time, 
> the project is very inconsistent in its usage of these APIs, so this work 
> includes a number of improvements to the coherency of the codebase. 
> This ticket introduces new abstractions and standardises old ones, migrating 
> all blocking concurrency operations besides Futures returned by Executors to 
> these new APIs. This includes a migration of SimpleCondition to a new 
> Conditioninterface, new CountDownLatch and Semaphore interfaces, and new 
> static factory methods for creating these objects (as well as WaitQueue) that 
> can be intercepted by byte weaving. Additionally the internal Netty Future 
> implementation is improved to support more general use (though this is only 
> fully realised in a later ticket), OpOrder is improved to more easily support 
> mocking WaitQueue.
> Finally we standardise the propagation of InterruptedExecption, with the new 
> UncheckedInterruptedException, so that simulations may be terminated cleanly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-16924) Blocking Concurrency Primitives

2021-09-23 Thread Aleksei Zotov (Jira)


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

Aleksei Zotov updated CASSANDRA-16924:
--
Reviewers: Aleksei Zotov, Sam Tunnicliffe  (was: Sam Tunnicliffe)

> Blocking Concurrency Primitives
> ---
>
> Key: CASSANDRA-16924
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16924
> Project: Cassandra
>  Issue Type: Improvement
>  Components: Legacy/Core
>Reporter: Benedict Elliott Smith
>Assignee: Benedict Elliott Smith
>Priority: Normal
>
> To support CEP-10 it is necessary to support alternative implementations of 
> the blocking concurrency primitives we use on the project. At the same time, 
> the project is very inconsistent in its usage of these APIs, so this work 
> includes a number of improvements to the coherency of the codebase. 
> This ticket introduces new abstractions and standardises old ones, migrating 
> all blocking concurrency operations besides Futures returned by Executors to 
> these new APIs. This includes a migration of SimpleCondition to a new 
> Conditioninterface, new CountDownLatch and Semaphore interfaces, and new 
> static factory methods for creating these objects (as well as WaitQueue) that 
> can be intercepted by byte weaving. Additionally the internal Netty Future 
> implementation is improved to support more general use (though this is only 
> fully realised in a later ticket), OpOrder is improved to more easily support 
> mocking WaitQueue.
> Finally we standardise the propagation of InterruptedExecption, with the new 
> UncheckedInterruptedException, so that simulations may be terminated cleanly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org