[chef] CHEF 11 : delay before databag update in search


Chronological Thread 
  • From: Philippe Bérard < >
  • To: < >
  • Subject: [chef] CHEF 11 : delay before databag update in search
  • Date: Tue, 19 Feb 2013 17:18:17 +0100

Hello all,

 

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”

 

For example, if I look for a particular URL in the databag test

Ø  knife search test url:www.google.com

 

Then change this URL via chef-webui to : www.yahoo.com.

 

The following search with knife or Chef::Search::Query will return “0 items found” for a few minutes.

Ø  knife search test url:www.yahoo.com

 

When this little delay has passed, the result will be fine.

 

Any idea on why this occurs ? Thanks in advance.

 

Regards,

 

Philippe Bérard
Administrateur Systèmes

Tel : +33 (0)1 39 23 31 17
Mob : +33 (0)6 01 27 87 86
Fax : +33 (0)1 39 55 47 56

58, Rue Pottier
78150 Le Chesnay
www.jalios.com

JALIOS

P Afin de contribuer au respect de l'environnement, merci de n'imprimer ce message qu'en cas de nécessité. 

 

 




Archive powered by MHonArc 2.6.16.

§