mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-13 14:39:28 +00:00
Merge pull request #182 from timvaillancourt/3.0-oplog-struct-fix
Oplog struct update
This commit is contained in:
@@ -41,11 +41,13 @@ func (s OpLogs) Less(i, j int) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type OplogRow struct {
|
type OplogRow struct {
|
||||||
H int64 `bson:"h"`
|
Timestamp int64 `bson:"ts,omitempty"`
|
||||||
V int64 `bson:"v"`
|
HistoryId int64 `bson:"h,omitempty"`
|
||||||
Op string `bson:"op"`
|
Version int64 `bson:"v,omitempty"`
|
||||||
O bson.M `bson:"o"`
|
Operation string `bson:"op,omitempty"`
|
||||||
Ts int64 `bson:"ts"`
|
Namespace string `bson:"ns,omitempty"`
|
||||||
|
Object bson.D `bson:"o,omitempty"`
|
||||||
|
Query bson.D `bson:"o2,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type OplogColStats struct {
|
type OplogColStats struct {
|
||||||
|
Reference in New Issue
Block a user