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?