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

ASF subversion and git services commented on ARTEMIS-5428:
----------------------------------------------------------

Commit a25650ca3ec1ba524748f992bd2a5bf315136e49 in activemq-artemis's branch 
refs/heads/main from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=a25650ca3e ]

ARTEMIS-5428 Hardening of the broker around PagingWrites / Shutdown

While the broker is being stopped, and if the system is paging, I
recently found a few issues that I am addressing here:

- When the server is stopped, the IDGenerator could be used after
the snapshot is generated, what could lead to data loss in case of a
regular shutdown while system under heavy load

- delayed Transaction could be completed after exceptions
(the markRollbackOnly or rollback should clear any pending state)

- The Acceptor notification is being called after the IDGenerator is
stopped (found this by accident after stopping the IDGEnerator).


> Hardening Paging Operation around Server Shutdown
> -------------------------------------------------
>
>                 Key: ARTEMIS-5428
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5428
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Clebert Suconic
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> I have been doing some extensive tests with Paging and PagingWriter, and I 
> found a few interligated issues:
> - When the server is stopped, the IDGenerator could be used after the 
> snapshot is generated, what could lead to data loss in case of a regular 
> shutdown while system under heavy load
> - delayed Transaction could be completed after exceptions (the 
> markRollbackOnly or rollback should clear any pending state)
> - The Acceptor notification is being called after the IDGenerator is stopped 
> (found this by accident after stopping the IDGEnerator).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to