Re: [PR] RATIS-2094. Avoid corruptions from TransactionContext's stateMachineLogEntry and stateMachineContext. [ratis]

2024-05-31 Thread via GitHub
szetszwo commented on code in PR #1106: URL: https://github.com/apache/ratis/pull/1106#discussion_r1622823140 ## ratis-common/src/main/java/org/apache/ratis/util/ReferenceCountedObject.java: ## @@ -152,6 +153,10 @@ public boolean release() { }; } + default

[PR] RATIS-2094. Avoid corruptions from TransactionContext's stateMachineLogEntry and stateMachineContext. [ratis]

2024-05-31 Thread via GitHub
duongkame opened a new pull request, #1106: URL: https://github.com/apache/ratis/pull/1106 ## What changes were proposed in this pull request? As discuss in RATIS-2094, the usage of TransactionContext's `getStateMachineLogEntry` and `getStateMachineContext` may cause corruptions

Re: [PR] RATIS-2094. Avoid corruptions from TransactionContext's stateMachineLogEntry and stateMachineContext. [ratis]

2024-05-31 Thread via GitHub
duongkame commented on PR #1106: URL: https://github.com/apache/ratis/pull/1106#issuecomment-2142716387 @szetszwo can you have a look? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[jira] [Assigned] (RATIS-2046) Test failure because SimpleStateMachine4Testing is not closed properly

2024-05-31 Thread Nandakumar (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nandakumar reassigned RATIS-2046: - Assignee: Nandakumar > Test failure because SimpleStateMachine4Testing is not closed properly >