replication/driver: enforce ordering during initial replication in order to support encrypted send

fixes #277
This commit is contained in:
Christian Schwarz
2020-04-07 23:45:20 +02:00
parent 1540a478b0
commit d59b64df86
2 changed files with 113 additions and 8 deletions
@@ -26,6 +26,6 @@ type debugFunc func(format string, args ...interface{})
func debugPrefix(prefixFormat string, prefixFormatArgs ...interface{}) debugFunc {
prefix := fmt.Sprintf(prefixFormat, prefixFormatArgs...)
return func(format string, args ...interface{}) {
debug("%s: %s", prefix, fmt.Sprintf(format, args))
debug("%s: %s", prefix, fmt.Sprintf(format, args...))
}
}