Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [smila-dev] Agents are broken

I guess that the issue is that the In-Memory implementation still uses some internal locks based on Threads.

As the in memory implementation was made as a initial implementation to get SMILA started but is not feasible for a high data load I propose to remove the in memory implementation from our repository.

It brings no real benefit but we have to maintain it, which at the moment is lots of overhead work.

What do you think ?

Bye,
Daniel


> -----Ursprüngliche Nachricht-----
> Von: smila-dev-bounces@xxxxxxxxxxx [mailto:smila-dev-
> bounces@xxxxxxxxxxx] Im Auftrag von Juergen.Schumacher@xxxxxxxxxxx
> Gesendet: Dienstag, 9. Juni 2009 16:55
> An: smila-dev@xxxxxxxxxxx
> Betreff: RE: [smila-dev] Agents are broken
> 
> Hi,
> 
> seems that it works again with the JPA implementation of DeltaIndexing.
> The "simple" implemnetation is still broken:
> 
>       - Error while adding record
> 'src:feeds|key:<Uri=http://dev.eclipse.org/mhonarc/newsLists/news.eclip
> se.rt.smila/msg00020.html>'
> org.eclipse.smila.connectivity.deltaindexing.DeltaIndexingException:
> Data source feeds already locked
>         at
> org.eclipse.smila.connectivity.deltaindexing.impl.DataSourceConnection.
> checkLock(DataSourceConnection.java:273)
>         at
> org.eclipse.smila.connectivity.deltaindexing.impl.DataSourceConnection.
> getHash(DataSourceConnection.java:188)
>         at
> org.eclipse.smila.connectivity.deltaindexing.impl.DeltaIndexingManagerI
> mpl.checkForUpdate(DeltaIndexingManagerImpl.java:232)
>         at
> org.eclipse.smila.connectivity.framework.impl.AgentControllerImpl.add(A
> gentControllerImpl.java:214)
>         at
> org.eclipse.smila.connectivity.framework.agent.feed.FeedAgent.fetch(Fee
> dAgent.java:184)
>         at
> org.eclipse.smila.connectivity.framework.agent.feed.FeedAgent.run(FeedA
> gent.java:113)
>         at java.lang.Thread.run(Thread.java:595)
> 
> Cheers,
> Jürgen.
> 
> > -----Original Message-----
> > From: smila-dev-bounces@xxxxxxxxxxx [mailto:smila-dev-
> > bounces@xxxxxxxxxxx] On Behalf Of Daniel.Stucky@xxxxxxxxxxx
> > Sent: Tuesday, June 09, 2009 2:08 PM
> > To: smila-dev@xxxxxxxxxxx
> > Subject: AW: [smila-dev] Agents are broken
> >
> > Hi all,
> >
> > I just checked in the enhancement
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=279243 to use session
> Ids
> > in DeltaIndexingManager. Agents should work again and remote
> > communication should also be possible, now. There are some interface
> > changes, I will update the documentation soon.
> >
> > Please test this feature and report any problems immediately.
> >
> > Bye,
> > Daniel
> >
> > > -----Ursprüngliche Nachricht-----
> > > Von: smila-dev-bounces@xxxxxxxxxxx [mailto:smila-dev-
> > > bounces@xxxxxxxxxxx] Im Auftrag von Daniel.Stucky@xxxxxxxxxxx
> > > Gesendet: Montag, 8. Juni 2009 13:45
> > > An: smila-dev@xxxxxxxxxxx
> > > Betreff: [smila-dev] Agents are broken
> > >
> > > Hi all,
> > >
> > > Today Jürgen found out that the Agents are broken. Agents always
> > throw
> > > the following Exception:
> > >
> org.eclipse.smila.connectivity.deltaindexing.DeltaIndexingException:
> > > data source feeds is already locked by another thread
> > >
> > > Unfortunately this is not covered by any junit test.
> > >
> > > I will not provide a hotfix right now (to many unnecessary changes
> > and
> > > bundle dependencies) but instead solve this problem by its root:
> > using
> > > a sessionID in DeltaIndexingManager. This will take some time,
> > though.
> > > So please be patient until the Agents will work again.
> > >
> > > Bye,
> > > Daniel
> > > _______________________________________________
> > > smila-dev mailing list
> > > smila-dev@xxxxxxxxxxx
> > > https://dev.eclipse.org/mailman/listinfo/smila-dev
> > _______________________________________________
> > smila-dev mailing list
> > smila-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/smila-dev
> _______________________________________________
> smila-dev mailing list
> smila-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/smila-dev


Back to the top