
KiokuDB::Cmd::Command::FSCK - Check for broken references

% kioku fsck -D bdb-gin:dir=data/
# to fix any problems:
% kioku edit -D $dsn $( kioku fsck -D $dsn --print )

This commands uses KiokuDB::LinkChecker to search for broken references.

When true the IDs will be printed to STDOUT, allowing you to dump the broken entries:
kioku dump --dsn ... $( kioku fsck --dsn ... --print )