Enhancement #2371

Introspection receiver should only extend, never reduce information

Added by J. Moringen over 8 years ago. Updated over 8 years ago.

Status:ResolvedStart date:08/28/2015
Priority:NormalDue 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

Revision e9e51c0b
Added by J. Moringen over 8 years ago

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 over 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF