Files
Alistair Coles
fd342b9190
sharder: make gap and overlap warning logs shorter
Previously, when the audit process detected gaps and/or overlaps in a DB's shard ranges, it would log a warning that included a list of all impacted shard ranges. The log message can grow long when there are gaps or overlaps involving many shard ranges: so long that syslog might raise an OSError (Message too long). This patch shortens these log warning messages to only include a count of the number of gaps and/or overlaps. The count may still be useful to observe how a problem has developed over time. The detailed information is better accessed using the swift-manage-shard-ranges repair command. Change-Id: I055c40395807708de60882f53652d9533a495d09 Signed-off-by: Alistair Coles <alistairncoles@gmail.com>