Ticket #8 (closed task: fixed)

Opened 6 years ago

Last modified 5 years ago

Add data aging

Reported by: dcarter Owned by: dcarter
Priority: normal Milestone: Release 0.6
Component: ARM4 Agent Version: Development
Severity: Operational Stability Keywords:
Cc:

Description

The agent currently adds all data to the database, with no provision for aging or removing old data. This is obviously unworkable for a running system.

Change History

comment:1 Changed 6 years ago by dcarter

  • Owner changed from somebody to dcarter
  • Status changed from new to assigned

comment:2 Changed 6 years ago by dcarter

  • Component changed from component1 to ARM4 Agent

comment:3 Changed 5 years ago by dcarter

  • Milestone set to Release 0.6

comment:4 Changed 5 years ago by dcarter

  • Version set to Not Version Specific
  • Severity set to Operational Stability

comment:5 Changed 5 years ago by dcarter

  • Version changed from None to Development

comment:6 Changed 5 years ago by dcarter

  • Status changed from assigned to closed
  • Resolution set to fixed

When the daemon is given the HUP signal, it closes any open databases, writes the data to the backup directory, and reopens the databases with new empty dbs for the instance data. The root for the backup directory is specified in the conf file, and each new backup creates a directory with the date and time as its name.

At the current time, external programs that access the database will have undetermined errors during a backup operation. These need another means of locking the database, but this will be addressed by another ticket.

Note: See TracTickets for help on using tickets.