Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Bouncing Indexes with Replication and Sharding in v2142
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  23 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Troy  
View profile  
 More options Nov 15 2012, 5:10 pm
From: Troy <tzar...@gmail.com>
Date: Thu, 15 Nov 2012 14:10:19 -0800 (PST)
Local: Thurs, Nov 15 2012 5:10 pm
Subject: Bouncing Indexes with Replication and Sharding in v2142

I have a weird situation ... I am beginning to test Sharding and
Replication for when we are ready to go live with a new application which
should be shortly after 2.0 is released.

I have 1 server 4 databases ... 2 Databases are set up Shards, 2 are
replicated instances of each of the 2 Shards. Replication is set to go both
ways, with Changes Only.

I persisted the indexes to all 4 database.

I have about 8 documents total spread out in 5 collections

I have 17 indexes total... About every 3 - 5 seconds.. it goes from 17
indexes stale... to 0 Indexes stale ... to 1 index stale (EntityByName) ...
then 17 indexes stale... and the whole process repeats itself.. basically
every 10 - 15 seconds it goes through that cycle.

I am wondering if I have a configuration incorrect or what. When I added
the indexes it took a great amount of time when normally with a normal
DocumentStore the indexes persist within only a second or 2...

Would I be better off creating different instances of RavenDB on different
ports to test this configuration?

Is this related to the other Replication?: Extra traffic with two-way
replication<https://groups.google.com/forum/?fromgroups=#!topic/ravendb/UnQXFsYF0LI>
 - https://groups.google.com/forum/?fromgroups=#!topic/ravendb/UnQXFsYF0LI


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Troy  
View profile  
 More options Nov 15 2012, 5:55 pm
From: Troy <tzar...@gmail.com>
Date: Thu, 15 Nov 2012 14:55:03 -0800 (PST)
Local: Thurs, Nov 15 2012 5:55 pm
Subject: Re: Bouncing Indexes with Replication and Sharding in v2142

As an FYI ... v2143 has not fixed this issue.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Nov 15 2012, 6:04 pm
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Fri, 16 Nov 2012 00:59:29 +0200
Local: Thurs, Nov 15 2012 5:59 pm
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

That is interesting, can you check what the http traffic to this looks like?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Troy  
View profile  
 More options Nov 15 2012, 6:23 pm
From: Troy <tzar...@gmail.com>
Date: Thu, 15 Nov 2012 15:23:32 -0800 (PST)
Local: Thurs, Nov 15 2012 6:23 pm
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

I put Fiddler on the server... and there is no traffic.

If I bring up Studio and look at a non-replicated database, there is not
really any traffic ... I bring up in Studio one of the sharded databases...
and I constantly see stats?noCache=xxx ... I assume sinece things are stale
it might constantly be checking to see if the stale index number has
changed for the statistics.

Is there a different way you wanted me to inspect the http traffic?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Troy  
View profile  
 More options Nov 15 2012, 9:02 pm
From: Troy <tzar...@gmail.com>
Date: Thu, 15 Nov 2012 18:02:13 -0800 (PST)
Local: Thurs, Nov 15 2012 9:02 pm
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

More info:

The document called:
"Raven/Replication/Sources/http://web01:8182/databases/Members.USA.R01" is
CONSTANTLY being changed by the server... the etags are incrementing... and
that causes the indexes to constantly go in and out of stale.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Troy  
View profile  
 More options Nov 15 2012, 10:25 pm
From: Troy <tzar...@gmail.com>
Date: Thu, 15 Nov 2012 19:25:18 -0800 (PST)
Local: Thurs, Nov 15 2012 10:25 pm
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

More Info: If I disable the 2nd Shard... the chatter goes away and the
indexes return to normal.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Nov 16 2012, 2:25 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Fri, 16 Nov 2012 09:24:49 +0200
Local: Fri, Nov 16 2012 2:24 am
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

Hm, I thought that I fixed that in 2143, is that what you are running?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Troy  
View profile  
 More options Nov 16 2012, 8:55 am
From: Troy <tzar...@gmail.com>
Date: Fri, 16 Nov 2012 05:55:59 -0800 (PST)
Local: Fri, Nov 16 2012 8:55 am
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

Yes, 2143 both server and client.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Nov 16 2012, 8:59 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Fri, 16 Nov 2012 15:59:11 +0200
Local: Fri, Nov 16 2012 8:59 am
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

Fixed in 2145, out soon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vlad K  
View profile  
 More options Nov 16 2012, 12:49 pm
From: Vlad K <eqplug...@gmail.com>
Date: Fri, 16 Nov 2012 09:49:21 -0800 (PST)
Local: Fri, Nov 16 2012 12:49 pm
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

Once I added data/indexes to db I got the same issue as mentioned here.
Happy it's fixed in 45.

This brings us to a question - are there actually any tests for being run
for replication bundle because this issue should've been obvious to catch?

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Nov 16 2012, 1:32 pm
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Fri, 16 Nov 2012 20:31:49 +0200
Local: Fri, Nov 16 2012 1:31 pm
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

Vlad,
Actually, it won't be obvious to catch. Things _work_, it is just that we
have extra stuff happening.
We run an extensive series of tests / workout for a lot of the things that
we do, but we don't run them for every build.
Only on stable / RC builds.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vlad K  
View profile  
 More options Nov 16 2012, 2:14 pm
From: Vlad K <eqplug...@gmail.com>
Date: Fri, 16 Nov 2012 11:14:24 -0800 (PST)
Local: Fri, Nov 16 2012 2:14 pm
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

Fair enough, I just figured you'd have a test to make sure that system
documents don't take part in document replication.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Nov 16 2012, 3:04 pm
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Fri, 16 Nov 2012 22:03:59 +0200
Local: Fri, Nov 16 2012 3:03 pm
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

They don't.
The problem was something else, it was that we updated the _etag_, and due
to another issue, we needed to update what the last etag is even if we
don't replicate.
Unfortunately, this resulted in what is effectively a distributed infinite
loop, only when you have master/ master relations.
That is actually quite hard to notice, because the end result is that
everything still works, it is just that the system keeps working.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vlad Kosarev  
View profile  
 More options Nov 16 2012, 3:12 pm
From: Vlad Kosarev <eqplug...@gmail.com>
Date: Fri, 16 Nov 2012 12:12:47 -0800 (PST)
Local: Fri, Nov 16 2012 3:12 pm
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

Ok, can't wait for 2145 :) I think it will be a magic release that will fix
all our problems...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Hinett  
View profile  
 More options Nov 16 2012, 3:25 pm
From: Paul Hinett <p...@ukcreativedesigns.com>
Date: Fri, 16 Nov 2012 20:25:43 +0000
Local: Fri, Nov 16 2012 3:25 pm
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142
I think it's up for download now...

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vlad Kosarev  
View profile  
 More options Nov 16 2012, 4:10 pm
From: Vlad Kosarev <eqplug...@gmail.com>
Date: Fri, 16 Nov 2012 13:10:37 -0800 (PST)
Local: Fri, Nov 16 2012 4:10 pm
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

It is and replication on a working db seems to be working fine now.
Now to test memory utilization.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Troy  
View profile  
 More options Nov 16 2012, 6:06 pm
From: Troy <tzar...@gmail.com>
Date: Fri, 16 Nov 2012 15:06:00 -0800 (PST)
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

Hmm. I am still seeing the issue with 2145.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Nov 17 2012, 1:09 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Sat, 17 Nov 2012 08:09:51 +0200
Local: Sat, Nov 17 2012 1:09 am
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

Yes, it was finally fixed in 46
Tricky sob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Troy  
View profile  
 More options Nov 17 2012, 1:39 pm
From: Troy <tzar...@gmail.com>
Date: Sat, 17 Nov 2012 10:39:21 -0800 (PST)
Local: Sat, Nov 17 2012 1:39 pm
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

Thanks for the update! Will 46 be out today at some point? If not, any ETA?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Nov 17 2012, 10:37 pm
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Sun, 18 Nov 2012 05:37:12 +0200
Local: Sat, Nov 17 2012 10:37 pm
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

Just pushed it.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Troy  
View profile  
 More options Nov 18 2012, 12:42 am
From: Troy <tzar...@gmail.com>
Date: Sat, 17 Nov 2012 21:42:15 -0800 (PST)
Local: Sun, Nov 18 2012 12:42 am
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

Thanks, do you ever sleep? :-)

I see 2148 in Nuget.. but the build server still is at 2145 ... what is the
best place to get the latest?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oren Eini (Ayende Rahien)  
View profile  
 More options Nov 18 2012, 1:19 am
From: "Oren Eini (Ayende Rahien)" <aye...@ayende.com>
Date: Sun, 18 Nov 2012 08:19:40 +0200
Local: Sun, Nov 18 2012 1:19 am
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

There is a problem with publishing builds, we will sort it out later today


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Troy  
View profile  
 More options Nov 19 2012, 1:02 am
From: Troy <tzar...@gmail.com>
Date: Sun, 18 Nov 2012 22:02:29 -0800 (PST)
Local: Mon, Nov 19 2012 1:02 am
Subject: Re: [RavenDB] Bouncing Indexes with Replication and Sharding in v2142

Thanks! 2149 looks to have resolved this issue.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »