|Anonymous | Login | Signup for a new account||02-19-2019 05:03 PST|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0005583||[Baratine]||minor||always||11-11-13 15:00||12-18-13 14:16|
|Summary||0005583: store loadAll() called a different number of times after a restart|
(rep by J. Willis)
This version is better, but it still loads an inconsistent # of items from the store on start. I'm using the method of loading all of the items from the chatroom example:
private StoreService store;
store.loadAll(new StoreOnLoad(), new StoreResult());
StoreOnLoad() is called an inconsistent # of times when restarting Resin. After adding a thousand items to the store, here's the number of times StoreOnload() was called after each of ten restarts:
Docs also need to be updated to use onResult(Result<Boolean> cont).
In this case, using the future cannot work because the onLoad sends messages to the service's queue, which is blocked as long as the service is blocking on the future.
|11-11-13 15:00||nam||New Issue|
|12-18-13 14:16||ferg||Note Added: 0006372|
|12-18-13 14:16||ferg||Assigned To||=> ferg|
|12-18-13 14:16||ferg||Status||new => closed|
|12-18-13 14:16||ferg||Resolution||open => fixed|
|12-18-13 14:16||ferg||Fixed in Version||=> 0.8.1|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.|
26 unique queries executed.