- From: Michael Della Bitta <
>
- To:
- Subject: [chef] Re: Re: CHEF 11 : delay before databag update in search
- Date: Wed, 20 Feb 2013 14:47:16 -0500
If you guys brought Solr up to version 4, the new soft commit feature
lets you get document visibility latency down to a second.
Michael Della Bitta
------------------------------------------------
Appinions
18 East 41st Street, 2nd Floor
New York, NY 10017-6271
www.appinions.com
Where Influence Isn’t a Game
On Wed, Feb 20, 2013 at 2:12 PM, Seth Falcon
<
>
wrote:
>
Hi Philippe,
>
>
On Feb 19, 2013, at 8:18 AM, Philippe Bérard wrote:
>
> It seems that there’s a kind of slow update when modifying data in a
>
> databag and searching for this particular value through “knife search” or
>
> “Chef::Search::Query”
>
>
Chef uses Solr to index objects for search. The Lucene index makes newly
>
updated data available for search queries after a commit. This setup is not
>
new to Chef 11, however, the default tuning of the solr/lucene commit
>
interval is now set at 60 seconds. On average, you will need to wait 30
>
seconds before an object update is visible via search. You can tune this in
>
/etc/chef-server/chef-server.rb like this:
>
>
chef_solr['commit_interval'] = 60000 # in ms
>
>
For very small deployments, you can probably turn this down quite a bit.
>
>
+ seth
>
>
Archive powered by MHonArc 2.6.16.