Ugarit
View Ticket
Login
Ticket Hash: 34e21d597f7fd0c34cf343bfc4f374f752890efc
Title: Extract stats counters from the vault object
Status: Closed Type: Feature_Request
Severity: UNSPECIFIED Priority: UNSPECIFIED
Subsystem: General Resolution: Fixed
Last Modified: 2012-06-06 19:43:45
Version Found In:
Description:
Stats counters are properties of vault operation such as a snapshot, not the vault itself. Remove them from the vault structure and put them into a job structure which is obtained through a parameter, with a default value pointing to an "anonymous job" for convenience.

tag-snapshot! must then be passed a job object in order to gather stats from it; if #f is supplied, then no stats are recorded in the snapshot metadata.

Make archive-log! call a callback in the job object in scope for every log message, too. The interactive frontend can provide a handler that displays them to the user.


alaric added on 2012-06-06 19:43:45 UTC:
Done in [e99bd62896] and [17023073431f].

In addition, I moved the "configuration" flags from the vault object (check-correctness?, store-atime? and store-ctime?) into the job object.