Comments (8)
解决了,我的mongodb是被勒索了
from turms.
项目是拉取v0.10.0-SNAPSHOT的代码
from turms.
from turms.
turms-service only drops collections:
- At startup;
- If it's running in non-production (e.g.
dev
,test
) environments, andturms.service.fake.clear-all-collections-before-faking
istrue
, which istrue
by default in thetest
profile, butfalse
in other profiles.
You can use profiles other than thetest
profile so that turms-service won't delete your data.
You can find the string Start dropping databases
in logs to check if turms-service dropped your data. If you cannot find such strings, it's not turms-service that deleted your data.
from turms.
1.我在turms-service下的application.yaml配置了service.fake.enabled=false,service.fake.clear-all-collections-before-faking=false,并且运行时使用了ENV=prod,排除了非生产环境。
2.我再检查一下日志,是否包含有字符串。
from turms.
@JamesChenX 这是日志信息:
[root@iZwz92h1x18h2id6jj1ndnZ target]# java -jar turms-service-0.10.0-SNAPSHOT-exec.jar
2024-02-23 07:35:45.274 INFO S ogzpwrjk main im.turms.service.TurmsServiceApplication : Starting TurmsServiceApplication v0.10.0-SNAPSHOT using Java 17.0.10 with PID 2112797 (/home/turmsProject/turms/turms-service/target/turms-service-0.10.0-SNAPSHOT-exec.jar started by root in /home/turmsProject/turms/turms-service/target)
2024-02-23 07:35:45.321 INFO S ogzpwrjk main im.turms.service.TurmsServiceApplication : The following 2 profiles are active: "prod", "prod-latest"
2024-02-23 07:35:47.569 WARN S ogzpwrjk main i.t.s.c.i.c.TurmsApplicationContext : The property "spring.config.location" is empty
2024-02-23 07:35:47.571 INFO S ogzpwrjk main i.t.s.c.i.c.TurmsApplicationContext : The local node with the build properties {version=0.10.0-SNAPSHOT, commitId=8e1df48d4b713f7a8c945cbc4dd76e0ecad5c396, buildTime=2024-02-23T07:33:55+0000} is running in a production environment
2024-02-23 07:35:47.597 WARN S ogzpwrjk main i.t.s.c.i.c.TurmsApplicationContext : The kernel parameter "net.ipv4.tcp_no_metrics_save" is suggested to be "1" but it is "0" actually. You can update it via "sudo sysctl -w net.ipv4.tcp_no_metrics_save=null"
2024-02-23 07:35:47.598 WARN S ogzpwrjk main i.t.s.c.i.c.TurmsApplicationContext : The kernel parameter "net.ipv4.tcp_fastopen" is suggested to be "3" but it is "1" actually. You can update it via "sudo sysctl -w net.ipv4.tcp_fastopen=null"
2024-02-23 07:35:49.084 INFO S ogzpwrjk main org.mongodb.driver.client : MongoClient with metadata {"driver": {"name": "mongo-java-driver|reactive-streams", "version": "4.8.2"}, "os": {"type": "Linux", "name": "Linux", "architecture": "amd64", "version": "5.10.134-15.al8.x86_64"}, "platform": "Java/Oracle Corporation/17.0.10+11-LTS-240"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=null, streamFactoryFactory=NettyStreamFactoryFactory{eventLoopGroup=io.netty.channel.nio.NioEventLoopGroup@1a9c38eb, socketChannelClass=class io.netty.channel.socket.nio.NioSocketChannel, allocator=PooledByteBufAllocator(directByDefault: true), sslContext=null}, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DocumentCodecProvider{}, MapCodecProvider{}, IterableCodecProvider{}, Jsr310CodecProvider{}, BsonCodecProvider{}, im.turms.server.common.storage.mongo.codec.MongoCodecProvider@319bc845]}, clusterSettings={hosts=[localhost:27017], srvServiceName=mongodb, mode=SINGLE, requiredClusterType=UNKNOWN, requiredReplicaSetName='null', serverSelector='null', clusterListeners='[im.turms.server.common.storage.mongo.MongoContext$1@4c5474f5]', serverSelectionTimeout='30000 ms', localThreshold='30000 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, sendBufferSize=0}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, sendBufferSize=0}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=UNSPECIFIED, serverApi=null, autoEncryptionSettings=null, contextProvider=null}
2024-02-23 07:35:49.244 INFO S ogzpwrjk cluster-ClusterId{value='65d84ad48d38f91041c782e5', description='null'}-localhost:27017 org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=SHARD_ROUTER, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=59323098}
2024-02-23 07:35:49.368 INFO S ogzpwrjk main i.t.s.s.m.MongoCollectionInitializer : Start creating collections
2024-02-23 07:35:49.369 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.483 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.484 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.484 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.484 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.484 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.484 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.484 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.484 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.484 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.484 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.484 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.484 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.484 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.485 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.485 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.485 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.485 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:49.485 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:50.322 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.s.m.MongoCollectionInitializer : All collections are created
2024-02-23 07:35:50.415 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.s.m.MongoCollectionInitializer : Deleting the existing tags of the collection: "message"
2024-02-23 07:35:50.430 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.s.m.MongoCollectionInitializer : Deleted the existing tags of the collection: "message"
2024-02-23 07:35:50.430 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.s.m.MongoCollectionInitializer : Adding shards to zones for the collection: "message"
2024-02-23 07:35:50.432 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.s.m.MongoCollectionInitializer : Added shards to zones for the collection: "message"
2024-02-23 07:35:50.444 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : o;mdatabase
2024-02-23 07:35:50.503 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupJoinQuestion": {"gid": "hashed"}
2024-02-23 07:35:50.621 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupJoinRequest": {"rqid": 1, "cd": 1}, {"gid": "hashed"}
2024-02-23 07:35:50.669 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "message": {"dyd": 1, "cid": 1}, {"dd": 1}, {"sip": 1}
2024-02-23 07:35:50.694 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "privateConversation": {"_id.oid": "hashed"}
2024-02-23 07:35:50.720 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupBlockedUser": {"_id.gid": 1, "_id.uid": 1}
2024-02-23 07:35:50.758 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupInvitation": {"ieid": 1, "cd": 1}, {"gid": "hashed"}
2024-02-23 07:35:50.781 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userFriendRequest": {"rtid": 1, "cd": 1, "rrid": 1}
2024-02-23 07:35:50.817 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationship": {"_id.oid": "hashed"}, {"_id.rid": "hashed"}
2024-02-23 07:35:50.857 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "group": {"oid": "hashed"}, {"dd": 1}
2024-02-23 07:35:50.879 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationshipGroup": {"_id.oid": "hashed"}
2024-02-23 07:35:50.923 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupMember": {"_id.gid": "hashed"}, {"_id.uid": "hashed"}
2024-02-23 07:35:50.945 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationshipGroupMember": {"_id.oid": "hashed"}
2024-02-23 07:35:50.951 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupJoinQuestion": {"gid": "hashed"}
2024-02-23 07:35:50.953 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupJoinRequest": {"rqid": 1, "cd": 1}, {"gid": "hashed"}
2024-02-23 07:35:50.958 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "message": {"dyd": 1, "cid": 1}, {"dd": 1}, {"sip": 1}
2024-02-23 07:35:50.961 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "privateConversation": {"_id.oid": "hashed"}
2024-02-23 07:35:50.969 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupBlockedUser": {"_id.gid": 1, "_id.uid": 1}
2024-02-23 07:35:50.975 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupInvitation": {"ieid": 1, "cd": 1}, {"gid": "hashed"}
2024-02-23 07:35:50.979 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userFriendRequest": {"rtid": 1, "cd": 1, "rrid": 1}
2024-02-23 07:35:50.984 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationship": {"_id.oid": "hashed"}, {"_id.rid": "hashed"}
2024-02-23 07:35:50.989 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "group": {"oid": "hashed"}, {"dd": 1}
2024-02-23 07:35:50.999 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationshipGroup": {"_id.oid": "hashed"}
2024-02-23 07:35:51.049 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupMember": {"_id.gid": "hashed"}, {"_id.uid": "hashed"}
2024-02-23 07:35:51.061 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationshipGroupMember": {"_id.oid": "hashed"}
2024-02-23 07:35:51.068 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupJoinQuestion": {"gid": "hashed"}
2024-02-23 07:35:51.074 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupJoinRequest": {"rqid": 1, "cd": 1}, {"gid": "hashed"}
2024-02-23 07:35:51.081 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "message": {"dyd": 1, "cid": 1}, {"dd": 1}, {"sip": 1}
2024-02-23 07:35:51.084 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "privateConversation": {"_id.oid": "hashed"}
2024-02-23 07:35:51.088 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupBlockedUser": {"_id.gid": 1, "_id.uid": 1}
2024-02-23 07:35:51.092 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupInvitation": {"ieid": 1, "cd": 1}, {"gid": "hashed"}
2024-02-23 07:35:51.097 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userFriendRequest": {"rtid": 1, "cd": 1, "rrid": 1}
2024-02-23 07:35:51.101 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationship": {"_id.oid": "hashed"}, {"_id.rid": "hashed"}
2024-02-23 07:35:51.104 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "group": {"oid": "hashed"}, {"dd": 1}
2024-02-23 07:35:51.107 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationshipGroup": {"_id.oid": "hashed"}
2024-02-23 07:35:51.110 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupMember": {"_id.gid": "hashed"}, {"_id.uid": "hashed"}
2024-02-23 07:35:51.113 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationshipGroupMember": {"_id.oid": "hashed"}
2024-02-23 07:35:51.116 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupJoinQuestion": {"gid": "hashed"}
2024-02-23 07:35:51.121 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupJoinRequest": {"rqid": 1, "cd": 1}, {"gid": "hashed"}
2024-02-23 07:35:51.123 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "message": {"dyd": 1, "cid": 1}, {"dd": 1}, {"sip": 1}
2024-02-23 07:35:51.127 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "privateConversation": {"_id.oid": "hashed"}
2024-02-23 07:35:51.129 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupBlockedUser": {"_id.gid": 1, "_id.uid": 1}
2024-02-23 07:35:51.134 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupInvitation": {"ieid": 1, "cd": 1}, {"gid": "hashed"}
2024-02-23 07:35:51.138 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userFriendRequest": {"rtid": 1, "cd": 1, "rrid": 1}
2024-02-23 07:35:51.141 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationship": {"_id.oid": "hashed"}, {"_id.rid": "hashed"}
2024-02-23 07:35:51.148 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "group": {"oid": "hashed"}, {"dd": 1}
2024-02-23 07:35:51.151 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationshipGroup": {"_id.oid": "hashed"}
2024-02-23 07:35:51.153 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupMember": {"_id.gid": "hashed"}, {"_id.uid": "hashed"}
2024-02-23 07:35:51.155 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationshipGroupMember": {"_id.oid": "hashed"}
2024-02-23 07:35:51.161 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupJoinQuestion": {"gid": "hashed"}
2024-02-23 07:35:51.164 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupJoinRequest": {"rqid": 1, "cd": 1}, {"gid": "hashed"}
2024-02-23 07:35:51.166 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "message": {"dyd": 1, "cid": 1}, {"dd": 1}, {"sip": 1}
2024-02-23 07:35:51.169 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "privateConversation": {"_id.oid": "hashed"}
2024-02-23 07:35:51.173 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupBlockedUser": {"_id.gid": 1, "_id.uid": 1}
2024-02-23 07:35:51.176 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupInvitation": {"ieid": 1, "cd": 1}, {"gid": "hashed"}
2024-02-23 07:35:51.181 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userFriendRequest": {"rtid": 1, "cd": 1, "rrid": 1}
2024-02-23 07:35:51.184 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationship": {"_id.oid": "hashed"}, {"_id.rid": "hashed"}
2024-02-23 07:35:51.187 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "group": {"oid": "hashed"}, {"dd": 1}
2024-02-23 07:35:51.189 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationshipGroup": {"_id.oid": "hashed"}
2024-02-23 07:35:51.191 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "groupMember": {"_id.gid": "hashed"}, {"_id.uid": "hashed"}
2024-02-23 07:35:51.194 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "userRelationshipGroupMember": {"_id.oid": "hashed"}
2024-02-23 07:35:51.199 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Enabled sharding the database: "turms"
2024-02-23 07:35:51.489 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupJoinQuestion" with the shard key: {"gid": "hashed"}
2024-02-23 07:35:51.628 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupJoinRequest" with the shard key: {"rqid": 1}
2024-02-23 07:35:51.777 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupVersion" with the shard key: {"_id": 1}
2024-02-23 07:35:51.935 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.message" with the shard key: {"dyd": 1}
2024-02-23 07:35:52.236 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.privateConversation" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:52.374 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupBlockedUser" with the shard key: {"_id.gid": 1}
2024-02-23 07:35:52.525 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupInvitation" with the shard key: {"ieid": 1}
2024-02-23 07:35:52.653 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userFriendRequest" with the shard key: {"rtid": 1}
2024-02-23 07:35:52.952 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationship" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:53.126 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userVersion" with the shard key: {"_id": 1}
2024-02-23 07:35:53.256 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.group" with the shard key: {"_id": 1}
2024-02-23 07:35:53.685 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationshipGroup" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:54.224 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupMember" with the shard key: {"_id.gid": "hashed"}
2024-02-23 07:35:54.488 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.user" with the shard key: {"_id": 1}
2024-02-23 07:35:54.620 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupConversation" with the shard key: {"_id": 1}
2024-02-23 07:35:54.885 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationshipGroupMember" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:54.896 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupJoinQuestion" with the shard key: {"gid": "hashed"}
2024-02-23 07:35:54.906 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupJoinRequest" with the shard key: {"rqid": 1}
2024-02-23 07:35:54.915 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupVersion" with the shard key: {"_id": 1}
2024-02-23 07:35:54.942 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.message" with the shard key: {"dyd": 1}
2024-02-23 07:35:54.952 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.privateConversation" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:54.960 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupBlockedUser" with the shard key: {"_id.gid": 1}
2024-02-23 07:35:54.968 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupInvitation" with the shard key: {"ieid": 1}
2024-02-23 07:35:54.987 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userFriendRequest" with the shard key: {"rtid": 1}
2024-02-23 07:35:54.996 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationship" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.037 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userVersion" with the shard key: {"_id": 1}
2024-02-23 07:35:55.045 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.group" with the shard key: {"_id": 1}
2024-02-23 07:35:55.070 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationshipGroup" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.078 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupMember" with the shard key: {"_id.gid": "hashed"}
2024-02-23 07:35:55.089 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.user" with the shard key: {"_id": 1}
2024-02-23 07:35:55.097 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupConversation" with the shard key: {"_id": 1}
2024-02-23 07:35:55.135 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationshipGroupMember" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.144 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupJoinQuestion" with the shard key: {"gid": "hashed"}
2024-02-23 07:35:55.152 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupJoinRequest" with the shard key: {"rqid": 1}
2024-02-23 07:35:55.159 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupVersion" with the shard key: {"_id": 1}
2024-02-23 07:35:55.165 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.message" with the shard key: {"dyd": 1}
2024-02-23 07:35:55.184 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.privateConversation" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.192 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupBlockedUser" with the shard key: {"_id.gid": 1}
2024-02-23 07:35:55.199 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupInvitation" with the shard key: {"ieid": 1}
2024-02-23 07:35:55.208 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userFriendRequest" with the shard key: {"rtid": 1}
2024-02-23 07:35:55.214 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationship" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.220 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userVersion" with the shard key: {"_id": 1}
2024-02-23 07:35:55.249 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.group" with the shard key: {"_id": 1}
2024-02-23 07:35:55.262 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationshipGroup" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.269 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupMember" with the shard key: {"_id.gid": "hashed"}
2024-02-23 07:35:55.278 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.user" with the shard key: {"_id": 1}
2024-02-23 07:35:55.286 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupConversation" with the shard key: {"_id": 1}
2024-02-23 07:35:55.295 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationshipGroupMember" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.301 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupJoinQuestion" with the shard key: {"gid": "hashed"}
2024-02-23 07:35:55.312 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupJoinRequest" with the shard key: {"rqid": 1}
2024-02-23 07:35:55.330 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupVersion" with the shard key: {"_id": 1}
2024-02-23 07:35:55.355 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.message" with the shard key: {"dyd": 1}
2024-02-23 07:35:55.367 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.privateConversation" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.374 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupBlockedUser" with the shard key: {"_id.gid": 1}
2024-02-23 07:35:55.383 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupInvitation" with the shard key: {"ieid": 1}
2024-02-23 07:35:55.390 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userFriendRequest" with the shard key: {"rtid": 1}
2024-02-23 07:35:55.398 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationship" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.405 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userVersion" with the shard key: {"_id": 1}
2024-02-23 07:35:55.411 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.group" with the shard key: {"_id": 1}
2024-02-23 07:35:55.426 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationshipGroup" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.440 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupMember" with the shard key: {"_id.gid": "hashed"}
2024-02-23 07:35:55.448 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.user" with the shard key: {"_id": 1}
2024-02-23 07:35:55.456 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupConversation" with the shard key: {"_id": 1}
2024-02-23 07:35:55.463 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationshipGroupMember" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.471 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupJoinQuestion" with the shard key: {"gid": "hashed"}
2024-02-23 07:35:55.479 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupJoinRequest" with the shard key: {"rqid": 1}
2024-02-23 07:35:55.488 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupVersion" with the shard key: {"_id": 1}
2024-02-23 07:35:55.497 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.message" with the shard key: {"dyd": 1}
2024-02-23 07:35:55.504 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.privateConversation" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.511 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupBlockedUser" with the shard key: {"_id.gid": 1}
2024-02-23 07:35:55.518 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupInvitation" with the shard key: {"ieid": 1}
2024-02-23 07:35:55.528 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userFriendRequest" with the shard key: {"rtid": 1}
2024-02-23 07:35:55.534 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationship" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.543 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userVersion" with the shard key: {"_id": 1}
2024-02-23 07:35:55.550 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.group" with the shard key: {"_id": 1}
2024-02-23 07:35:55.557 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationshipGroup" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.564 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupMember" with the shard key: {"_id.gid": "hashed"}
2024-02-23 07:35:55.570 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.user" with the shard key: {"_id": 1}
2024-02-23 07:35:55.578 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.groupConversation" with the shard key: {"_id": 1}
2024-02-23 07:35:55.588 INFO S ogzpwrjk mongo-event-loop-1-1 i.t.s.c.s.m.o.TurmsMongoOperations : Sharded the collection "turms.userRelationshipGroupMember" with the shard key: {"_id.oid": "hashed"}
2024-02-23 07:35:55.625 INFO S ogzpwrjk main i.t.s.c.i.h.CpuHealthChecker : The CPU has become healthy. The current CPU load is: 0.0
2024-02-23 07:35:55.635 WARN S ogzpwrjk main i.t.s.c.i.h.MemoryHealthChecker : The max available memory (7227MB) is larger than the total of the available direct memory (1806MB), the max heap memory (1902MB), and the estimated max non-heap memory (256MB), which indicates that some memory will never be used by the server
2024-02-23 07:35:55.643 INFO S ogzpwrjk main i.t.s.c.i.c.n.Node : The local node version is: 0.10.0-SNAPSHOT
2024-02-23 07:35:55.801 INFO S ogzpwrjk main i.t.s.c.i.c.s.c.ConnectionServer : The local node server started on: 0.0.0.0:7510
2024-02-23 07:35:55.822 INFO S ogzpwrjk main org.mongodb.driver.client : MongoClient with metadata {"driver": {"name": "mongo-java-driver|reactive-streams", "version": "4.8.2"}, "os": {"type": "Linux", "name": "Linux", "architecture": "amd64", "version": "5.10.134-15.al8.x86_64"}, "platform": "Java/Oracle Corporation/17.0.10+11-LTS-240"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=null, streamFactoryFactory=NettyStreamFactoryFactory{eventLoopGroup=io.netty.channel.nio.NioEventLoopGroup@7c7d3c46, socketChannelClass=class io.netty.channel.socket.nio.NioSocketChannel, allocator=PooledByteBufAllocator(directByDefault: true), sslContext=null}, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DocumentCodecProvider{}, MapCodecProvider{}, IterableCodecProvider{}, Jsr310CodecProvider{}, BsonCodecProvider{}, im.turms.server.common.storage.mongo.codec.MongoCodecProvider@319bc845]}, clusterSettings={hosts=[localhost:27017], srvServiceName=mongodb, mode=SINGLE, requiredClusterType=UNKNOWN, requiredReplicaSetName='null', serverSelector='null', clusterListeners='[im.turms.server.common.storage.mongo.MongoContext$1@24fb6a80]', serverSelectionTimeout='30000 ms', localThreshold='30000 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, sendBufferSize=0}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, sendBufferSize=0}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=UNSPECIFIED, serverApi=null, autoEncryptionSettings=null, contextProvider=null}
2024-02-23 07:35:55.841 INFO S ogzpwrjk cluster-ClusterId{value='65d84adb8d38f91041c782e6', description='null'}-localhost:27017 org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=SHARD_ROUTER, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=21, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=14624337}
2024-02-23 07:35:55.866 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:55.886 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:55.898 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : ^mongodbT
2024-02-23 07:35:55.904 INFO S ogzpwrjk main i.t.s.c.s.m.o.TurmsMongoOperations : o;mdatabase
2024-02-23 07:35:55.907 INFO S ogzpwrjk mongo-event-loop-8-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "leader": {"renewDate": 1}
2024-02-23 07:35:55.910 INFO S ogzpwrjk mongo-event-loop-8-1 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "member": {"_id.nodeId": 1}, {"status.lastHeartbeatDate": 1}
2024-02-23 07:35:55.913 INFO S ogzpwrjk mongo-event-loop-8-1 i.t.s.c.s.m.o.TurmsMongoOperations : Enabled sharding the database: "turms-config"
2024-02-23 07:35:55.998 INFO S ogzpwrjk main i.t.s.c.i.c.s.c.SharedPropertyService : Fetching shared properties
2024-02-23 07:35:56.165 INFO S ogzpwrjk mongo-event-loop-8-2 i.t.s.c.i.c.s.c.SharedPropertyService : Fetched shared properties
2024-02-23 07:35:56.257 INFO S ogzpwrjk main i.t.s.c.i.c.s.d.LocalNodeStatusManager : Registering the local node as a member
2024-02-23 07:35:56.289 INFO S ogzpwrjk mongo-event-loop-8-2 i.t.s.c.i.c.s.d.LocalNodeStatusManager : Registered the local node as a member
2024-02-23 07:35:57.193 INFO S ogzpwrjk main i.t.s.c.d.b.m.BlocklistServiceManager : Starting resetting and synchronizing blocked clients
2024-02-23 07:35:57.213 INFO S ogzpwrjk lettuce-epollEventLoop-17-1 i.t.s.c.d.b.m.BlocklistServiceManager : Reset and synchronized blocked clients
2024-02-23 07:35:57.216 INFO S ogzpwrjk main i.t.s.c.d.b.m.BlocklistServiceManager : Starting resetting and synchronizing blocked clients
2024-02-23 07:35:57.223 INFO S ogzpwrjk lettuce-epollEventLoop-20-1 i.t.s.c.d.b.m.BlocklistServiceManager : Reset and synchronized blocked clients
2024-02-23 07:35:59.060 INFO S ogzpwrjk turms-node-connection-server-worker-5-1 i.t.s.c.i.c.s.c.ConnectionService : [Server] Connected to the member
2024-02-23 07:35:59.113 INFO S ogzpwrjk 713774936682377697 turms-node-connection-server-worker-5-1 i.t.s.c.i.c.s.c.ConnectionService : [Server] Completed the opening handshake with the member: fslrpgqh[172.19.140.24:7610]
2024-02-23 07:36:00.186 INFO S ogzpwrjk turms-task-manager i.t.s.d.o.s.StatisticsService : The current online users number is: 3
2024-02-23 07:36:01.080 INFO S ogzpwrjk main im.turms.service.TurmsServiceApplication : Started TurmsServiceApplication in 16.994 seconds (process running for 18.032)
2024-02-23 07:36:15.027 INFO S ogzpwrjk turms-node-connection-server-worker-5-1 i.t.s.d.o.s.StatisticsService : The current online users number is: 3
2024-02-23 07:36:29.595 INFO S ogzpwrjk 5649050300362688405 turms-admin-http-worker-21-1 : |116.7.44.48|326d895f-2|2024-02-23 07:36:29.566|checkAccountAndPassword|{}|TRUE|12|
2024-02-23 07:36:29.791 INFO S ogzpwrjk 6276620743740691418 mongo-event-loop-1-2 : turms|116.7.44.48|326d895f-4|2024-02-23 07:36:29.644|queryAdmins|{withPassword=false, accounts=[turms]}|TRUE|146|
2024-02-23 07:36:29.913 INFO S ogzpwrjk 4029659040252539404 mongo-event-loop-1-2 : turms|116.7.44.48|326d895f-6|2024-02-23 07:36:29.867|queryMessages|{size=20, page=0}|FALSE|46|ResponseException(code=NO_CONTENT, reason=No content)
2024-02-23 07:36:30.021 INFO S ogzpwrjk turms-node-connection-server-worker-5-1 i.t.s.d.o.s.StatisticsService : The current online users number is: 3
2024-02-23 07:36:31.785 INFO S ogzpwrjk 4719911163653892558 mongo-event-loop-1-2 : turms|116.7.44.48|326d895f-8|2024-02-23 07:36:31.768|queryUsers|{size=20, page=0}|FALSE|16|ResponseException(code=NO_CONTENT, reason=No content)
2024-02-23 07:36:33.120 INFO S ogzpwrjk 5043612749601987091 mongo-event-loop-1-2 : turms|116.7.44.48|326d895f-10|2024-02-23 07:36:33.092|queryGroups|{size=20, page=0}|FALSE|27|ResponseException(code=NO_CONTENT, reason=No content)
2024-02-23 07:36:33.565 INFO S ogzpwrjk 2974713785993157887 turms-admin-http-worker-21-1 : turms|116.7.44.48|326d895f-12|2024-02-23 07:36:33.562|queryConversations|{}|TRUE|3|
2024-02-23 07:36:45.023 INFO S ogzpwrjk turms-node-connection-server-worker-5-1 i.t.s.d.o.s.StatisticsService : The current online users number is: 3
2024-02-23 07:37:00.020 INFO S ogzpwrjk turms-node-connection-server-worker-5-1 i.t.s.d.o.s.StatisticsService : The current online users number is: 3
2024-02-23 07:37:15.022 INFO S ogzpwrjk turms-node-connection-server-worker-5-1 i.t.s.d.o.s.StatisticsService : The current online users number is: 3
2024-02-23 07:37:30.020 INFO S ogzpwrjk turms-node-connection-server-worker-5-1 i.t.s.d.o.s.StatisticsService : The current online users number is: 3
2024-02-23 07:37:45.014 INFO S ogzpwrjk turms-node-connection-server-worker-5-1 i.t.s.d.o.s.StatisticsService : The current online users number is: 3
2024-02-23 07:38:00.011 INFO S ogzpwrjk turms-node-connection-server-worker-5-1 i.t.s.d.o.s.StatisticsService : The current online users number is: 3
2024-02-23 07:38:09.247 FATAL S ogzpwrjk turms-mongo-change-watcher-1 i.t.s.d.g.s.GroupTypeService : Detected an illegal operation on the collection "groupType" in the change stream event: ChangeStreamDocument{ operationType=drop, resumeToken={"_data": "8265D84B600000004E2B042C0100296E5A10045521E5658B0049489229DBE2F186910F463C6F7065726174696F6E54797065003C64726F70000004"}, namespace=turms.groupType, destinationNamespace=null, fullDocument=null, fullDocumentBeforeChange=null, documentKey=null, clusterTime=Timestamp{value=7338698468489166926, seconds=1708673888, inc=78}, updateDescription=null, txnNumber=null, lsid=null, wallTime=BsonDateTime{value=1708673888551}}
2024-02-23 07:38:09.256 FATAL S ogzpwrjk turms-mongo-change-watcher-1 i.t.s.c.d.a.s.BaseAdminService : Detected an illegal operation on the collection "admin" in the change stream event: ChangeStreamDocument{ operationType=drop, resumeToken={"_data": "8265D84B600000004D2B042C0100296E5A10044B94871F4B3C4FAFBAA64B969CDD3632463C6F7065726174696F6E54797065003C64726F70000004"}, namespace=turms.admin, destinationNamespace=null, fullDocument=null, fullDocumentBeforeChange=null, documentKey=null, clusterTime=Timestamp{value=7338698468489166925, seconds=1708673888, inc=77}, updateDescription=null, txnNumber=null, lsid=null, wallTime=BsonDateTime{value=1708673888551}}
2024-02-23 07:38:09.263 FATAL S ogzpwrjk turms-mongo-change-watcher-1 i.t.s.d.u.s.UserPermissionGroupService : Detected an illegal operation on the collection "userPermissionGroup" in the change stream event: ChangeStreamDocument{ operationType=drop, resumeToken={"_data": "8265D84B600000004F2B042C0100296E5A100475A42886D97443B686ECF73AD27C2168463C6F7065726174696F6E54797065003C64726F70000004"}, namespace=turms.userPermissionGroup, destinationNamespace=null, fullDocument=null, fullDocumentBeforeChange=null, documentKey=null, clusterTime=Timestamp{value=7338698468489166927, seconds=1708673888, inc=79}, updateDescription=null, txnNumber=null, lsid=null, wallTime=BsonDateTime{value=1708673888552}}
2024-02-23 07:38:09.488 FATAL S ogzpwrjk turms-mongo-change-watcher-1 i.t.s.c.d.a.s.BaseAdminRoleService : Detected an illegal operation on the collection "adminRole" in the event: ChangeStreamDocument{ operationType=drop, resumeToken={"_data": "8265D84B600000004C2B042C0100296E5A10042081DFEAC8F648478932FD7FFDE7AFAC463C6F7065726174696F6E54797065003C64726F70000004"}, namespace=turms.adminRole, destinationNamespace=null, fullDocument=null, fullDocumentBeforeChange=null, documentKey=null, clusterTime=Timestamp{value=7338698468489166924, seconds=1708673888, inc=76}, updateDescription=null, txnNumber=null, lsid=null, wallTime=BsonDateTime{value=1708673888551}}
2024-02-23 07:38:15.014 INFO S ogzpwrjk turms-node-connection-server-worker-5-1 i.t.s.d.o.s.StatisticsService : The current online users number is: 3
^C2024-02-23 07:38:24.139 INFO S ogzpwrjk turms-shutdown i.t.s.c.i.c.s.d.LocalNodeStatusManager : Unregistering the membership of the local node
2024-02-23 07:38:24.143 WARN S ogzpwrjk turms-node-connection-keepalive i.t.s.c.i.c.s.c.ConnectionService : The node keepalive thread has been stopped
2024-02-23 07:38:24.159 INFO S ogzpwrjk turms-node-connection-server-worker-5-1 i.t.s.c.i.c.s.c.ConnectionService : [Server] The connection to the member {id=fslrpgqh, host=172.19.140.24, port=7610} has been closed
2024-02-23 07:38:24.159 INFO S ogzpwrjk turms-node-connection-server-worker-5-1 i.t.s.c.i.c.s.c.ConnectionService : [Server] Stop to connect the member {id=fslrpgqh, host=172.19.140.24, port=7610} because the local node is server
2024-02-23 07:38:24.175 INFO S ogzpwrjk mongo-event-loop-8-2 i.t.s.c.i.c.s.d.LocalNodeStatusManager : Unregistered the membership of the local node
这里有个监听器监听到了非法drop操作,然后database就被删除了,请问下这是什么原因呢?
from turms.
From your logs,
- It's not turms servers that dropped your collections.
- If you run MongoDB in dockers without mounting its data outside docker, your collections will be cleared on every MongoDB restart, and you can follow the examples in the commit fb0358c to mount your host columns so that your data is persistent.
By the way, your turms servers are quite old, and you should better upgrade your turms servers and clients to the latest (using the latest code or docker images), which introduces many new features and bug fixes.
from turms.
解决了吗,我这也遇到同样的问题
from turms.
Related Issues (20)
- Share `spring-configuration-metadata.json` of turms properties
- Support pushing metrics
- Update the default BCrypt cost for admin passwords from 10 to 12 HOT 1
- Support updating outdated encoded passwords automatically on login
- Retry to watch change streams again if the MongoDB crashes
- 更换设备对获取离线数据的影响 HOT 1
- Provide admin API SDKs HOT 1
- Add a UI component to display admin API endpoints
- Support seaching logs
- Support display/search logs
- Respond with the status of all dependent services (e.g., MongoDB, Redis) in the health-check endpoint
- Allow admin users to have multiple roles HOT 1
- Checklist before updating to 0.11.0 HOT 1
- When it starts, nothing is output and it stops all of a sudden ? HOT 1
- 你好,请问能否提供一个Objective-C的SDK? HOT 1
- CREATE_GROUP_JOIN_REQUEST_REQUEST 疑问 HOT 3
- Add equivalent SQL examples for admin API requests HOT 1
- 添加好友成功的通知 HOT 2
- Provide more built-in admin roles
- Remove `turms-plugin-rasa` once we introduce a plugin for RAG HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turms.