Re: Atomic commit across shards?

2013-09-17 Thread Erick Erickson
There are two things to think about here.
1 if you're issuing the commit manually (i.e. not relying on the settings
in
solrconfig.xml) then they are atomic. The call doesn't return until all the
active nodes have seen the commit.

2 However, autocommits are usually time based. Since servers start
up at different times, if you're relying on the the settings in
solrconfig.xml
to do the commits then there will be slight offsets since the timers will
expire
at slightly different times.

Best,
Erick


On Mon, Sep 16, 2013 at 6:44 PM, Damien Dykman damien.dyk...@gmail.comwrote:

 Is a commit (hard or soft) atomic across shards?

 In other words, can I guaranty that any given search on a multi-shard
 collection will hit the same index generation of each shard?

 Thanks,
 Damien



Atomic commit across shards?

2013-09-16 Thread Damien Dykman

Is a commit (hard or soft) atomic across shards?

In other words, can I guaranty that any given search on a multi-shard 
collection will hit the same index generation of each shard?


Thanks,
Damien