Enhancement #2371
Introspection receiver should only extend, never reduce information
Status: | Resolved | Start date: | 08/28/2015 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | Common Lisp | |||
Target version: | rsb-0.13 |
Description
Currently the introspection receiver uses the most recently received value in all cases. For fields like hardware-version
and software-version
in host-info
, this can lead to useful information being deleted when one process sends an introspection event containing the information before a different process send an introspection event lacking the information.
Associated revisions
Update host information in src/introspection/remote-introspection.lisp
fixes #2371
Without this change, it could happen that a newly received introspection
event that lacked some information such as machine-version or
software-version would cause these missing values to be written into an
existing `host-info' node, effectively removing information from the
introspection database.
- src/introspection/remote-introspection.lisp
(ensure-host string remote-introspection-database host-info): update
slots of `host-info' structure if an entry already exists
History
#1 Updated by J. Moringen about 9 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset rsb-cl|e9e51c0bd93ef9031c0337835e7107befe3b06c7.