Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] 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
Reporter nam View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 0.8.1 Product Version 0.8.0
  Product Build
Summary 0005583: store loadAll() called a different number of times after a restart
Description (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:

@Inject
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:

1,000
947
944
0
943
0
977
924
0
1,000
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0006372)
ferg
12-18-13 14:16

baratine/7081

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.
 

- Issue History
Date Modified Username Field Change
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.
Powered by Mantis Bugtracker