Files
fd342b91904369d9fc76252a752d333e4c3ba7d1
swift /test
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>
2025年07月23日 15:01:14 +01:00
..
2025年03月06日 17:10:04 -08:00
2025年07月18日 18:29:20 +00:00
2025年05月15日 07:40:39 +00:00
2025年05月15日 07:40:39 +00:00