[ZBX-8414] Minor value cache issues when processing requests outside history range stored in database Created: 2014 Jul 01 Updated: 2017 May 30 Resolved: 2014 Aug 29 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 2.2.6, 2.3.3 |
Fix Version/s: | 2.2.7rc1, 2.3.4 |
Type: | Incident report | Priority: | Minor |
Reporter: | Andris Zeila | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | valuecache | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Value cache statistics updated incorrectly when the requested data is partly outside history range stored in database. Single value request returns FAIL in low memory mode when database contained no requested data. It should return SUCCEED with 'found' flag set to 0. When requested timeshift is large (so that resulting timestamp value is less than month) the value request would try querying data with negative clock values from database. |
Comments |
Comment by Andris Zeila [ 2014 Jul 01 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-8414 |
Comment by Alexander Vladishev [ 2014 Aug 28 ] |
(1) zbx_vc_get_value() function always return SUCCEED. The function should be rewritten to return nothing or return found flag. wiper RESOLVED in r48585 sasha Great! Also see my changes in r48605. wiper CLOSED |
Comment by Alexander Vladishev [ 2014 Aug 28 ] |
(2) Please review my changes in r48512:48556 wiper Thanks, Please review my updates regarding those changes in r48569, r48591 sasha Thanks, Please also see r48601. wiper CLOSED |
Comment by Andris Zeila [ 2014 Aug 29 ] |
(3) Incomplete parameter description for function vc_db_read_values_by_count() RESOLVED in r48571 <sasha> CLOSED |
Comment by Andris Zeila [ 2014 Aug 29 ] |
Released in:
|