Refactoring: Changed remaining check parameters starting with an 's' to the new rules...
[check_mk.git] / .werks / 5460
blob6f9cd0cf193e3e75c004ffe36901c8bbe2342c49
1 Title: Waiting without a wait condition immediately returns now
2 Level: 1
3 Component: livestatus
4 Compatible: incomp
5 Edition: cre
6 Version: 1.5.0i1
7 Date: 1510912156
8 Class: fix
10 Note: This change only affects users writing their own tools for the
11 Livestatus interface, and only those tools which rely on an edge case.
13 Up to now, Livestatus had a special obscure case: Using a WaitTrigger header
14 in a query without a WaitCondition header resulted in waiting for the
15 trigger exactly once.  This is a misfeature, because it is effectively
16 useless and doesn't do what one might expect: Due to spurious wakeups
17 (https://en.wikipedia.org/wiki/Spurious_wakeup), waiting might return
18 earlier basically at any time.
20 To fix this behaviour, the special case has been removed, and a missing
21 WaitCondition always has its expected semantics (always true) now.  Note
22 that this is consistent with a missing Filter header, which means "no
23 filtering".