Skip to content

Instantly share code, notes, and snippets.

Stefan Rudnitzki strud

  • Berlin
Block or report user

Report or block strud

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@strud
strud / resize-mongodb-oplog.sh
Last active Jan 2, 2018
MongoDB Replica Set Oplog Resize Helper Script
View resize-mongodb-oplog.sh
#!/bin/sh
function usage() {
echo
echo "Resizing the local MongoDB RS Oplog"
echo
echo "Usage:"
echo "mongodb_resize_oplog <mongodb local port> <mongodb data path> <new oplog size in gb> <user:group for data dir>"
echo
echo "Example:"
You can’t perform that action at this time.