Skip to content

Conversation

@timvaillancourt
Copy link
Contributor

@timvaillancourt timvaillancourt commented Jul 18, 2018

Add query comment to oplog tailer for troubleshooting:

rs:PRIMARY> db.system.profile.find({}, {command:1}).limit(1).pretty()
{
	"command" : {
		"find" : "oplog.rs",
		"filter" : {
			"op" : {
				"$ne" : "n"
			},
			"ts" : {
				"$gte" : Timestamp(1531909597, 0)
			}
		},
		"skip" : 0,
		"batchSize" : 100,
		"comment" : "github.com/percona/mongodb-backup/internal/oplog.(*OplogTail).tail()",
		"oplogReplay" : true,
		"$db" : "local"
	}
}

@timvaillancourt timvaillancourt merged commit 6a004fa into master Jul 18, 2018
@timvaillancourt timvaillancourt deleted the oplog_tail_comment branch July 18, 2018 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants