mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-12 14:18:32 +00:00
fix-3.0.4
This commit is contained in:
@@ -58,8 +58,8 @@ func GetOplogInfo(hostnames []string, di *pmgo.DialInfo) ([]proto.OplogInfo, err
|
||||
}
|
||||
|
||||
// https://docs.mongodb.com/manual/reference/bson-types/#timestamps
|
||||
tfirst := firstRow.Ts >> 32
|
||||
tlast := lastRow.Ts >> 32
|
||||
tfirst := firstRow.Timestamp >> 32
|
||||
tlast := lastRow.Timestamp >> 32
|
||||
result.TimeDiff = tlast - tfirst
|
||||
result.TimeDiffHours = float64(result.TimeDiff) / 3600
|
||||
|
||||
|
Reference in New Issue
Block a user