-
Notifications
You must be signed in to change notification settings - Fork 392
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
DELIA-65834 : Skipped new mode request #5740
base: main
Are you sure you want to change the base?
Conversation
@ssitar583 - Pls update CHANGELOG and version for this change. You can increment the patch version. |
can you please stop using detach() in this repo. This is unloadable plugins, detach() is not appropriate. We had numerous crashes on shutdown due to people using detach() in this repo. |
@npoltorapavlo As part of DELIA-65834,I have just checked whether timer is in progress or not and no new detach calls were added as part of this handling.Those detach() calls were existing one. |
@ssitar583 if you read my comment, it does not say you add detach(). It says it's wrong to use detach() in either form |
DELIA-66118: CloudStore improvements
…sistentstore DELIA-66118: PersistentStore improvements
Reason for change: Returning error in case of new mode request thereby avoiding crash. Test Procedure: 1.Set device to any of the modes(WAREHOUSE/EAS/NORMAL) for 30s. 2.During that 30s,again make a request to set the same/different mode again. 3.Check for crashes. Risks: Low Signed-off-by: Soundaryaa Sitaram<[email protected]>
b1f1b69
to
b779f6c
Compare
Reason for change: Crash occurred when timer expired for Previous mode and trying to set the Normal mode and same time curl request trying to process it.Handled synchronization between the new mode curl request as well as setMode request for NORMAL(default) mode.
Test Procedure: 1.Set device to any of the modes(WAREHOUSE/EAS/NORMAL) for 30s.
2.During that 30s,again make a request to set the same/different mode again.
3.Check for crashes.