[DOCS-14131] [Atlas] Oplog Access On Shared Tier Created: 15/Jan/21  Updated: 22/Jun/21  Resolved: 22/Jun/21

Status: Closed
Project: Documentation
Component/s: Atlas
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Stephen Dalton (Inactive) Assignee: John Williams
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 2 years, 33 weeks, 1 day ago
Story Points: 2

 Description   

Description

Our current Atlas Documentation for Oplog Access states it is only exposed for M10+ Clusters.

Does MongoDB Atlas expose the oplog?

Following the same access instructions on an M0 Cluster, I can also gain Oplog Access. 

Is access to the shared tier oplog by design? If yes, should we update our Oplog Access information?

If access to the shared tier oplog is not permitted what steps should we take to restrict access? 

MongoDB Enterprise sandboxing-shard-0:PRIMARY> db.getSiblingDB('local').oplog.rs.find()
{
        "ts" : Timestamp(1603106907, 1),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "exporttest.$cmd",
        "ui" : UUID("b9fdb931-9262-454b-9fd3-0a5e8ad08c63"),
        "wall" : ISODate("2020-10-19T11:28:27.603Z"),
        "o" : {
                "create" : "alpina-watch-international-sa.myshopify.com_multiCurrencyProducts",
                "idIndex" : {
                        "v" : 2,
                        "key" : {
                                "_id" : 1
                        },
                        "name" : "_id_",
                        "ns" : "exporttest.alpina-watch-international-sa.myshopify.com_multiCurrencyProducts"
                }
        }
}
{
        "ts" : Timestamp(1603106928, 1),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "i",
        "ns" : "exporttest.alpina-watch-international-sa.myshopify.com_multiCurrencyProducts",
        "ui" : UUID("b9fdb931-9262-454b-9fd3-0a5e8ad08c63"),
        "wall" : ISODate("2020-10-19T11:28:48.489Z"),
        "o" : {
                "_id" : ObjectId("5f8d786a976b4af60efaba8d"),
                "name" : "stephen dalton"
        }
}
{
        "ts" : Timestamp(1603965478, 2),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "sample_airbnb.$cmd",
        "ui" : UUID("7a783ca8-30a7-4b98-89ec-c0d908e88b3c"),
        "wall" : ISODate("2020-10-29T09:57:58.250Z"),
        "o" : {
                "createIndexes" : "listingsAndReviews",
                "v" : 2,
                "key" : {
                        "address" : 1
                },
                "name" : "TTLTest",
                "background" : false,
                "expireAfterSeconds" : 15768000
        }
}
{
        "ts" : Timestamp(1604866251, 1),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "messageApp.$cmd",
        "ui" : UUID("439579b4-8e3d-4f47-ae61-3fe374b934ea"),
        "o2" : {
                "numRecords" : 5
        },
        "wall" : ISODate("2020-11-08T20:10:51.651Z"),
        "o" : {
                "drop" : "messages"
        }
}
{
        "ts" : Timestamp(1604866251, 2),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "messageApp.$cmd",
        "wall" : ISODate("2020-11-08T20:10:51.654Z"),
        "o" : {
                "dropDatabase" : 1
        }
}
{
        "ts" : Timestamp(1604866277, 1),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "JSONTest.$cmd",
        "ui" : UUID("a5c8aa23-8e27-4f65-b4ad-185996e7c733"),
        "o2" : {
                "numRecords" : 1
        },
        "wall" : ISODate("2020-11-08T20:11:17.468Z"),
        "o" : {
                "drop" : "file"
        }
}
{
        "ts" : Timestamp(1604866277, 2),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "JSONTest.$cmd",
        "wall" : ISODate("2020-11-08T20:11:17.471Z"),
        "o" : {
                "dropDatabase" : 1
        }
}
{
        "ts" : Timestamp(1604866285, 1),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "dup.$cmd",
        "ui" : UUID("4391ddd8-00fd-49fc-bcc5-6bb83fe5682f"),
        "o2" : {
                "numRecords" : 3
        },
        "wall" : ISODate("2020-11-08T20:11:25.589Z"),
        "o" : {
                "drop" : "test"
        }
}
{
        "ts" : Timestamp(1604866285, 2),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "dup.$cmd",
        "wall" : ISODate("2020-11-08T20:11:25.593Z"),
        "o" : {
                "dropDatabase" : 1
        }
}
{
        "ts" : Timestamp(1604866291, 1),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "ttl.$cmd",
        "ui" : UUID("85817534-f499-4842-a3ea-f048b6de15de"),
        "o2" : {
                "numRecords" : 0
        },
        "wall" : ISODate("2020-11-08T20:11:31.168Z"),
        "o" : {
                "drop" : "happy"
        }
}
{
        "ts" : Timestamp(1604866291, 2),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "ttl.$cmd",
        "wall" : ISODate("2020-11-08T20:11:31.172Z"),
        "o" : {
                "dropDatabase" : 1
        }
}
{
        "ts" : Timestamp(1604866299, 1),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "ttt.$cmd",
        "ui" : UUID("6c9a6792-6ecf-4f65-b4a5-6fcec5f82e7c"),
        "o2" : {
                "numRecords" : 0
        },
        "wall" : ISODate("2020-11-08T20:11:39.115Z"),
        "o" : {
                "drop" : "test"
        }
}
{
        "ts" : Timestamp(1604866299, 2),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "ttt.$cmd",
        "wall" : ISODate("2020-11-08T20:11:39.118Z"),
        "o" : {
                "dropDatabase" : 1
        }
}
{
        "ts" : Timestamp(1604866310, 1),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "uuid_test.$cmd",
        "ui" : UUID("74f0a314-389c-40ad-a48f-b5011b65fa6f"),
        "o2" : {
                "numRecords" : 5
        },
        "wall" : ISODate("2020-11-08T20:11:50.137Z"),
        "o" : {
                "drop" : "test"
        }
}
{
        "ts" : Timestamp(1604866310, 2),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "uuid_test.$cmd",
        "ui" : UUID("a428e8b8-cf3b-4eaa-b9ed-22596e419164"),
        "o2" : {
                "numRecords" : 2
        },
        "wall" : ISODate("2020-11-08T20:11:50.137Z"),
        "o" : {
                "drop" : "test_customer"
        }
}
{
        "ts" : Timestamp(1604866310, 3),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "uuid_test.$cmd",
        "ui" : UUID("b61520a4-386d-494d-9a6b-fc235f873b67"),
        "o2" : {
                "numRecords" : 3
        },
        "wall" : ISODate("2020-11-08T20:11:50.137Z"),
        "o" : {
                "drop" : "test_collection"
        }
}
{
        "ts" : Timestamp(1604866310, 4),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "uuid_test.$cmd",
        "wall" : ISODate("2020-11-08T20:11:50.142Z"),
        "o" : {
                "dropDatabase" : 1
        }
}
{
        "ts" : Timestamp(1604866320, 2),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "binaryThree.$cmd",
        "ui" : UUID("fd69b4e9-a752-46d0-8040-68f04b753e55"),
        "o2" : {
                "numRecords" : 1
        },
        "wall" : ISODate("2020-11-08T20:12:00.896Z"),
        "o" : {
                "drop" : "test"
        }
}
{
        "ts" : Timestamp(1604866320, 3),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "binaryThree.$cmd",
        "wall" : ISODate("2020-11-08T20:12:00.899Z"),
        "o" : {
                "dropDatabase" : 1
        }
}
{
        "ts" : Timestamp(1604866325, 1),
        "t" : NumberLong(19),
        "h" : NumberLong(0),
        "v" : 2,
        "op" : "c",
        "ns" : "exporttest.$cmd",
        "ui" : UUID("b9fdb931-9262-454b-9fd3-0a5e8ad08c63"),
        "o2" : {
                "numRecords" : 1
        },
        "wall" : ISODate("2020-11-08T20:12:05.413Z"),
        "o" : {
                "drop" : "alpina-watch-international-sa.myshopify.com_multiCurrencyProducts"
        }
}

 



 Comments   
Comment by John Williams [ 22/Jun/21 ]

stephen.dalton Thank you for filing. Users on shared tier clusters are allowed to access the oplog. Updated the documentation accordingly. Changes will be in effect the next time we publish the Atlas documentation.

Generated at Thu Feb 08 08:09:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.