-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Already in batch mode #15
Comments
concurrent batch operations not able to commit. This fix is to address the issue: #15
Hi, Many thanks for the feedbacks. A client should never see the message. A preliminary fix was committed to address this issue. Running a simple Thanks. On Fri, Feb 27, 2015 at 7:34 AM, Jan Doms notifications@github.com wrote:
|
Thanks for the quick response and preliminary fix Chiaming! |
Hi, should a client ever recieve this message from the server?
https://github.com/Seagate/kinetic-java/blob/master/kinetic-simulator/src/main/java/com/seagate/kinetic/simulator/internal/BatchOperationHandler.java#L80
Or can it be considered an internal error if I do see it?
A look at the code seems to suggest that
https://github.com/Seagate/kinetic-java/blob/master/kinetic-simulator/src/main/java/com/seagate/kinetic/simulator/internal/SimulatorEngine.java#L457
should wait until the current batch is finished such that when the init call in BatchOperationHandler should only be done when no other batch is active, unfortunately it doesn't exactly work like that...
The text was updated successfully, but these errors were encountered: