utils_vl_lookup: Fixed a race when creating user objects.
authorSebastian Harl <sh@tokkee.org>
Sun, 27 Jul 2014 12:15:23 +0000 (14:15 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 27 Jul 2014 12:15:23 +0000 (14:15 +0200)
commit9f6f901889d4c9f594b5ae1fd0f449fcdd2d8fe3
tree609db969ab87775830f56823e5393a049b2f5eeb
parent07e4683f7f985668641d79137b64d148bc18ba8a
utils_vl_lookup: Fixed a race when creating user objects.

This could cause multiple aggregation instances to be created in the
aggregation plugin when first writing data to the plugin. This, in turn, led
to "value too old" warnings because subsequently all data was submitted twice.

Thanks to @faxm0dem for reporting this in GH #535.
src/aggregation.c
src/utils_vl_lookup.c