- From: Seth Falcon <
>
- To: "<
>" <
>
- Subject: [chef] Re: CHEF 11 : delay before databag update in search
- Date: Wed, 20 Feb 2013 19:12:36 +0000
- Accept-language: en-US
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.