Re: Sling retrieving out-of-date data

2015-12-02 Thread Chetan Mehrotra
On Wed, Dec 2, 2015 at 7:10 PM, H K wrote: > but is there a way to use the same Node Store when connecting through an Oak > application? NodeStore is an in vm manifestation. Before going further wanted to understand your usecase and flow. The code which connects using

RE: Sling retrieving out-of-date data

2015-12-02 Thread H K
to learn more about Oak and MongoDB to see how they fit in the picture. But for now, [1] is what I'm aiming for. Thanks, H > Date: Wed, 2 Dec 2015 19:59:03 +0530 > Subject: Re: Sling retrieving out-of-date data > From: chetan.mehro...@gmail.com > To: users@sling.apache.org >

Re: Sling retrieving out-of-date data

2015-12-02 Thread Oliver Lietz
n-OSGi setup with different NodeStore needs to be verified. Regards, O. > Thanks, > H > > > From: apa...@oliverlietz.de > > To: users@sling.apache.org > > Subject: Re: Sling retrieving out-of-date data > > Date: Tue, 1 Dec 2015 19:49:20 +0100 > > > &g

Re: Sling retrieving out-of-date data

2015-12-02 Thread Oliver Lietz
On Wednesday 02 December 2015 10:00:51 Chetan Mehrotra wrote: > On Tue, Dec 1, 2015 at 10:07 PM, H K wrote: > > My problem is that when I write data to the repository through my > > application, Sling does not seem to get it fast enough, which may be > > because it is

Re: Sling retrieving out-of-date data

2015-12-02 Thread Chetan Mehrotra
On Wed, Dec 2, 2015 at 2:20 PM, Oliver Lietz wrote: > but this is not the case for a single node, right? And I assume a non-cluster > setup as H K didn't mention it. Code that HK mentioned above // REST service createChildFolder running on localhost:8040

Re: Sling retrieving out-of-date data

2015-12-02 Thread Oliver Lietz
On Wednesday 02 December 2015 15:48:34 Chetan Mehrotra wrote: > On Wed, Dec 2, 2015 at 2:20 PM, Oliver Lietz wrote: > > but this is not the case for a single node, right? And I assume a > > non-cluster setup as H K didn't mention it. > > Code that HK mentioned above > >

Re: Sling retrieving out-of-date data

2015-12-02 Thread Chetan Mehrotra
On Wed, Dec 2, 2015 at 4:13 PM, Oliver Lietz wrote: > Thanks, Chetan. Is it really the _new Oak_ or the new NodeStore which sets up > a cluster? Its new NodeStore > The Oak documentation for clustering could be more expressive... Yes docs are not upto the mark. Would try

RE: Sling retrieving out-of-date data

2015-12-02 Thread H K
in Sling 7 but not when it is in Sling 8. > Date: Wed, 2 Dec 2015 17:22:31 +0530 > Subject: Re: Sling retrieving out-of-date data > From: chetan.mehro...@gmail.com > To: users@sling.apache.org > > On Wed, Dec 2, 2015 at 4:13 PM, Oliver Lietz <apa...@oliverlietz.de> wrote

RE: Sling retrieving out-of-date data

2015-12-01 Thread H K
e correct JSON successfully. Again, this problem does NOT exist using Jackrabbit and Sling 7 (as opposed to Oak with MongoDB and Sling 8). > From: redflagba...@hotmail.com > To: users@sling.apache.org > Subject: RE: Sling retrieving out-of-date data > Date: Tue, 1 Dec 2015 19:57:50 +000

Sling retrieving out-of-date data

2015-12-01 Thread H K
Hi, I'm currently using the Sling 8 standalone and it's connected to a MongoDB database. I've got an application which also connects to the same MongoDB database and writes/reads from it. The connection is done using DocumentMK, following the instructions at

Re: Sling retrieving out-of-date data

2015-12-01 Thread Chetan Mehrotra
On Tue, Dec 1, 2015 at 10:07 PM, H K wrote: > My problem is that when I write data to the repository through my > application, Sling does not seem to get it fast enough, which may be because > it is caching or because it only periodically checks to see if the data it

Re: Sling retrieving out-of-date data

2015-12-01 Thread Oliver Lietz
On Tuesday 01 December 2015 11:37:42 H K wrote: > Hi, Hi, > I'm currently using the Sling 8 standalone and it's connected to a MongoDB > database. I've got an application which also connects to the same MongoDB > database and writes/reads from it. The connection is done using DocumentMK, >

RE: Sling retrieving out-of-date data

2015-12-01 Thread H K
the JSON as wanted. Thanks, H > From: apa...@oliverlietz.de > To: users@sling.apache.org > Subject: Re: Sling retrieving out-of-date data > Date: Tue, 1 Dec 2015 19:49:20 +0100 > > On Tuesday 01 December 2015 11:37:42 H K wrote: > > Hi, > > Hi, > > > I'

Re: Sling retrieving out-of-date data

2015-12-01 Thread Justin Edelson
s, > H > > > From: apa...@oliverlietz.de > > To: users@sling.apache.org > > Subject: Re: Sling retrieving out-of-date data > > Date: Tue, 1 Dec 2015 19:49:20 +0100 > > > > On Tuesday 01 December 2015 11:37:42 H K wrote: > > > Hi, > > >

RE: Sling retrieving out-of-date data

2015-12-01 Thread H K
ere to be a child node in parent > > node but none are there. Test failed. > > > > However, if I let the thread sleep for 2 seconds after step 2, child > > exists in the JSON as wanted. > > > > Thanks, > > H > > > > > From: apa...@oliverlietz.de >