Merhaba,
bu makalede MongoDB replica set’e bağlanma yöntemlerinden ve bağlanırken sıkça yapılan hatalardan bahsedeceğim.
Öncelikle MongoDB’nin replica-set mantığından başlayalım. Replica-set birden fazla MongoDB sunucusunun primary-secondary mantığında çalışması anlamına geliyor. Bir nedenden dolayı primary down olursa diğer node’lardan biri primary rolünü üstlenip uygulamanın kaldığı yerden devam etmesini sağlıyor. Minimum 3 node’lu olması öneriliyor ve mümkünse tek sayıda node (sunucu)’dan oluşmalı.
MongoDB native olarak automatic failover ve read/write spliting özelliklerini kendi client’ı sayesinde destekliyor. Yani bu şu anlama geliyor; sizin replica-set’inizde bir nedenden dolayı primary down olursa, yeni belirlenen primary’nin ip’sini uygulamanızda güncellemenize gerek yok, MongoDB Client bu durumu algılayıp sizi yeni primary node’a tekrar bağlayacaktır. Diğer open-source database’lerde bu bahsettiğim konuları yapabilmek için ekstra komponentler kurulması gerekiyor. PostgreSQL’de automatic failover yapmak için kullanılan patroni, repmgr veya mysql’de read/write spliting için kullanılan ProxySQL bunlara örnek gösterilebilir.
Her ne kadar MongoDB’nin client’ı bu özellikleri otomatik olarak yapabiliyor olsa da, yanlış yazılan bir connection string tüm bu özellikleri kullanılamaz hale getirebilir. Bir election (failover) anında uygulama katmanında sorun yaşamamak, yeni seçilen primary node’u otomatik olarak uygulamaya bildirmek için aşağıdaki noktalara dikkat etmek gerekiyor. Öncelikle bağlantı yöntemlerine göz atalım.
MongoDB’ye standalone bağlanmak için sadece username/password ve ip adresini vermeniz yeterli.
mongodb://<APP_USER>:<PASSWORD>@db1
Replica Set’e bağlanmak için örnek connection string aşağıdaki gibi. Eğer connection string’inizde “replicaSet=” ibaresi bulunmuyorsa maalesef MongoDB’ye standalone olarak bağlanmışsınız demektir. Yukarıdaki özellikler kullanılamaz durumda!
mongodb://<APP_USER>:<PASSWORD>@mongodb01,mongodb02,mongodb03/<DB_NAME>&replicaSet=<REPLICA_SET_NAME>
Mongo shell üzerinden replica set’e bağlanalım.
[root@localhost ~]# mongo --host rs0/db1:27017,db2:27017,db3:27017
Percona Server for MongoDB shell version v4.4.1-3
connecting to: mongodb://db1:27017,db2:27017,db3:27017/?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0
Implicit session: session { "id" : UUID("26cdddac-bee2-4b74-8e16-29c66d4609d1") }
Percona Server for MongoDB server version: v4.4.1-3
---
The server generated these startup warnings when booting:
2020-11-13T12:01:17.704+00:00: ***** SERVER RESTARTED *****
2020-11-13T12:01:18.560+00:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted. You can use percona-server-mongodb-enable-auth.sh to fix it
---
rs0:PRIMARY>
En sık duyduğum sorun; “MongoDB’ye standalone olarak tüm node’lara bağlanabiliyorum ancak replica-set olarak bağlanamıyorum, hata veriyor.”
Genelde hep şu hatayı gördüm; replica set konfigürasyonu yapılırken hostname üzerinden veya FQDN ile konfigürasyon yapılmış. Connection string’te ister ip ister FQDN ister hostname yazsın hiç farketmez, sadece tek bir kural var: konfigürasyonda ne kullanılmış ise application sunucusu aynı ismi çözmeli. Örnek verecek olursak;
Replica Set’i konfigüre ederken aşağıdaki isimleri çözdürerek node’ları cluster’a dahil etmiştim;
rs.initiate( {
_id : "rs0",
members: [
{ _id: 0, host: "db1.forenda.com.tr:27017" },
{ _id: 1, host: "db2.forenda.com.tr:27017" },
{ _id: 2, host: "db3.forenda.com.tr:27017" }
]
})
Bu durumda rs0 replica set’ine bağlanmak isteyen uygulamaların mutlaka aşağıdaki kaydı hosts dosyalarına girmesi veya kayıtların DNS üzerinden çözülebilir olması gerekiyor.
192.168.33.11 db1.forenda.com.tr db1
192.168.33.11 db2.forenda.com.tr db2
192.168.33.11 db3.forenda.com.tr db3
Mongo shell üzerinden isim çözmüyorken ip ile replica set’e bağlanmayı deneyelim; BAŞARISIZ.
Not: IP’ye erişim var ancak FQDN çözülmüyor.
[root@db1 ~]# ping db1.forenda.com.tr
ping: db1.forenda.com.tr: Name or service not known
[root@db1 ~]# mongo --host rs0/192.168.33.11,192.168.33.12,192.168.33.13
Percona Server for MongoDB shell version v4.4.1-3
connecting to: mongodb://192.168.33.11:27017,192.168.33.12:27017,192.168.33.13:27017/?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0
{"t":{"$date":"2020-11-23T09:19:42.703Z"},"s":"I", "c":"NETWORK", "id":4333208, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM host selection timeout","attr":{"replicaSet":"rs0","error":"FailedToSatisfyReadPreference: Could not find host matching read preference { mode: \"nearest\" } for set rs0"}}
Error: connect failed to replica set rs0/192.168.33.11:27017,192.168.33.12:27017,192.168.33.13:27017 :
connect@src/mongo/shell/mongo.js:374:17
@(connect):2:6
exception: connect failed
exiting with code 1
Mongo shell üzerinden isim çözmüyorken hostname ile replica set’e bağlanmayı deneyelim; BAŞARISIZ.
Not: IP ve kısa isim (db1) çözüyor ancak FQDN çözmüyor.
[root@db1 ~]# ping db1.forenda.com.tr
ping: db1.forenda.com.tr: Name or service not known
[root@db1 ~]# ping db1
PING db1 (192.168.33.11) 56(84) bytes of data.
64 bytes from db1 (192.168.33.11): icmp_seq=1 ttl=64 time=0.016 ms
64 bytes from db1 (192.168.33.11): icmp_seq=2 ttl=64 time=0.062 ms
^C
--- db1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1032ms
rtt min/avg/max/mdev = 0.016/0.039/0.062/0.023 ms
[root@db1 ~]# mongo --host rs0/db1,db2,db3
Percona Server for MongoDB shell version v4.4.1-3
connecting to: mongodb://db1:27017,db2:27017,db3:27017/?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0
{"t":{"$date":"2020-11-23T09:21:09.390Z"},"s":"I", "c":"NETWORK", "id":4333208, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM host selection timeout","attr":{"replicaSet":"rs0","error":"FailedToSatisfyReadPreference: Could not find host matching read preference { mode: \"nearest\" } for set rs0"}}
Error: connect failed to replica set rs0/db1:27017,db2:27017,db3:27017 :
connect@src/mongo/shell/mongo.js:374:17
@(connect):2:6
exception: connect failed
exiting with code 1
Mongo shell üzerinden FQDN çözüyorken bağlanmayı deneyelim; BAŞARILI.
[root@db1 ~]# ping db1
PING db1.forenda.com.tr (192.168.33.11) 56(84) bytes of data.
64 bytes from db1.forenda.com.tr (192.168.33.11): icmp_seq=1 ttl=64 time=0.015 ms
64 bytes from db1.forenda.com.tr (192.168.33.11): icmp_seq=2 ttl=64 time=0.032 ms
^C
--- db1.forenda.com.tr ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.015/0.023/0.032/0.009 ms
[root@db1 ~]# ping db1.forenda.com.tr
PING db1.forenda.com.tr (192.168.33.11) 56(84) bytes of data.
64 bytes from db1.forenda.com.tr (192.168.33.11): icmp_seq=1 ttl=64 time=0.036 ms
64 bytes from db1.forenda.com.tr (192.168.33.11): icmp_seq=2 ttl=64 time=0.021 ms
^C
--- db1.forenda.com.tr ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1004ms
rtt min/avg/max/mdev = 0.021/0.028/0.036/0.009 ms
[root@db1 ~]# mongo --host rs0/192.168.33.11,192.168.33.12,192.168.33.13
Percona Server for MongoDB shell version v4.4.1-3
connecting to: mongodb://192.168.33.11:27017,192.168.33.12:27017,192.168.33.13:27017/?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0
Implicit session: session { "id" : UUID("700e5623-3e8b-4900-95c5-fe412292839a") }
Percona Server for MongoDB server version: v4.4.1-3
---
The server generated these startup warnings when booting:
2020-11-23T09:11:18.480+00:00: ***** SERVER RESTARTED *****
2020-11-23T09:11:19.287+00:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted. You can use percona-server-mongodb-enable-auth.sh to fix it
---
rs0:PRIMARY> exit
bye
[root@db1 ~]# mongo --host rs0/db1,db2,db3
Percona Server for MongoDB shell version v4.4.1-3
connecting to: mongodb://db1:27017,db2:27017,db3:27017/?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0
Implicit session: session { "id" : UUID("bf1eb318-b7af-4bcc-af1b-b9efb9bb6df1") }
Percona Server for MongoDB server version: v4.4.1-3
---
The server generated these startup warnings when booting:
2020-11-23T09:11:18.480+00:00: ***** SERVER RESTARTED *****
2020-11-23T09:11:19.287+00:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted. You can use percona-server-mongodb-enable-auth.sh to fix it
---
rs0:PRIMARY> exit
bye
[root@db1 ~]# mongo --host rs0/db1.forenda.com.tr,db2.forenda.com.tr,db3.forenda.com.tr
Percona Server for MongoDB shell version v4.4.1-3
connecting to: mongodb://db1.forenda.com.tr:27017,db2.forenda.com.tr:27017,db3.forenda.com.tr:27017/?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0
Implicit session: session { "id" : UUID("851ad99c-b7bd-4b8a-8824-d0003d4ec0bd") }
Percona Server for MongoDB server version: v4.4.1-3
---
The server generated these startup warnings when booting:
2020-11-23T09:11:18.480+00:00: ***** SERVER RESTARTED *****
2020-11-23T09:11:19.287+00:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted. You can use percona-server-mongodb-enable-auth.sh to fix it
---
rs0:PRIMARY> exit
bye
Bağlantı sırasında hangi ismi çözmesi gerektiğini görmek isterseniz, shell üzerinden –verbose ile daha ayrıntılı bilgi alabilirsiniz. Log’u detaylı incelerseniz hostname’lerin FQDN’e çevrilerek bağlantı yapılmaya çalışıldığını görebilirsiniz.
[root@db1 ~]# mongo --host rs0/db1,db2,db3 --verbose
{"t":{"$date":"2020-11-23T09:30:53.446Z"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
{"t":{"$date":"2020-11-23T09:30:53.446Z"},"s":"D1", "c":"EXECUTOR", "id":23104, "ctx":"OCSPManagerHTTP-0","msg":"Starting thread","attr":{"threadName":"OCSPManagerHTTP-0","poolName":"OCSPManagerHTTP"}}
Percona Server for MongoDB shell version v4.4.1-3
connecting to: mongodb://db1:27017,db2:27017,db3:27017/?compressors=disabled&gssapiServiceName=mongodb&replicaSet=rs0
{"t":{"$date":"2020-11-23T09:30:53.494Z"},"s":"I", "c":"NETWORK", "id":4603701, "ctx":"js","msg":"Starting Replica Set Monitor","attr":{"protocol":"streamable","uri":"rs0/db1:27017,db2:27017,db3:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.494Z"},"s":"D1", "c":"NETWORK", "id":4333206, "ctx":"js","msg":"Starting Replica Set Monitor","attr":{"uri":"rs0/db1:27017,db2:27017,db3:27017","config":{"topologyType":"Unknown","seedList":["db1:27017","db2:27017","db3:27017"],"heartbeatFrequency":{"durationMillis":10000},"connectionTimeout":{"durationMillis":10000},"localThreshhold":{"durationMillis":15}}}}
{"t":{"$date":"2020-11-23T09:30:53.494Z"},"s":"I", "c":"-", "id":4333223, "ctx":"js","msg":"RSM now monitoring replica set","attr":{"replicaSet":"rs0","nReplicaSetMembers":3}}
{"t":{"$date":"2020-11-23T09:30:53.494Z"},"s":"I", "c":"-", "id":4333226, "ctx":"js","msg":"RSM host was added to the topology","attr":{"replicaSet":"rs0","host":"db1:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.494Z"},"s":"D1", "c":"-", "id":4333217, "ctx":"js","msg":"RSM monitoring host","attr":{"host":"db1:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.494Z"},"s":"I", "c":"-", "id":4333226, "ctx":"js","msg":"RSM host was added to the topology","attr":{"replicaSet":"rs0","host":"db2:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.494Z"},"s":"D1", "c":"-", "id":4333217, "ctx":"js","msg":"RSM monitoring host","attr":{"host":"db2:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.494Z"},"s":"I", "c":"-", "id":4333226, "ctx":"js","msg":"RSM host was added to the topology","attr":{"replicaSet":"rs0","host":"db3:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.494Z"},"s":"D1", "c":"-", "id":4333217, "ctx":"js","msg":"RSM monitoring host","attr":{"host":"db3:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.494Z"},"s":"I", "c":"-", "id":4333218, "ctx":"js","msg":"Rescheduling the next replica set monitoring request","attr":{"replicaSet":"rs0","host":"db2:27017","delayMillis":0}}
{"t":{"$date":"2020-11-23T09:30:53.494Z"},"s":"I", "c":"CONNPOOL", "id":22576, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Connecting","attr":{"hostAndPort":"db1:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.494Z"},"s":"D1", "c":"NETWORK", "id":4333212, "ctx":"js","msg":"RSM start async getHosts","attr":{"replicaSet":"rs0","readPref":"{ mode: \"nearest\" }"}}
{"t":{"$date":"2020-11-23T09:30:53.494Z"},"s":"I", "c":"CONNPOOL", "id":22576, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Connecting","attr":{"hostAndPort":"db3:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.494Z"},"s":"I", "c":"CONNPOOL", "id":22576, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Connecting","attr":{"hostAndPort":"db2:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.496Z"},"s":"I", "c":"NETWORK", "id":23729, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"ServerPingMonitor is now monitoring host","attr":{"host":"db1:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"NETWORK", "id":4333213, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rs0","newTopologyDescription":"{ id: \"b10c9cce-082a-404a-b30c-8ab01e6934ca\", topologyType: \"ReplicaSetNoPrimary\", servers: { db1.forenda.com.tr:27017: { address: \"db1.forenda.com.tr:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, db2.forenda.com.tr:27017: { address: \"db2.forenda.com.tr:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, db3.forenda.com.tr:27017: { address: \"db3.forenda.com.tr:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} } }, logicalSessionTimeoutMinutes: 30, setName: \"rs0\", compatible: true, maxSetVersion: 60733, maxElectionId: ObjectId('7fffffff0000000000000007') }","previousTopologyDescription":"{ id: \"b10c9cce-082a-404a-b30c-8ab01e6934ca\", topologyType: \"Unknown\", servers: { db1:27017: { address: \"db1:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, db2:27017: { address: \"db2:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, db3:27017: { address: \"db3:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} } }, compatible: true }"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"D1", "c":"NETWORK", "id":4645401, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Skip publishing unconfirmed replica set members since there are no primaries or secondaries in the new topology","attr":{"replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"NETWORK", "id":462899, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"ServerPingMonitor for host was removed from being monitored","attr":{"host":"db1:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"D1", "c":"-", "id":4333220, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM closing host","attr":{"host":"db2:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"D1", "c":"-", "id":4333229, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM done closing host","attr":{"host":"db2:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"-", "id":4333225, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM host was removed from the topology","attr":{"replicaSet":"rs0","host":"db2:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"D1", "c":"-", "id":4333220, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM closing host","attr":{"host":"db1:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"D1", "c":"-", "id":4333229, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM done closing host","attr":{"host":"db1:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"-", "id":4333225, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM host was removed from the topology","attr":{"replicaSet":"rs0","host":"db1:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"D1", "c":"-", "id":4333220, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM closing host","attr":{"host":"db3:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"D1", "c":"-", "id":4333229, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM done closing host","attr":{"host":"db3:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"-", "id":4333225, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM host was removed from the topology","attr":{"replicaSet":"rs0","host":"db3:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"-", "id":4333226, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM host was added to the topology","attr":{"replicaSet":"rs0","host":"db1.forenda.com.tr:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"D1", "c":"-", "id":4333217, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM monitoring host","attr":{"host":"db1.forenda.com.tr:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"-", "id":4333226, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM host was added to the topology","attr":{"replicaSet":"rs0","host":"db2.forenda.com.tr:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"D1", "c":"-", "id":4333217, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM monitoring host","attr":{"host":"db2.forenda.com.tr:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"-", "id":4333226, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM host was added to the topology","attr":{"replicaSet":"rs0","host":"db3.forenda.com.tr:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"D1", "c":"-", "id":4333217, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM monitoring host","attr":{"host":"db3.forenda.com.tr:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"-", "id":4333218, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Rescheduling the next replica set monitoring request","attr":{"replicaSet":"rs0","host":"db1.forenda.com.tr:27017","delayMillis":0}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"-", "id":4333218, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Rescheduling the next replica set monitoring request","attr":{"replicaSet":"rs0","host":"db3.forenda.com.tr:27017","delayMillis":0}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"-", "id":4333218, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Rescheduling the next replica set monitoring request","attr":{"replicaSet":"rs0","host":"db2.forenda.com.tr:27017","delayMillis":0}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"-", "id":4333219, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM not processing response","attr":{"error":{"code":90,"codeName":"CallbackCanceled","errmsg":"Command canceled; original request was: RemoteCommand 3 -- target:[db2:27017] db:admin expDate:2020-11-23T09:31:03.494+00:00 cmd:{ isMaster: 1 }"},"replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"-", "id":4333219, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM not processing response","attr":{"error":{"code":90,"codeName":"CallbackCanceled","errmsg":"Command canceled; original request was: RemoteCommand 1 -- target:[db1:27017] db:admin expDate:2020-11-23T09:31:03.494+00:00 cmd:{ isMaster: 1 }"},"replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"-", "id":4333219, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM not processing response","attr":{"error":{"code":90,"codeName":"CallbackCanceled","errmsg":"Command canceled; original request was: RemoteCommand 2 -- target:[db3:27017] db:admin expDate:2020-11-23T09:31:03.494+00:00 cmd:{ isMaster: 1 }"},"replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"CONNPOOL", "id":22576, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Connecting","attr":{"hostAndPort":"db1.forenda.com.tr:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"CONNPOOL", "id":22576, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Connecting","attr":{"hostAndPort":"db3.forenda.com.tr:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.497Z"},"s":"I", "c":"CONNPOOL", "id":22576, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Connecting","attr":{"hostAndPort":"db2.forenda.com.tr:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.500Z"},"s":"I", "c":"NETWORK", "id":23729, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"ServerPingMonitor is now monitoring host","attr":{"host":"db1.forenda.com.tr:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.501Z"},"s":"I", "c":"NETWORK", "id":4333213, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rs0","newTopologyDescription":"{ id: \"b10c9cce-082a-404a-b30c-8ab01e6934ca\", topologyType: \"ReplicaSetWithPrimary\", servers: { db1.forenda.com.tr:27017: { address: \"db1.forenda.com.tr:27017\", topologyVersion: { processId: ObjectId('5fbb7cb6a0f74c9139b77782'), counter: 11 }, roundTripTime: 1723, lastWriteDate: new Date(1606123851000), opTime: { ts: Timestamp(1606123851, 1), t: 7 }, type: \"RSPrimary\", minWireVersion: 0, maxWireVersion: 9, me: \"db1.forenda.com.tr:27017\", setName: \"rs0\", setVersion: 60733, electionId: ObjectId('7fffffff0000000000000007'), primary: \"db1.forenda.com.tr:27017\", lastUpdateTime: new Date(1606123853500), logicalSessionTimeoutMinutes: 30, hosts: { 0: \"db1.forenda.com.tr:27017\", 1: \"db2.forenda.com.tr:27017\", 2: \"db3.forenda.com.tr:27017\" }, arbiters: {}, passives: {} }, db2.forenda.com.tr:27017: { address: \"db2.forenda.com.tr:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, db3.forenda.com.tr:27017: { address: \"db3.forenda.com.tr:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} } }, logicalSessionTimeoutMinutes: 30, setName: \"rs0\", compatible: true, maxSetVersion: 60733, maxElectionId: ObjectId('7fffffff0000000000000007') }","previousTopologyDescription":"{ id: \"b10c9cce-082a-404a-b30c-8ab01e6934ca\", topologyType: \"ReplicaSetNoPrimary\", servers: { db1.forenda.com.tr:27017: { address: \"db1.forenda.com.tr:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, db2.forenda.com.tr:27017: { address: \"db2.forenda.com.tr:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, db3.forenda.com.tr:27017: { address: \"db3.forenda.com.tr:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} } }, logicalSessionTimeoutMinutes: 30, setName: \"rs0\", compatible: true, maxSetVersion: 60733, maxElectionId: ObjectId('7fffffff0000000000000007') }"}}
{"t":{"$date":"2020-11-23T09:30:53.501Z"},"s":"D1", "c":"NETWORK", "id":433214, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM finished async getHosts","attr":{"replicaSet":"rs0","readPref":"{ mode: \"nearest\" }","durationMillis":7}}
{"t":{"$date":"2020-11-23T09:30:53.501Z"},"s":"I", "c":"NETWORK", "id":23729, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"ServerPingMonitor is now monitoring host","attr":{"host":"db2.forenda.com.tr:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.501Z"},"s":"I", "c":"NETWORK", "id":4333213, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rs0","newTopologyDescription":"{ id: \"b10c9cce-082a-404a-b30c-8ab01e6934ca\", topologyType: \"ReplicaSetWithPrimary\", servers: { db1.forenda.com.tr:27017: { address: \"db1.forenda.com.tr:27017\", topologyVersion: { processId: ObjectId('5fbb7cb6a0f74c9139b77782'), counter: 11 }, roundTripTime: 1723, lastWriteDate: new Date(1606123851000), opTime: { ts: Timestamp(1606123851, 1), t: 7 }, type: \"RSPrimary\", minWireVersion: 0, maxWireVersion: 9, me: \"db1.forenda.com.tr:27017\", setName: \"rs0\", setVersion: 60733, electionId: ObjectId('7fffffff0000000000000007'), primary: \"db1.forenda.com.tr:27017\", lastUpdateTime: new Date(1606123853500), logicalSessionTimeoutMinutes: 30, hosts: { 0: \"db1.forenda.com.tr:27017\", 1: \"db2.forenda.com.tr:27017\", 2: \"db3.forenda.com.tr:27017\" }, arbiters: {}, passives: {} }, db2.forenda.com.tr:27017: { address: \"db2.forenda.com.tr:27017\", topologyVersion: { processId: ObjectId('5fbb7cacf012737dde633429'), counter: 13 }, roundTripTime: 2136, lastWriteDate: new Date(1606123851000), opTime: { ts: Timestamp(1606123851, 1), t: 7 }, type: \"RSSecondary\", minWireVersion: 0, maxWireVersion: 9, me: \"db2.forenda.com.tr:27017\", setName: \"rs0\", setVersion: 60733, primary: \"db1.forenda.com.tr:27017\", lastUpdateTime: new Date(1606123853501), logicalSessionTimeoutMinutes: 30, hosts: { 0: \"db1.forenda.com.tr:27017\", 1: \"db2.forenda.com.tr:27017\", 2: \"db3.forenda.com.tr:27017\" }, arbiters: {}, passives: {} }, db3.forenda.com.tr:27017: { address: \"db3.forenda.com.tr:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} } }, logicalSessionTimeoutMinutes: 30, setName: \"rs0\", compatible: true, maxSetVersion: 60733, maxElectionId: ObjectId('7fffffff0000000000000007') }","previousTopologyDescription":"{ id: \"b10c9cce-082a-404a-b30c-8ab01e6934ca\", topologyType: \"ReplicaSetWithPrimary\", servers: { db1.forenda.com.tr:27017: { address: \"db1.forenda.com.tr:27017\", topologyVersion: { processId: ObjectId('5fbb7cb6a0f74c9139b77782'), counter: 11 }, roundTripTime: 1723, lastWriteDate: new Date(1606123851000), opTime: { ts: Timestamp(1606123851, 1), t: 7 }, type: \"RSPrimary\", minWireVersion: 0, maxWireVersion: 9, me: \"db1.forenda.com.tr:27017\", setName: \"rs0\", setVersion: 60733, electionId: ObjectId('7fffffff0000000000000007'), primary: \"db1.forenda.com.tr:27017\", lastUpdateTime: new Date(1606123853500), logicalSessionTimeoutMinutes: 30, hosts: { 0: \"db1.forenda.com.tr:27017\", 1: \"db2.forenda.com.tr:27017\", 2: \"db3.forenda.com.tr:27017\" }, arbiters: {}, passives: {} }, db2.forenda.com.tr:27017: { address: \"db2.forenda.com.tr:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} }, db3.forenda.com.tr:27017: { address: \"db3.forenda.com.tr:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} } }, logicalSessionTimeoutMinutes: 30, setName: \"rs0\", compatible: true, maxSetVersion: 60733, maxElectionId: ObjectId('7fffffff0000000000000007') }"}}
{"t":{"$date":"2020-11-23T09:30:53.501Z"},"s":"I", "c":"NETWORK", "id":23729, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"ServerPingMonitor is now monitoring host","attr":{"host":"db3.forenda.com.tr:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.501Z"},"s":"I", "c":"NETWORK", "id":4333213, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rs0","newTopologyDescription":"{ id: \"b10c9cce-082a-404a-b30c-8ab01e6934ca\", topologyType: \"ReplicaSetWithPrimary\", servers: { db1.forenda.com.tr:27017: { address: \"db1.forenda.com.tr:27017\", topologyVersion: { processId: ObjectId('5fbb7cb6a0f74c9139b77782'), counter: 11 }, roundTripTime: 1723, lastWriteDate: new Date(1606123851000), opTime: { ts: Timestamp(1606123851, 1), t: 7 }, type: \"RSPrimary\", minWireVersion: 0, maxWireVersion: 9, me: \"db1.forenda.com.tr:27017\", setName: \"rs0\", setVersion: 60733, electionId: ObjectId('7fffffff0000000000000007'), primary: \"db1.forenda.com.tr:27017\", lastUpdateTime: new Date(1606123853500), logicalSessionTimeoutMinutes: 30, hosts: { 0: \"db1.forenda.com.tr:27017\", 1: \"db2.forenda.com.tr:27017\", 2: \"db3.forenda.com.tr:27017\" }, arbiters: {}, passives: {} }, db2.forenda.com.tr:27017: { address: \"db2.forenda.com.tr:27017\", topologyVersion: { processId: ObjectId('5fbb7cacf012737dde633429'), counter: 13 }, roundTripTime: 2136, lastWriteDate: new Date(1606123851000), opTime: { ts: Timestamp(1606123851, 1), t: 7 }, type: \"RSSecondary\", minWireVersion: 0, maxWireVersion: 9, me: \"db2.forenda.com.tr:27017\", setName: \"rs0\", setVersion: 60733, primary: \"db1.forenda.com.tr:27017\", lastUpdateTime: new Date(1606123853501), logicalSessionTimeoutMinutes: 30, hosts: { 0: \"db1.forenda.com.tr:27017\", 1: \"db2.forenda.com.tr:27017\", 2: \"db3.forenda.com.tr:27017\" }, arbiters: {}, passives: {} }, db3.forenda.com.tr:27017: { address: \"db3.forenda.com.tr:27017\", topologyVersion: { processId: ObjectId('5fbb7cae0212c690a8364418'), counter: 8 }, roundTripTime: 2248, lastWriteDate: new Date(1606123851000), opTime: { ts: Timestamp(1606123851, 1), t: 7 }, type: \"RSSecondary\", minWireVersion: 0, maxWireVersion: 9, me: \"db3.forenda.com.tr:27017\", setName: \"rs0\", setVersion: 60733, primary: \"db1.forenda.com.tr:27017\", lastUpdateTime: new Date(1606123853501), logicalSessionTimeoutMinutes: 30, hosts: { 0: \"db1.forenda.com.tr:27017\", 1: \"db2.forenda.com.tr:27017\", 2: \"db3.forenda.com.tr:27017\" }, arbiters: {}, passives: {} } }, logicalSessionTimeoutMinutes: 30, setName: \"rs0\", compatible: true, maxSetVersion: 60733, maxElectionId: ObjectId('7fffffff0000000000000007') }","previousTopologyDescription":"{ id: \"b10c9cce-082a-404a-b30c-8ab01e6934ca\", topologyType: \"ReplicaSetWithPrimary\", servers: { db1.forenda.com.tr:27017: { address: \"db1.forenda.com.tr:27017\", topologyVersion: { processId: ObjectId('5fbb7cb6a0f74c9139b77782'), counter: 11 }, roundTripTime: 1723, lastWriteDate: new Date(1606123851000), opTime: { ts: Timestamp(1606123851, 1), t: 7 }, type: \"RSPrimary\", minWireVersion: 0, maxWireVersion: 9, me: \"db1.forenda.com.tr:27017\", setName: \"rs0\", setVersion: 60733, electionId: ObjectId('7fffffff0000000000000007'), primary: \"db1.forenda.com.tr:27017\", lastUpdateTime: new Date(1606123853500), logicalSessionTimeoutMinutes: 30, hosts: { 0: \"db1.forenda.com.tr:27017\", 1: \"db2.forenda.com.tr:27017\", 2: \"db3.forenda.com.tr:27017\" }, arbiters: {}, passives: {} }, db2.forenda.com.tr:27017: { address: \"db2.forenda.com.tr:27017\", topologyVersion: { processId: ObjectId('5fbb7cacf012737dde633429'), counter: 13 }, roundTripTime: 2136, lastWriteDate: new Date(1606123851000), opTime: { ts: Timestamp(1606123851, 1), t: 7 }, type: \"RSSecondary\", minWireVersion: 0, maxWireVersion: 9, me: \"db2.forenda.com.tr:27017\", setName: \"rs0\", setVersion: 60733, primary: \"db1.forenda.com.tr:27017\", lastUpdateTime: new Date(1606123853501), logicalSessionTimeoutMinutes: 30, hosts: { 0: \"db1.forenda.com.tr:27017\", 1: \"db2.forenda.com.tr:27017\", 2: \"db3.forenda.com.tr:27017\" }, arbiters: {}, passives: {} }, db3.forenda.com.tr:27017: { address: \"db3.forenda.com.tr:27017\", type: \"Unknown\", minWireVersion: 0, maxWireVersion: 0, lastUpdateTime: new Date(-9223372036854775808), hosts: {}, arbiters: {}, passives: {} } }, logicalSessionTimeoutMinutes: 30, setName: \"rs0\", compatible: true, maxSetVersion: 60733, maxElectionId: ObjectId('7fffffff0000000000000007') }"}}
{"t":{"$date":"2020-11-23T09:30:53.501Z"},"s":"D1", "c":"NETWORK", "id":20109, "ctx":"js","msg":"Creating new connection","attr":{"hostAndPort":"db1.forenda.com.tr:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.502Z"},"s":"D1", "c":"NETWORK", "id":20119, "ctx":"js","msg":"Connected to host","attr":{"connString":"db1.forenda.com.tr:27017"}}
{"t":{"$date":"2020-11-23T09:30:53.502Z"},"s":"D1", "c":"-", "id":4333221, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM received successful isMaster","attr":{"host":"db1.forenda.com.tr:27017","replicaSet":"rs0","isMasterReply":"{ topologyVersion: { processId: ObjectId('5fbb7cb6a0f74c9139b77782'), counter: 11 }, hosts: [ \"db1.forenda.com.tr:27017\", \"db2.forenda.com.tr:27017\", \"db3.forenda.com.tr:27017\" ], setName: \"rs0\", setVersion: 60733, ismaster: true, secondary: false, primary: \"db1.forenda.com.tr:27017\", me: \"db1.forenda.com.tr:27017\", electionId: ObjectId('7fffffff0000000000000007'), lastWrite: { opTime: { ts: Timestamp(1606123851, 1), t: 7 }, lastWriteDate: new Date(1606123851000), majorityOpTime: { ts: Timestamp(1606123851, 1), t: 7 }, majorityWriteDate: new Date(1606123851000) }, maxBsonObjectSize: 16777216, maxMessageSizeBytes: 48000000, maxWriteBatchSize: 100000, localTime: new Date(1606123853502), logicalSessionTimeoutMinutes: 30, connectionId: 92, minWireVersion: 0, maxWireVersion: 9, readOnly: false, ok: 1.0, $clusterTime: { clusterTime: Timestamp(1606123851, 1), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, operationTime: Timestamp(1606123851, 1) }"}}
{"t":{"$date":"2020-11-23T09:30:53.503Z"},"s":"D1", "c":"NETWORK", "id":4668132, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"ReplicaSetMonitor ping success","attr":{"host":"db1.forenda.com.tr:27017","replicaSet":"rs0","durationMicros":2260}}
{"t":{"$date":"2020-11-23T09:30:53.503Z"},"s":"D1", "c":"-", "id":4333221, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM received successful isMaster","attr":{"host":"db2.forenda.com.tr:27017","replicaSet":"rs0","isMasterReply":"{ topologyVersion: { processId: ObjectId('5fbb7cacf012737dde633429'), counter: 13 }, hosts: [ \"db1.forenda.com.tr:27017\", \"db2.forenda.com.tr:27017\", \"db3.forenda.com.tr:27017\" ], setName: \"rs0\", setVersion: 60733, ismaster: false, secondary: true, primary: \"db1.forenda.com.tr:27017\", me: \"db2.forenda.com.tr:27017\", lastWrite: { opTime: { ts: Timestamp(1606123851, 1), t: 7 }, lastWriteDate: new Date(1606123851000), majorityOpTime: { ts: Timestamp(1606123851, 1), t: 7 }, majorityWriteDate: new Date(1606123851000) }, maxBsonObjectSize: 16777216, maxMessageSizeBytes: 48000000, maxWriteBatchSize: 100000, localTime: new Date(1606123853503), logicalSessionTimeoutMinutes: 30, connectionId: 87, minWireVersion: 0, maxWireVersion: 9, readOnly: false, ok: 1.0, $clusterTime: { clusterTime: Timestamp(1606123851, 1), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, operationTime: Timestamp(1606123851, 1) }"}}
{"t":{"$date":"2020-11-23T09:30:53.503Z"},"s":"D1", "c":"NETWORK", "id":20110, "ctx":"js","msg":"Connected connection!"}
{"t":{"$date":"2020-11-23T09:30:53.504Z"},"s":"D1", "c":"NETWORK", "id":466811, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"ServerPingMonitor already monitoring host","attr":{"host":"db1.forenda.com.tr:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.504Z"},"s":"D1", "c":"NETWORK", "id":466811, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"ServerPingMonitor already monitoring host","attr":{"host":"db2.forenda.com.tr:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.504Z"},"s":"D1", "c":"-", "id":4333221, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM received successful isMaster","attr":{"host":"db3.forenda.com.tr:27017","replicaSet":"rs0","isMasterReply":"{ topologyVersion: { processId: ObjectId('5fbb7cae0212c690a8364418'), counter: 8 }, hosts: [ \"db1.forenda.com.tr:27017\", \"db2.forenda.com.tr:27017\", \"db3.forenda.com.tr:27017\" ], setName: \"rs0\", setVersion: 60733, ismaster: false, secondary: true, primary: \"db1.forenda.com.tr:27017\", me: \"db3.forenda.com.tr:27017\", lastWrite: { opTime: { ts: Timestamp(1606123851, 1), t: 7 }, lastWriteDate: new Date(1606123851000), majorityOpTime: { ts: Timestamp(1606123851, 1), t: 7 }, majorityWriteDate: new Date(1606123851000) }, maxBsonObjectSize: 16777216, maxMessageSizeBytes: 48000000, maxWriteBatchSize: 100000, localTime: new Date(1606123853503), logicalSessionTimeoutMinutes: 30, connectionId: 82, minWireVersion: 0, maxWireVersion: 9, readOnly: false, ok: 1.0, $clusterTime: { clusterTime: Timestamp(1606123851, 1), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, operationTime: Timestamp(1606123851, 1) }"}}
{"t":{"$date":"2020-11-23T09:30:53.504Z"},"s":"D1", "c":"NETWORK", "id":4668132, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"ReplicaSetMonitor ping success","attr":{"host":"db2.forenda.com.tr:27017","replicaSet":"rs0","durationMicros":3296}}
{"t":{"$date":"2020-11-23T09:30:53.505Z"},"s":"D1", "c":"NETWORK", "id":466811, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"ServerPingMonitor already monitoring host","attr":{"host":"db3.forenda.com.tr:27017","replicaSet":"rs0"}}
{"t":{"$date":"2020-11-23T09:30:53.506Z"},"s":"D1", "c":"NETWORK", "id":4668132, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"ReplicaSetMonitor ping success","attr":{"host":"db3.forenda.com.tr:27017","replicaSet":"rs0","durationMicros":4090}}
Implicit session: session { "id" : UUID("8fa9a4d3-e94f-47b7-8ce2-fcf003aa0e63") }
Percona Server for MongoDB server version: v4.4.1-3
---
The server generated these startup warnings when booting:
2020-11-23T09:11:18.480+00:00: ***** SERVER RESTARTED *****
2020-11-23T09:11:19.287+00:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted. You can use percona-server-mongodb-enable-auth.sh to fix it
---
rs0:PRIMARY>
Faydalı olmas dileğiyle.