The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

rrr-update - add a file to/delete a file from the dataset

SYNOPSIS

  rrr-update [options] principalfile file

OPTIONS

--add

Inject a 'new' event.

--delete

Inject a 'delete' event.

--dry-run|n

Does nothing, only prints what it would do.

--epoch=s

Set the epoch of the file to this value. Normally epoch is set to current time as a floating point value. This option can be used to inject old events that have been forgotten somehow. Triggers setting of the dirtymark of the whole dataset which means all slaves are forced to restart their mirroring activity.

Be aware that this is not only costly to downstream servers, it is also slow: it calls aggregate twice with force.

--help|h

Prints a brief message and exists.

--verbose|v+

More feedback.

DESCRIPTION

When you later discover missing files...

The principalfile argument is the path to local principal recentfile.

The file argument is a relative path calculated from the localroot directory of the recentfile object.