You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metrics.LogWriter.FsyncLatency does not distinguish between the primary WAL dir and secondary WAL dir. We should have separate metrics for each. Also, we should include all filesystem operations done for writing the log file in the corresponding latency histogram (i.e., create, write, sync etc.), since we've seen cases where deployments that use a noop fsync show low latency even though other operations may have higher latency.
DiskSlowInfo.SafeFormat should include the immediate directory. Currently it does filepath.Base(i.Path), so one cannot tell whether the WAL file is on the primary or secondary.