PBM-1401 do not switch the storage in the tests #185
GitHub Actions / JUnit Test Report
failed
Nov 27, 2024 in 0s
21 tests run, 19 passed, 0 skipped, 2 failed.
Annotations
Check failure on line 79 in pbm-functional/pytest/test_PBM-1211.py
github-actions / JUnit Test Report
test_PBM-1211.test_pitr_PBM_T268[physical]
AssertionError: Starting restore 2024-11-27T12:09:28.836651937Z to point-in-time 2024-11-27T12:08:05 from '2024-11-27T12:04:26Z'..........................Started physical restore.
Waiting to finish....................Error: operation failed with: replay pitr oplog: reply oplog: replay chunk 1732709068.1732709132: apply oplog for chunk: applying an entry: op: {"Timestamp":{"T":1732709079,"I":6},"Term":1,"Hash":null,"Version":2,"Operation":"u","Namespace":"config.settings","Object":[{"Key":"$v","Value":2},{"Key":"diff","Value":[{"Key":"u","Value":[{"Key":"mode","Value":"full"},{"Key":"stopped","Value":false}]}]}],"Query":[{"Key":"_id","Value":"balancer"}],"UI":{"Subtype":4,"Data":"EJ/Apfn7Ryefszy31e0GXg=="},"LSID":null,"TxnNumber":null,"PrevOpTime":null,"MultiOpType":null} | merr <nil>: applyOps: (NotWritablePrimary) not primary
{"t":{"$date":"2024-11-27T12:10:13.524+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
{"t":{"$date":"2024-11-27T12:10:13.525+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "svc":"-", "ctx":"main","msg":"Multi threading initialized"}
{"t":{"$date":"2024-11-27T12:10:13.526+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "svc":"-", "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set at least one of the related parameters","attr":{"relatedParameters":["tcpFastOpenServer","tcpFastOpenClient","tcpFastOpenQueueSize"]}}
{"t":{"$date":"2024-11-27T12:10:13.526+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "svc":"-", "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":25},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":25},"outgoing":{"minWireVersion":6,"maxWireVersion":25},"isInternalClient":true}}}
{"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"REPL", "id":5123008, "svc":"-", "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ReshardingCoordinatorService","namespace":"config.reshardingOperations"}}
{"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"REPL", "id":5123008, "svc":"-", "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ConfigsvrCoordinatorService","namespace":"config.sharding_configsvr_coordinators"}}
{"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"REPL", "id":5123008, "svc":"-", "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"RenameCollectionParticipantService","namespace":"config.localRenameParticipants"}}
{"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"REPL", "id":5123008, "svc":"-", "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ShardingDDLCoordinator","namespace":"config.system.sharding_ddl_coordinators"}}
{"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"REPL", "id":5123008, "svc":"-", "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ReshardingDonorService","namespace":"config.localReshardingOperations.donor"}}
{"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"REPL", "id":5123008, "svc":"-", "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ReshardingRecipientService","namespace":"config.localReshardingOperations.recipient"}}
{"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"REPL", "id":5123008, "svc":"-", "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"MultiUpdateCoordinatorService","namespace":"config.localMigrationBlockingOperations.multiUpdateCoordinators"}}
{"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"TENANT_M", "id":7091600, "svc":"-", "ctx":"main","msg":"Starting TenantMigrationAccessBlockerRegistry"}
{"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "svc":"S", "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1968,"port":28073,"dbPath":"/var/lib/mongo","architecture":"64-bit","host":"rscfg01"}}
{"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"CONTROL", "id":23403, "svc":"S", "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"8.0.1-1","gitVersion":"88788b464f844b9120ed4a22ebe72cbfa873626c","openSSLVersion":"OpenSSL 1.1.1k FIPS 25 Mar 2021","modules":[],"proFeatures":[],"allocator":"tcmalloc-google","environment":{"distarch":"x86_64","target_arch":"x86_64"}}}}
{"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"CONTROL", "id":51765, "svc":"S", "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Oracle Linux Server release 8.10","version":"Kernel 6.5.0-1025-azure"}}}
{"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"CONTROL", "id":21951, "svc":"S", "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"config":"/tmp/pbmMongdTmpConf2991990179","net":{"bindIp":"localhost","port":28073},"replication":{"replSet":"rscfg"},"setParameter":{"disableLogicalSessionCacheRefresh":"true","takeUnstableCheckpointOnShutdown":"true"},"sharding":{"clusterRole":"configsvr"},"storage":{"dbPath":"/var/lib/mongo","directoryPerDB":false,"wiredTiger":{"collectionConfig":{"blockCompressor":"snappy"},"engineConfig":{"directoryForIndexes":false,"journalCompressor":"snappy"},"indexConfig":{"prefixCompression":true}}},"systemLog":{"destination":"file","path":"/var/lib/mongo/pbm.restore.log"}}}}
{"t":{"$date":"2024-11-27T12:10:13.528+00:00"},"s":"I", "c":"STORAGE", "id":22270, "svc":"S", "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/var/lib/mongo","storageEngine":"wiredTiger"}}
{"t":{"$date":"2024-11-27T12:10:13.528+00:00"},"s":"I", "c":"STORAGE", "id":22315, "svc":"S", "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=7478M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],prefetch=(available=true,default=false),"}}
{"t":{"$date":"2024-11-27T12:10:13.673+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":673777,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 5 through 6"}}}
{"t":{"$date":"2024-11-27T12:10:13.701+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":701123,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 6 through 6"}}}
{"t":{"$date":"2024-11-27T12:10:13.754+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":754813,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Main recovery loop: starting at 5/176768 to 6/256"}}}
{"t":{"$date":"2024-11-27T12:10:13.801+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":801128,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 5 through 6"}}}
{"t":{"$date":"2024-11-27T12:10:13.835+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":835191,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 6 through 6"}}}
{"t":{"$date":"2024-11-27T12:10:13.857+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":856985,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery log replay has successfully finished and ran for 183 milliseconds"}}}
{"t":{"$date":"2024-11-27T12:10:13.857+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":857070,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Set global recovery timestamp: (0, 0)"}}}
{"t":{"$date":"2024-11-27T12:10:13.857+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":857095,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Set global oldest timestamp: (0, 0)"}}}
{"t":{"$date":"2024-11-27T12:10:13.859+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":859081,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery rollback to stable has successfully finished and ran for 1 milliseconds"}}}
{"t":{"$date":"2024-11-27T12:10:13.862+00:00"},"s":"I", "c":"WTCHKPT", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":861985,"thread":"1968:0x7f20b3eba180","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 70"}}}
{"t":{"$date":"2024-11-27T12:10:13.864+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":864134,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery checkpoint has successfully finished and ran for 4 milliseconds"}}}
{"t":{"$date":"2024-11-27T12:10:13.864+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":864188,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery was completed successfully and took 190ms, including 183ms for the log replay, 1ms for the rollback to stable, and 4ms for the checkpoint."}}}
{"t":{"$date":"2024-11-27T12:10:13.866+00:00"},"s":"I", "c":"STORAGE", "id":4795906, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":338}}
{"t":{"$date":"2024-11-27T12:10:13.866+00:00"},"s":"I", "c":"RECOVERY", "id":23987, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
{"t":{"$date":"2024-11-27T12:10:13.874+00:00"},"s":"I", "c":"STORAGE", "id":7393203, "svc":"S", "ctx":"initandlisten","msg":"The size storer reports that the collection contains","attr":{"numRecords":223,"dataSize":85571}}
{"t":{"$date":"2024-11-27T12:10:13.874+00:00"},"s":"I", "c":"STORAGE", "id":7393212, "svc":"S", "ctx":"initandlisten","msg":"Scanning collection to determine where to place markers for truncation","attr":{"namespace":"local.oplog.rs"}}
{"t":{"$date":"2024-11-27T12:10:13.874+00:00"},"s":"I", "c":"STORAGE", "id":22382, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger record store oplog processing finished","attr":{"durationMillis":0}}
{"t":{"$date":"2024-11-27T12:10:13.915+00:00"},"s":"W", "c":"CONTROL", "id":22120, "svc":"S", "ctx":"initandlisten","msg":"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","tags":["startupWarnings"]}
{"t":{"$date":"2024-11-27T12:10:13.915+00:00"},"s":"W", "c":"CONTROL", "id":9068900, "svc":"S", "ctx":"initandlisten","msg":"For customers running the current memory allocator, we suggest changing the contents of the following sysfsFile","attr":{"allocator":"tcmalloc-google","sysfsFile":"/sys/kernel/mm/transparent_hugepage/defrag","currentValue":"madvise","desiredValue":"defer+madvise"},"tags":["startupWarnings"]}
{"t":{"$date":"2024-11-27T12:10:13.915+00:00"},"s":"W", "c":"CONTROL", "id":8640302, "svc":"S", "ctx":"initandlisten","msg":"We suggest setting the contents of sysfsFile to 0.","attr":{"sysfsFile":"/sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none","currentValue":511},"tags":["startupWarnings"]}
{"t":{"$date":"2024-11-27T12:10:13.915+00:00"},"s":"W", "c":"NETWORK", "id":5123300, "svc":"S", "ctx":"initandlisten","msg":"vm.max_map_count is too low","attr":{"currentValue":262144,"recommendedMinimum":1677720,"maxConns":838860},"tags":["startupWarnings"]}
{"t":{"$date":"2024-11-27T12:10:13.916+00:00"},"s":"W", "c":"CONTROL", "id":8386700, "svc":"S", "ctx":"initandlisten","msg":"We suggest setting swappiness to 0 or 1, as swapping can cause performance problems.","attr":{"sysfsFile":"/proc/sys/vm/swappiness","currentValue":60},"tags":["startupWarnings"]}
{"t":{"$date":"2024-11-27T12:10:13.939+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "svc":"S", "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":25},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":25},"outgoing":{"minWireVersion":6,"maxWireVersion":25},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":25},"incomingInternalClient":{"minWireVersion":25,"maxWireVersion":25},"outgoing":{"minWireVersion":25,"maxWireVersion":25},"isInternalClient":true}}}
{"t":{"$date":"2024-11-27T12:10:13.939+00:00"},"s":"I", "c":"REPL", "id":5853300, "svc":"S", "ctx":"initandlisten","msg":"current featureCompatibilityVersion value","attr":{"featureCompatibilityVersion":"8.0","context":"startup"}}
{"t":{"$date":"2024-11-27T12:10:13.940+00:00"},"s":"I", "c":"STORAGE", "id":5071100, "svc":"S", "ctx":"initandlisten","msg":"Clearing temp directory"}
{"t":{"$date":"2024-11-27T12:10:13.944+00:00"},"s":"W", "c":"QUERY", "id":3216000, "svc":"S", "ctx":"initandlisten","msg":"$jsonSchema validator does not allow '_id' field. This validator will reject all documents, consider adding '_id' to the allowed fields."}
{"t":{"$date":"2024-11-27T12:10:13.944+00:00"},"s":"W", "c":"QUERY", "id":3216000, "svc":"S", "ctx":"initandlisten","msg":"$jsonSchema validator does not allow '_id' field. This validator will reject all documents, consider adding '_id' to the allowed fields."}
{"t":{"$date":"2024-11-27T12:10:13.973+00:00"},"s":"I", "c":"CONTROL", "id":20536, "svc":"S", "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
{"t":{"$date":"2024-11-27T12:10:13.973+00:00"},"s":"I", "c":"FTDC", "id":20625, "svc":"S", "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/var/lib/mongo/diagnostic.data"}}
{"t":{"$date":"2024-11-27T12:10:13.976+00:00"},"s":"I", "c":"REPL", "id":40440, "svc":"S", "ctx":"initandlisten","msg":"Starting the TopologyVersionObserver"}
{"t":{"$date":"2024-11-27T12:10:13.976+00:00"},"s":"I", "c":"REPL", "id":40445, "svc":"S", "ctx":"TopologyVersionObserver","msg":"Started TopologyVersionObserver"}
{"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"I", "c":"-", "id":4939300, "svc":"S", "ctx":"monitoring-keys-for-HMAC","msg":"Failed to refresh key cache","attr":{"error":"ReadConcernMajorityNotAvailableYet: Read concern majority reads are currently not possible.","nextWakeupMillis":200}}
{"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"I", "c":"SHARDING", "id":22727, "svc":"-", "ctx":"ShardRegistryUpdater","msg":"Error running periodic reload of shard registry","attr":{"error":"NotYetInitialized: Config shard has not been set up yet","shardRegistryReloadIntervalSeconds":30}}
{"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"W", "c":"SHARDING", "id":7012500, "svc":"S", "ctx":"QueryAnalysisConfigurationsRefresher","msg":"Failed to refresh query analysis configurations, will try again at the next interval","attr":{"error":"NotYetInitialized: Config shard has not been set up yet"}}
{"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"I", "c":"SHARDING", "id":22072, "svc":"S", "ctx":"initandlisten","msg":"Initializing sharding state","attr":{"initialShardIdentity":{"shardName":"config","clusterId":{"$oid":"67470ab818fc0b93d49e9e9b"},"configsvrConnectionString":"rscfg/rscfg01:27017"}}}
{"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"I", "c":"SHARDING", "id":22071, "svc":"S", "ctx":"initandlisten","msg":"Finished initializing sharding components","attr":{"memberState":"secondary"}}
{"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"I", "c":"SHARDING", "id":22081, "svc":"S", "ctx":"initandlisten","msg":"Sharding status of the node recovered successfully","attr":{"role":"67470ab818fc0b93d49e9e9b : ClusterRole{shard|config|router} : rscfg/rscfg01:27017 : config"}}
{"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"I", "c":"REPL", "id":6015317, "svc":"S", "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigStartingUp","oldState":"ConfigPreStart"}}
{"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"I", "c":"REPL", "id":6005300, "svc":"S", "ctx":"initandlisten","msg":"Starting up replica set aware services"}
{"t":{"$date":"2024-11-27T12:10:13.980+00:00"},"s":"I", "c":"REPL", "id":4280500, "svc":"S", "ctx":"initandlisten","msg":"Attempting to create internal replication collections"}
{"t":{"$date":"2024-11-27T12:10:13.982+00:00"},"s":"I", "c":"REPL", "id":4280501, "svc":"S", "ctx":"initandlisten","msg":"Attempting to load local voted for document"}
{"t":{"$date":"2024-11-27T12:10:13.982+00:00"},"s":"I", "c":"REPL", "id":21311, "svc":"S", "ctx":"initandlisten","msg":"Did not find local initialized voted for document at startup"}
{"t":{"$date":"2024-11-27T12:10:13.982+00:00"},"s":"I", "c":"REPL", "id":4280502, "svc":"S", "ctx":"initandlisten","msg":"Searching for local Rollback ID document"}
{"t":{"$date":"2024-11-27T12:10:13.983+00:00"},"s":"I", "c":"REPL", "id":21529, "svc":"S", "ctx":"initandlisten","msg":"Initializing rollback ID","attr":{"rbid":1}}
{"t":{"$date":"2024-11-27T12:10:13.983+00:00"},"s":"I", "c":"REPL", "id":4280504, "svc":"S", "ctx":"initandlisten","msg":"Cleaning up any partially applied oplog batches & reading last op from oplog"}
{"t":{"$date":"2024-11-27T12:10:13.984+00:00"},"s":"I", "c":"SHARDING", "id":22072, "svc":"S", "ctx":"initandlisten","msg":"Initializing sharding state","attr":{"initialShardIdentity":{"shardName":"config","clusterId":{"$oid":"67470ab818fc0b93d49e9e9b"},"configsvrConnectionString":"rscfg/rscfg01:27017"}}}
{"t":{"$date":"2024-11-27T12:10:13.984+00:00"},"s":"I", "c":"CONTROL", "id":6608200, "svc":"S", "ctx":"initandlisten","msg":"Initializing cluster server parameters from disk"}
{"t":{"$date":"2024-11-27T12:10:13.985+00:00"},"s":"I", "c":"REPL", "id":21546, "svc":"S", "ctx":"initandlisten","msg":"Recovering from an unstable checkpoint","attr":{"topOfOplog":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"appliedThrough":{"ts":{"$timestamp":{"t":0,"i":0}},"t":-1}}}
{"t":{"$date":"2024-11-27T12:10:13.985+00:00"},"s":"I", "c":"REPL", "id":21547, "svc":"S", "ctx":"initandlisten","msg":"No oplog entries to apply for recovery. appliedThrough is null"}
{"t":{"$date":"2024-11-27T12:10:13.987+00:00"},"s":"I", "c":"WTCHKPT", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":987171,"thread":"1968:0x7f20b3eba180","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 103, snapshot max: 103 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 70"}}}
{"t":{"$date":"2024-11-27T12:10:13.990+00:00"},"s":"I", "c":"REPL", "id":4280505, "svc":"S", "ctx":"initandlisten","msg":"Creating any necessary TenantMigrationAccessBlockers for unfinished migrations"}
{"t":{"$date":"2024-11-27T12:10:13.990+00:00"},"s":"I", "c":"TENANT_M", "id":6531504, "svc":"S", "ctx":"initandlisten","msg":"Clearing serverless operation lock registry on shutdown","attr":{"ns":null}}
{"t":{"$date":"2024-11-27T12:10:13.990+00:00"},"s":"I", "c":"REPL", "id":4280506, "svc":"S", "ctx":"initandlisten","msg":"Reconstructing prepared transactions"}
{"t":{"$date":"2024-11-27T12:10:13.991+00:00"},"s":"I", "c":"REPL", "id":4280507, "svc":"S", "ctx":"initandlisten","msg":"Loaded replica set config, scheduled callback to set local config"}
{"t":{"$date":"2024-11-27T12:10:13.991+00:00"},"s":"I", "c":"REPL", "id":4280508, "svc":"S", "ctx":"ReplCoord-0","msg":"Attempting to set local replica set config; validating config for startup"}
{"t":{"$date":"2024-11-27T12:10:13.991+00:00"},"s":"I", "c":"STORAGE", "id":22262, "svc":"S", "ctx":"initandlisten","msg":"Timestamp monitor starting"}
{"t":{"$date":"2024-11-27T12:10:13.991+00:00"},"s":"I", "c":"STORAGE", "id":7333401, "svc":"S", "ctx":"initandlisten","msg":"Starting the DiskSpaceMonitor"}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"QUERY", "id":7080100, "svc":"-", "ctx":"ChangeStreamExpiredPreImagesRemover","msg":"Starting Change Stream Expired Pre-images Remover thread"}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"-", "id":7658604, "svc":"S", "ctx":"ChangeStreamExpiredPreImagesRemover","msg":"Decided on initial creation method for pre-images truncate markers initialization","attr":{"initialCreationMethod":"emptyCollection","dataSize":0,"numRecords":0,"preImagesCollectionUUID":{"uuid":{"$uuid":"854a164f-5833-4ca1-81df-762e11101aa8"}},"tenantId":null}}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"NETWORK", "id":23015, "svc":"-", "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-28073.sock"}}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"NETWORK", "id":23015, "svc":"-", "ctx":"listener","msg":"Listening on","attr":{"address":"127.0.0.1:28073"}}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"NETWORK", "id":23016, "svc":"-", "ctx":"listener","msg":"Waiting for connections","attr":{"port":28073,"ssl":"off"}}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"CONTROL", "id":8423403, "svc":"S", "ctx":"initandlisten","msg":"mongod startup complete","attr":{"Summary of time elapsed":{"Startup from clean shutdown?":true,"Statistics":{"Set up periodic runner":"0 ms","Set up online certificate status protocol manager":"0 ms","Transport layer setup":"0 ms","Run initial syncer crash recovery":"0 ms","Create storage engine lock file in the data directory":"0 ms","Get metadata describing storage engine":"0 ms","Validate options in metadata against current startup options":"0 ms","Create storage engine":"378 ms","Write current PID to file":"0 ms","Write a new metadata for storage engine":"0 ms","Initialize FCV before rebuilding indexes":"23 ms","Drop abandoned idents and get back indexes that need to be rebuilt or builds that need to be restarted":"0 ms","Rebuild indexes for collections":"0 ms","Build user and roles graph":"0 ms","Verify indexes for admin.system.users collection":"0 ms","Verify indexes for admin.system.roles collection":"0 ms","Set up the background thread pool responsible for waiting for opTimes to be majority committed":"0 ms","Initialize the sharding components for a config server":"2 ms","Initialize information needed to make a mongod instance shard aware":"0 ms","Load global settings from config server":"0 ms","Start up the replication coordinator":"13 ms","Create an oplog view for tenant migrations":"0 ms","Ensure the change stream collections on startup contain consistent data":"0 ms","Write startup options to the audit log":"0 ms","Start transport layer":"0 ms","_initAndListen total elapsed time":"465 ms"}}}}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59038","uuid":{"uuid":{"$uuid":"29ec3709-2d05-4461-b9cf-74f0ded253d5"}},"connectionId":2,"connectionCount":1}}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"-", "id":9023600, "svc":"S", "ctx":"ChangeStreamExpiredPreImagesRemover","msg":"Completed initialization of pre-image tenant truncate markers","attr":{"preImagesCollectionUUID":{"uuid":{"$uuid":"854a164f-5833-4ca1-81df-762e11101aa8"}},"tenantId":null}}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "svc":"S", "ctx":"conn2","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":0}}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"REPL", "id":4280509, "svc":"S", "ctx":"ReplCoord-0","msg":"Local configuration validated for startup"}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"REPL", "id":6015317, "svc":"S", "ctx":"ReplCoord-0","msg":"Setting new configuration state","attr":{"newState":"ConfigSteady","oldState":"ConfigStartingUp"}}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"SHARDING", "id":7063400, "svc":"S", "ctx":"ReplCoord-0","msg":"Updating implicit default writeConcern majority","attr":{"newImplicitDefaultWCMajority":true}}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"REPL", "id":21392, "svc":"S", "ctx":"ReplCoord-0","msg":"New replica set config in use","attr":{"config":{"_id":"rscfg","version":1,"members":[{"_id":0,"host":"localhost:28073","arbiterOnly":false,"buildIndexes":true,"hidden":false,"priority":1,"tags":{},"secondaryDelaySecs":0,"votes":1}],"configsvr":true,"protocolVersion":1,"writeConcernMajorityJournalDefault":true,"settings":{"chainingAllowed":true,"heartbeatIntervalMillis":2000,"heartbeatTimeoutSecs":10,"electionTimeoutMillis":10000,"catchUpTimeoutMillis":-1,"catchUpTakeoverDelayMillis":30000,"getLastErrorModes":{},"getLastErrorDefaults":{"w":1,"wtimeout":0}}}}}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"REPL", "id":21393, "svc":"S", "ctx":"ReplCoord-0","msg":"Found self in config","attr":{"hostAndPort":"localhost:28073"}}
{"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"REPL", "id":21358, "svc":"S", "ctx":"ReplCoord-0","msg":"Replica set state transition","attr":{"newState":"STARTUP2","oldState":"STARTUP"}}
{"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"REPL", "id":21827, "svc":"S", "ctx":"ReplCoord-0","msg":"Updating term","attr":{"oldTerm":0,"newTerm":1}}
{"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"REPL", "id":21320, "svc":"S", "ctx":"ReplCoord-0","msg":"Updated term","attr":{"term":1}}
{"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"NETWORK", "id":4603701, "svc":"S", "ctx":"ReplCoord-0","msg":"Starting Replica Set Monitor","attr":{"protocol":"streamable","uri":"rscfg/localhost:28073"}}
{"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"NETWORK", "id":22944, "svc":"S", "ctx":"conn2","msg":"Connection ended","attr":{"remote":"127.0.0.1:59038","uuid":{"uuid":{"$uuid":"29ec3709-2d05-4461-b9cf-74f0ded253d5"}},"connectionId":2,"connectionCount":0}}
{"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"-", "id":4333223, "svc":"S", "ctx":"ReplCoord-0","msg":"RSM now monitoring replica set","attr":{"replicaSet":"rscfg","nReplicaSetMembers":1}}
{"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"-", "id":4333226, "svc":"S", "ctx":"ReplCoord-0","msg":"RSM host was added to the topology","attr":{"replicaSet":"rscfg","host":"localhost:28073"}}
{"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"REPL", "id":21306, "svc":"S", "ctx":"ReplCoord-0","msg":"Starting replication storage threads"}
{"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"CONNPOOL", "id":22576, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Connecting","attr":{"hostAndPort":"localhost:28073"}}
{"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59054","uuid":{"uuid":{"$uuid":"26535a77-8ab5-4a7d-964f-1adcd2f9573e"}},"connectionId":4,"connectionCount":1}}
{"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"REPL", "id":4280512, "svc":"S", "ctx":"ReplCoord-0","msg":"No initial sync required. Attempting to begin steady replication","attr":{"lastOpTime":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"isInitialSyncFlagSet":false}}
{"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"REPL", "id":21358, "svc":"S", "ctx":"ReplCoord-0","msg":"Replica set state transition","attr":{"newState":"RECOVERING","oldState":"STARTUP2"}}
{"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"STORAGE", "id":20320, "svc":"S", "ctx":"ReplCoord-0","msg":"createCollection","attr":{"namespace":"local.replset.initialSyncId","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"3a71e56e-a21e-4959-99a1-5751addfb2d3"}},"options":{}}}
{"t":{"$date":"2024-11-27T12:10:13.994+00:00"},"s":"I", "c":"NETWORK", "id":51800, "svc":"S", "ctx":"conn4","msg":"client metadata","attr":{"remote":"127.0.0.1:59054","client":"conn4","negotiatedCompressors":["snappy","zstd","zlib"],"doc":{"driver":{"name":"NetworkInterfaceTL-ReplicaSetMonitor-TaskExecutor","version":"8.0.1-1"},"os":{"type":"Linux","name":"Oracle Linux Server release 8.10","architecture":"x86_64","version":"Kernel 6.5.0-1025-azure"}}}}
{"t":{"$date":"2024-11-27T12:10:13.994+00:00"},"s":"I", "c":"NETWORK", "id":23729, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"ServerPingMonitor is now monitoring host","attr":{"host":"localhost:28073","replicaSet":"rscfg"}}
{"t":{"$date":"2024-11-27T12:10:13.994+00:00"},"s":"I", "c":"NETWORK", "id":4333213, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rscfg","newTopologyDescription":{"id":"5995d6cc-88d6-42f3-9e85-f3b3bf2f4728","topologyType":"ReplicaSetNoPrimary","servers":{"localhost:28073":{"address":"localhost:28073","topologyVersion":{"processId":{"$oid":"67470c2597aaaf188c000e38"},"counter":2},"roundTripTime":413,"lastWriteDate":{"$date":"2024-11-27T12:04:28.000Z"},"opTime":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"type":"RSOther","minWireVersion":25,"maxWireVersion":25,"me":"localhost:28073","setName":"rscfg","setVersion":1,"lastUpdateTime":{"$date":"2024-11-27T12:10:13.994Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"localhost:28073"},"arbiters":{},"passives":{}}},"setName":"rscfg","compatible":true},"previousTopologyDescription":{"id":"e4d3dcad-a14c-49b9-afbd-03e66e571a71","topologyType":"ReplicaSetNoPrimary","servers":{"localhost:28073":{"address":"localhost:28073","type":"Unknown","minWireVersion":0,"maxWireVersion":0,"lastUpdateTime":{"$date":{"$numberLong":"-9223372036854775808"}},"hosts":{},"arbiters":{},"passives":{}}},"setName":"rscfg","compatible":true}}}
{"t":{"$date":"2024-11-27T12:10:13.994+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59062","uuid":{"uuid":{"$uuid":"41031f8c-9b51-4ab0-bfa6-f5e694a8578d"}},"connectionId":5,"connectionCount":2}}
{"t":{"$date":"2024-11-27T12:10:13.995+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59072","uuid":{"uuid":{"$uuid":"53ed5fb3-2f57-4d02-8c52-5a7122080ea2"}},"connectionId":7,"connectionCount":3}}
{"t":{"$date":"2024-11-27T12:10:13.995+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "svc":"S", "ctx":"conn4","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":0}}
{"t":{"$date":"2024-11-27T12:10:13.995+00:00"},"s":"I", "c":"NETWORK", "id":51800, "svc":"S", "ctx":"conn5","msg":"client metadata","attr":{"remote":"127.0.0.1:59062","client":"conn5","negotiatedCompressors":["snappy","zstd","zlib"],"doc":{"driver":{"name":"NetworkInterfaceTL-ReplicaSetMonitor-TaskExecutor","version":"8.0.1-1"},"os":{"type":"Linux","name":"Oracle Linux Server release 8.10","architecture":"x86_64","version":"Kernel 6.5.0-1025-azure"}}}}
{"t":{"$date":"2024-11-27T12:10:13.995+00:00"},"s":"I", "c":"NETWORK", "id":51800, "svc":"S", "ctx":"conn7","msg":"client metadata","attr":{"remote":"127.0.0.1:59072","client":"conn7","negotiatedCompressors":[],"doc":{"application":{"name":"pbm-physical-restore"},"driver":{"name":"mongo-go-driver","version":"1.16.0"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.23.3","env":{"container":{"runtime":"docker"}}}}}
{"t":{"$date":"2024-11-27T12:10:13.996+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59088","uuid":{"uuid":{"$uuid":"cced067e-3b1d-456b-9fd9-191249d5331c"}},"connectionId":8,"connectionCount":4}}
{"t":{"$date":"2024-11-27T12:10:13.996+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59092","uuid":{"uuid":{"$uuid":"e9767f9f-198a-46bd-b7d8-6f83ab063206"}},"connectionId":9,"connectionCount":5}}
{"t":{"$date":"2024-11-27T12:10:13.996+00:00"},"s":"I", "c":"NETWORK", "id":51800, "svc":"S", "ctx":"conn8","msg":"client metadata","attr":{"remote":"127.0.0.1:59088","client":"conn8","negotiatedCompressors":[],"doc":{"application":{"name":"pbm-physical-restore"},"driver":{"name":"mongo-go-driver","version":"1.16.0"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.23.3","env":{"container":{"runtime":"docker"}}}}}
{"t":{"$date":"2024-11-27T12:10:13.996+00:00"},"s":"I", "c":"NETWORK", "id":51800, "svc":"S", "ctx":"conn9","msg":"client metadata","attr":{"remote":"127.0.0.1:59092","client":"conn9","negotiatedCompressors":[],"doc":{"application":{"name":"pbm-physical-restore"},"driver":{"name":"mongo-go-driver","version":"1.16.0"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.23.3","env":{"container":{"runtime":"docker"}}}}}
{"t":{"$date":"2024-11-27T12:10:13.996+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "svc":"S", "ctx":"conn8","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":0}}
{"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"INDEX", "id":20345, "svc":"S", "ctx":"ReplCoord-0","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"3a71e56e-a21e-4959-99a1-5751addfb2d3"}},"namespace":"local.replset.initialSyncId","index":"_id_","ident":"index-1-1344107906148837839","collectionIdent":"collection-0-1344107906148837839","commitTimestamp":null}}
{"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"REPL", "id":21299, "svc":"S", "ctx":"ReplCoord-0","msg":"Starting replication fetcher thread"}
{"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"REPL", "id":8569800, "svc":"S", "ctx":"ReplCoord-0","msg":"Starting replication writer thread"}
{"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"REPL", "id":21300, "svc":"S", "ctx":"ReplCoord-0","msg":"Starting replication applier thread"}
{"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"REPL", "id":21301, "svc":"S", "ctx":"ReplCoord-0","msg":"Starting replication reporter thread"}
{"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"REPL", "id":8543100, "svc":"S", "ctx":"OplogWriter-0","msg":"Starting oplog write"}
{"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"REPL", "id":21358, "svc":"S", "ctx":"ReplCoord-0","msg":"Replica set state transition","attr":{"newState":"SECONDARY","oldState":"RECOVERING"}}
{"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"REPL", "id":21224, "svc":"S", "ctx":"OplogApplier-0","msg":"Starting oplog application"}
{"t":{"$date":"2024-11-27T12:10:14.017+00:00"},"s":"I", "c":"ELECTION", "id":4615652, "svc":"S", "ctx":"ReplCoord-0","msg":"Starting an election, since we've seen no PRIMARY in election timeout period","attr":{"electionTimeoutPeriodMillis":10000}}
{"t":{"$date":"2024-11-27T12:10:14.017+00:00"},"s":"I", "c":"ELECTION", "id":21438, "svc":"S", "ctx":"ReplCoord-0","msg":"Conducting a dry run election to see if we could be elected","attr":{"currentTerm":1}}
{"t":{"$date":"2024-11-27T12:10:14.017+00:00"},"s":"I", "c":"REPL", "id":4280511, "svc":"S", "ctx":"ReplCoord-0","msg":"Set local replica set config"}
{"t":{"$date":"2024-11-27T12:10:14.017+00:00"},"s":"I", "c":"ELECTION", "id":21444, "svc":"S", "ctx":"ReplCoord-1","msg":"Dry election run succeeded, running for election","attr":{"newTerm":2}}
{"t":{"$date":"2024-11-27T12:10:14.017+00:00"},"s":"I", "c":"REPL", "id":21827, "svc":"S", "ctx":"ReplCoord-1","msg":"Updating term","attr":{"oldTerm":1,"newTerm":2}}
{"t":{"$date":"2024-11-27T12:10:14.017+00:00"},"s":"I", "c":"ELECTION", "id":6015300, "svc":"S", "ctx":"ReplCoord-0","msg":"Storing last vote document in local storage for my election","attr":{"lastVote":{"term":2,"candidateIndex":0}}}
{"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":8423402, "svc":"S", "ctx":"BackgroundSync","msg":"Failed to select a sync source on the first attempt. Starting second attempt"}
{"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"NETWORK", "id":4333213, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rscfg","newTopologyDescription":{"id":"a0228977-0ad3-460a-8175-64d7b2ed4144","topologyType":"ReplicaSetNoPrimary","servers":{"localhost:28073":{"address":"localhost:28073","topologyVersion":{"processId":{"$oid":"67470c2597aaaf188c000e38"},"counter":3},"roundTripTime":458,"lastWriteDate":{"$date":"2024-11-27T12:04:28.000Z"},"opTime":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"type":"RSSecondary","minWireVersion":25,"maxWireVersion":25,"me":"localhost:28073","setName":"rscfg","setVersion":1,"lastUpdateTime":{"$date":"2024-11-27T12:10:14.021Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"localhost:28073"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rscfg","compatible":true},"previousTopologyDescription":{"id":"bb42555b-a75a-48a0-a695-2e8145054969","topologyType":"ReplicaSetNoPrimary","servers":{"localhost:28073":{"address":"localhost:28073","topologyVersion":{"processId":{"$oid":"67470c2597aaaf188c000e38"},"counter":2},"roundTripTime":458,"lastWriteDate":{"$date":"2024-11-27T12:04:28.000Z"},"opTime":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"type":"RSOther","minWireVersion":25,"maxWireVersion":25,"me":"localhost:28073","setName":"rscfg","setVersion":1,"lastUpdateTime":{"$date":"2024-11-27T12:10:13.995Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"localhost:28073"},"arbiters":{},"passives":{}}},"setName":"rscfg","compatible":true}}}
{"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"ELECTION", "id":21450, "svc":"S", "ctx":"ReplCoord-0","msg":"Election succeeded, assuming primary role","attr":{"term":2}}
{"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":21358, "svc":"S", "ctx":"ReplCoord-0","msg":"Replica set state transition","attr":{"newState":"PRIMARY","oldState":"SECONDARY"}}
{"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":21106, "svc":"S", "ctx":"ReplCoord-0","msg":"Resetting sync source to empty","attr":{"previousSyncSource":":27017"}}
{"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":21359, "svc":"S", "ctx":"ReplCoord-0","msg":"Entering primary catch-up mode"}
{"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":6015304, "svc":"S", "ctx":"ReplCoord-0","msg":"Skipping primary catchup since we are the only node in the replica set."}
{"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":21363, "svc":"S", "ctx":"ReplCoord-0","msg":"Exited primary catch-up mode"}
{"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":21107, "svc":"S", "ctx":"ReplCoord-0","msg":"Stopping replication producer"}
{"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":8938402, "svc":"S", "ctx":"OplogWriter-0","msg":"Oplog writer buffer has been drained","attr":{"term":2}}
{"t":{"$date":"2024-11-27T12:10:14.022+00:00"},"s":"I", "c":"NETWORK", "id":4333213, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rscfg","newTopologyDescription":{"id":"0fd72e4e-8943-4349-b563-c33a26baf565","topologyType":"ReplicaSetNoPrimary","servers":{"localhost:28073":{"address":"localhost:28073","topologyVersion":{"processId":{"$oid":"67470c2597aaaf188c000e38"},"counter":4},"roundTripTime":458,"lastWriteDate":{"$date":"2024-11-27T12:04:28.000Z"},"opTime":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"type":"RSSecondary","minWireVersion":25,"maxWireVersion":25,"me":"localhost:28073","setName":"rscfg","setVersion":1,"electionId":{"$oid":"7fffffff0000000000000002"},"primary":"localhost:28073","lastUpdateTime":{"$date":"2024-11-27T12:10:14.022Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"localhost:28073"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rscfg","compatible":true},"previousTopologyDescription":{"id":"a0228977-0ad3-460a-8175-64d7b2ed4144","topologyType":"ReplicaSetNoPrimary","servers":{"localhost:28073":{"address":"localhost:28073","topologyVersion":{"processId":{"$oid":"67470c2597aaaf188c000e38"},"counter":3},"roundTripTime":458,"lastWriteDate":{"$date":"2024-11-27T12:04:28.000Z"},"opTime":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"type":"RSSecondary","minWireVersion":25,"maxWireVersion":25,"me":"localhost:28073","setName":"rscfg","setVersion":1,"lastUpdateTime":{"$date":"2024-11-27T12:10:14.021Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"localhost:28073"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rscfg","compatible":true}}}
{"t":{"$date":"2024-11-27T12:10:14.022+00:00"},"s":"I", "c":"REPL", "id":21239, "svc":"S", "ctx":"ReplBatcher","msg":"Oplog applier buffer has been drained","attr":{"term":2}}
{"t":{"$date":"2024-11-27T12:10:14.022+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59104","uuid":{"uuid":{"$uuid":"e3cade14-0737-4804-95bd-cdaca88b97f3"}},"connectionId":11,"connectionCount":6}}
{"t":{"$date":"2024-11-27T12:10:14.022+00:00"},"s":"I", "c":"REPL", "id":21343, "svc":"S", "ctx":"RstlKillOpThread","msg":"Starting to kill user operations"}
{"t":{"$date":"2024-11-27T12:10:14.022+00:00"},"s":"I", "c":"REPL", "id":21344, "svc":"S", "ctx":"RstlKillOpThread","msg":"Stopped killing user operations"}
{"t":{"$date":"2024-11-27T12:10:14.022+00:00"},"s":"I", "c":"REPL", "id":21340, "svc":"S", "ctx":"RstlKillOpThread","msg":"State transition ops metrics","attr":{"metrics":{"lastStateTransition":"stepUp","totalOpsKilled":0,"totalOpsRunning":4}}}
{"t":{"$date":"2024-11-27T12:10:14.022+00:00"},"s":"I", "c":"REPL", "id":6015310, "svc":"S", "ctx":"OplogApplier-0","msg":"Starting to transition to primary."}
{"t":{"$date":"2024-11-27T12:10:14.023+00:00"},"s":"I", "c":"NETWORK", "id":51800, "svc":"S", "ctx":"conn11","msg":"client metadata","attr":{"remote":"127.0.0.1:59104","client":"conn11","negotiatedCompressors":["snappy","zstd","zlib"],"doc":{"driver":{"name":"NetworkInterfaceTL-ShardRegistry","version":"8.0.1-1"},"os":{"type":"Linux","name":"Oracle Linux Server release 8.10","architecture":"x86_64","version":"Kernel 6.5.0-1025-azure"}}}}
{"t":{"$date":"2024-11-27T12:10:14.023+00:00"},"s":"I", "c":"REPL", "id":6015309, "svc":"S", "ctx":"OplogApplier-0","msg":"Logging transition to primary to oplog on stepup"}
{"t":{"$date":"2024-11-27T12:10:14.025+00:00"},"s":"W", "c":"QUERY", "id":3216000, "svc":"S", "ctx":"OplogApplier-0","msg":"$jsonSchema validator does not allow '_id' field. This validator will reject all documents, consider adding '_id' to the allowed fields."}
{"t":{"$date":"2024-11-27T12:10:14.025+00:00"},"s":"W", "c":"QUERY", "id":3216000, "svc":"S", "ctx":"OplogApplier-0","msg":"$jsonSchema validator does not allow '_id' field. This validator will reject all documents, consider adding '_id' to the allowed fields."}
{"t":{"$date":"2024-11-27T12:10:14.025+00:00"},"s":"I", "c":"COMMAND", "id":5324200, "svc":"S", "ctx":"OplogApplier-0","msg":"CMD: collMod","attr":{"cmdObj":{"collMod":"settings","validator":{"$jsonSchema":{"oneOf":[{"properties":{"_id":{"enum":["balancer"]},"mode":{"enum":["full","off"]},"stopped":{"bsonType":"bool"},"activeWindow":{"bsonType":"object","required":["start","stop"]},"_secondaryThrottle":{"oneOf":[{"bsonType":"bool"},{"bsonType":"object"}]},"_waitForDelete":{"bsonType":"bool"},"attemptToBalanceJumboChunks":{"bsonType":"bool"}},"additionalProperties":false},{"properties":{"_id":{"enum":["chunksize"]},"value":{"bsonType":"number","minimum":1,"maximum":1024}},"additionalProperties":false},{"properties":{"_id":{"enum":["automerge","ReadWriteConcernDefaults","audit"]}}}]}},"validationLevel":"strict"}}}
{"t":{"$date":"2024-11-27T12:10:14.025+00:00"},"s":"W", "c":"QUERY", "id":3216000, "svc":"S", "ctx":"OplogApplier-0","msg":"$jsonSchema validator does not allow '_id' field. This validator will reject all documents, consider adding '_id' to the allowed fields."}
{"t":{"$date":"2024-11-27T12:10:14.025+00:00"},"s":"W", "c":"QUERY", "id":3216000, "svc":"S", "ctx":"OplogApplier-0","msg":"$jsonSchema validator does not allow '_id' field. This validator will reject all documents, consider adding '_id' to the allowed fields."}
{"t":{"$date":"2024-11-27T12:10:14.025+00:00"},"s":"I", "c":"REPL", "id":7360104, "svc":"S", "ctx":"OplogApplier-0","msg":"Wrote oplog entry for collMod","attr":{"namespace":"config.$cmd","uuid":{"uuid":{"$uuid":"109fc0a5-f9fb-4727-9fb3-3cb7d5ed065e"}},"opTime":{"ts":{"$timestamp":{"t":1732709414,"i":3}},"t":2},"object":{"collMod":"settings","validator":{"$jsonSchema":{"oneOf":[{"properties":{"_id":{"enum":["balancer"]},"mode":{"enum":["full","off"]},"stopped":{"bsonType":"bool"},"activeWindow":{"bsonType":"object","required":["start","stop"]},"_secondaryThrottle":{"oneOf":[{"bsonType":"bool"},{"bsonType":"object"}]},"_waitForDelete":{"bsonType":"bool"},"attemptToBalanceJumboChunks":{"bsonType":"bool"}},"additionalProperties":false},{"properties":{"_id":{"enum":["chunksize"]},"value":{"bsonType":"number","minimum":1,"maximum":1024}},"additionalProperties":false},{"properties":{"_id":{"enum":["automerge","ReadWriteConcernDefaults","audit"]}}}]}},"validationLevel":"strict"}}}
{"t":{"$date":"2024-11-27T12:10:14.026+00:00"},"s":"W", "c":"CONTROL", "id":636300, "svc":"S", "ctx":"ftdc","msg":"Use of deprecated server parameter name","attr":{"deprecatedName":"internalQueryCacheSize","canonicalName":"internalQueryCacheMaxEntriesPerCollection"}}
{"t":{"$date":"2024-11-27T12:10:14.026+00:00"},"s":"I", "c":"SHARDING", "id":22049, "svc":"S", "ctx":"PeriodicShardedIndexConsistencyChecker","msg":"Checking consistency of sharded collection indexes across the cluster"}
{"t":{"$date":"2024-11-27T12:10:14.026+00:00"},"s":"W", "c":"CONTROL", "id":636300, "svc":"S", "ctx":"ftdc","msg":"Use of deprecated server parameter name","attr":{"deprecatedName":"oplogSamplingLogIntervalSeconds","canonicalName":"collectionSamplingLogIntervalSeconds"}}
{"t":{"$date":"2024-11-27T12:10:14.026+00:00"},"s":"W", "c":"NETWORK", "id":23803, "svc":"S", "ctx":"ftdc","msg":"Use of deprecated server parameter 'sslMode', please use 'tlsMode' instead."}
{"t":{"$date":"2024-11-27T12:10:14.026+00:00"},"s":"W", "c":"CONTROL", "id":636300, "svc":"S", "ctx":"ftdc","msg":"Use of deprecated server parameter name","attr":{"deprecatedName":"wiredTigerConcurrentReadTransactions","canonicalName":"storageEngineConcurrentReadTransactions"}}
{"t":{"$date":"2024-11-27T12:10:14.026+00:00"},"s":"W", "c":"CONTROL", "id":636300, "svc":"S", "ctx":"ftdc","msg":"Use of deprecated server parameter name","attr":{"deprecatedName":"wiredTigerConcurrentWriteTransactions","canonicalName":"storageEngineConcurrentWriteTransactions"}}
{"t":{"$date":"2024-11-27T12:10:14.027+00:00"},"s":"I", "c":"STORAGE", "id":20657, "svc":"S", "ctx":"OplogApplier-0","msg":"IndexBuildsCoordinator::onStepUp - this node is stepping up to primary"}
{"t":{"$date":"2024-11-27T12:10:14.027+00:00"},"s":"I", "c":"-", "id":4939300, "svc":"S", "ctx":"monitoring-keys-for-HMAC","msg":"Failed to refresh key cache","attr":{"error":"ReadConcernMajorityNotAvailableYet: Read concern majority reads are currently not possible.","nextWakeupMillis":400}}
{"t":{"$date":"2024-11-27T12:10:14.028+00:00"},"s":"I", "c":"-", "id":8025900, "svc":"S", "ctx":"OplogApplier-0","msg":"ReplicaSetAwareServiceRegistry::onStepUpComplete stepping up all services"}
{"t":{"$date":"2024-11-27T12:10:14.028+00:00"},"s":"I", "c":"STORAGE", "id":7508300, "svc":"S", "ctx":"IndexBuildsCoordinator-StepUp","msg":"Finished performing asynchronous step-up checks on index builds"}
{"t":{"$date":"2024-11-27T12:10:14.029+00:00"},"s":"I", "c":"REPL", "id":21331, "svc":"S", "ctx":"OplogApplier-0","msg":"Transition to primary complete; database writes are now permitted","attr":{"term":2}}
{"t":{"$date":"2024-11-27T12:10:14.029+00:00"},"s":"I", "c":"NETWORK", "id":4333213, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rscfg","newTopologyDescription":{"id":"7ff4d56e-df84-4dec-9cd3-a47cb29e62cc","topologyType":"ReplicaSetWithPrimary","servers":{"localhost:28073":{"address":"localhost:28073","topologyVersion":{"processId":{"$oid":"67470c2597aaaf188c000e38"},"counter":5},"roundTripTime":458,"lastWriteDate":{"$date":"2024-11-27T12:10:14.000Z"},"opTime":{"ts":{"$timestamp":{"t":1732709414,"i":4}},"t":2},"type":"RSPrimary","minWireVersion":25,"maxWireVersion":25,"me":"localhost:28073","setName":"rscfg","setVersion":1,"electionId":{"$oid":"7fffffff0000000000000002"},"primary":"localhost:28073","lastUpdateTime":{"$date":"2024-11-27T12:10:14.029Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"localhost:28073"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rscfg","compatible":true,"maxElectionIdSetVersion":{"electionId":{"$oid":"7fffffff0000000000000002"},"setVersion":1}},"previousTopologyDescription":{"id":"0fd72e4e-8943-4349-b563-c33a26baf565","topologyType":"ReplicaSetNoPrimary","servers":{"localhost:28073":{"address":"localhost:28073","topologyVersion":{"processId":{"$oid":"67470c2597aaaf188c000e38"},"counter":4},"roundTripTime":458,"lastWriteDate":{"$date":"2024-11-27T12:04:28.000Z"},"opTime":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"type":"RSSecondary","minWireVersion":25,"maxWireVersion":25,"me":"localhost:28073","setName":"rscfg","setVersion":1,"electionId":{"$oid":"7fffffff0000000000000002"},"primary":"localhost:28073","lastUpdateTime":{"$date":"2024-11-27T12:10:14.022Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"localhost:28073"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rscfg","compatible":true}}}
{"t":{"$date":"2024-11-27T12:10:14.029+00:00"},"s":"I", "c":"SHARDING", "id":471691, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Updating the shard registry with confirmed replica set","attr":{"connectionString":"rscfg/localhost:28073"}}
{"t":{"$date":"2024-11-27T12:10:14.029+00:00"},"s":"I", "c":"NETWORK", "id":6006301, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Replica set primary server change detected","attr":{"replicaSet":"rscfg","topologyType":"ReplicaSetWithPrimary","primary":"localhost:28073","durationMillis":36}}
{"t":{"$date":"2024-11-27T12:10:14.029+00:00"},"s":"I", "c":"SHARDING", "id":22068, "svc":"-", "ctx":"Sharding-Fixed-3","msg":"Updating shard identity config string with confirmed replica set","attr":{"connectionString":"rscfg/localhost:28073"}}
{"t":{"$date":"2024-11-27T12:10:14.030+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59114","uuid":{"uuid":{"$uuid":"2e0c24a0-c1ae-4943-ac7a-f217f72e84f5"}},"connectionId":13,"connectionCount":7}}
{"t":{"$date":"2024-11-27T12:10:14.030+00:00"},"s":"E", "c":"WT", "id":22435, "svc":"S", "ctx":"PlacementHistoryCleanUpJob","msg":"WiredTiger error message","attr":{"error":2,"message":{"ts_sec":1732709414,"ts_usec":30421,"thread":"1968:0x7f204622d700","session_dhandle_name":"file:collection-22-12496978015722617064.wt","session_name":"WT_SESSION.open_cursor","category":"WT_VERB_DEFAULT","category_id":12,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:924:/var/lib/mongo/collection-22-12496978015722617064.wt: handle-open: open","error_str":"No such file or directory","error_code":2}}}
{"t":{"$date":"2024-11-27T12:10:14.030+00:00"},"s":"F", "c":"STORAGE", "id":50883, "svc":"S", "ctx":"PlacementHistoryCleanUpJob","msg":"Cursor not found","attr":{"error":{"code":43,"codeName":"CursorNotFound","errmsg":"Failed to open a WiredTiger cursor. Reason: UnknownError: 2: No such file or directory, uri: table:collection-22-12496978015722617064, config: "}}}
{"t":{"$date":"2024-11-27T12:10:14.030+00:00"},"s":"F", "c":"ASSERT", "id":23091, "svc":"S", "ctx":"PlacementHistoryCleanUpJob","msg":"Fatal assertion","attr":{"msgid":50883,"file":"src/mongo/db/storage/wiredtiger/wiredtiger_cursor.cpp","line":111}}
{"t":{"$date":"2024-11-27T12:10:14.030+00:00"},"s":"F", "c":"ASSERT", "id":23092, "svc":"S", "ctx":"PlacementHistoryCleanUpJob","msg":"\n\n***aborting after fassert() failure\n\n"}
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f5387521810>
backup_type = 'physical'
@pytest.mark.timeout(900,func_only=True)
@pytest.mark.parametrize('backup_type',['logical','physical'])
def test_pitr_PBM_T268(start_cluster,cluster,backup_type):
def insert_docs():
client=pymongo.MongoClient(cluster.connection)
for i in range(1500):
client['test']['test'].insert_one({"doc":i})
time.sleep(0.1)
cluster.check_pbm_status()
base_backup=cluster.make_backup(backup_type)
cluster.enable_pitr(pitr_extra_args="--set pitr.oplogSpanMin=0.5")
Cluster.log("Start inserting docs in the background")
background_insert = threading.Thread(target=insert_docs)
background_insert.start()
time.sleep(60)
Cluster.log("Check if PITR is running")
if not cluster.check_pitr():
logs=cluster.exec_pbm_cli("logs -sD -t0")
assert False, logs.stdout
time.sleep(60)
background_insert.join()
time.sleep(30)
assert pymongo.MongoClient(cluster.connection)["test"]["test"].count_documents({}) == 1500
pitr = datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%S")
Cluster.log("Time for PITR is " + pitr)
time.sleep(60)
cluster.disable_pitr()
pymongo.MongoClient(cluster.connection).drop_database('test')
backup="--time=" + pitr
if backup_type == 'logical':
cluster.make_restore(backup, check_pbm_status=True)
else:
> cluster.make_restore(backup, restart_cluster=True, check_pbm_status=True)
test_PBM-1211.py:79:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f5387521810>
name = '--time=2024-11-27T12:08:05'
kwargs = {'check_pbm_status': True, 'restart_cluster': True}
client = MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True)
result = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f5387674ad0>, exit_status=1, command=b'time...r":null,"PrevOpTime":null,"MultiOpType":null} | merr <nil>: applyOps: (NotWritablePrimary) not primary\n', _stderr=b'')
n = <testinfra.host.Host docker://rscfg01>, timeout = 240
error = '{"t":{"$date":"2024-11-27T12:10:13.524+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatica..."id":23092, "svc":"S", "ctx":"PlacementHistoryCleanUpJob","msg":"\\n\\n***aborting after fassert() failure\\n\\n"}\n'
host = 'rscfg01', container = <Container: 169355c62f3c>
def make_restore(self, name, **kwargs):
if self.layout == "sharded":
client = pymongo.MongoClient(self.connection)
result = client.admin.command("balancerStop")
client.close()
Cluster.log("Stopping balancer: " + str(result))
self.stop_mongos()
self.stop_arbiters()
n = testinfra.get_host("docker://" + self.pbm_cli)
timeout = time.time() + 60
while True:
if not self.get_status()['running']:
break
if time.time() > timeout:
assert False, "Cannot start restore, another operation running"
time.sleep(1)
Cluster.log("Restore started")
timeout=kwargs.get('timeout', 240)
result = n.run('timeout ' + str(timeout) + ' pbm restore ' + name + ' --wait')
if result.rc == 0:
Cluster.log(result.stdout)
else:
# try to catch possible failures if timeout exceeded
error=''
for host in self.mongod_hosts:
try:
container = docker.from_env().containers.get(host)
get_logs = container.exec_run(
'cat /var/lib/mongo/pbm.restore.log', stderr=False)
if get_logs.exit_code == 0:
Cluster.log(
"!!!!Possible failure on {}, file pbm.restore.log was found:".format(host))
logs = get_logs.output.decode('utf-8')
Cluster.log(logs)
if '"s":"F"' in logs:
error = logs
except docker.errors.APIError:
pass
if error:
> assert False, result.stdout + result.stderr + "\n" + error
E AssertionError: Starting restore 2024-11-27T12:09:28.836651937Z to point-in-time 2024-11-27T12:08:05 from '2024-11-27T12:04:26Z'..........................Started physical restore.
E Waiting to finish....................Error: operation failed with: replay pitr oplog: reply oplog: replay chunk 1732709068.1732709132: apply oplog for chunk: applying an entry: op: {"Timestamp":{"T":1732709079,"I":6},"Term":1,"Hash":null,"Version":2,"Operation":"u","Namespace":"config.settings","Object":[{"Key":"$v","Value":2},{"Key":"diff","Value":[{"Key":"u","Value":[{"Key":"mode","Value":"full"},{"Key":"stopped","Value":false}]}]}],"Query":[{"Key":"_id","Value":"balancer"}],"UI":{"Subtype":4,"Data":"EJ/Apfn7Ryefszy31e0GXg=="},"LSID":null,"TxnNumber":null,"PrevOpTime":null,"MultiOpType":null} | merr <nil>: applyOps: (NotWritablePrimary) not primary
E
E {"t":{"$date":"2024-11-27T12:10:13.524+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
E {"t":{"$date":"2024-11-27T12:10:13.525+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "svc":"-", "ctx":"main","msg":"Multi threading initialized"}
E {"t":{"$date":"2024-11-27T12:10:13.526+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "svc":"-", "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set at least one of the related parameters","attr":{"relatedParameters":["tcpFastOpenServer","tcpFastOpenClient","tcpFastOpenQueueSize"]}}
E {"t":{"$date":"2024-11-27T12:10:13.526+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "svc":"-", "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":25},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":25},"outgoing":{"minWireVersion":6,"maxWireVersion":25},"isInternalClient":true}}}
E {"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"REPL", "id":5123008, "svc":"-", "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ReshardingCoordinatorService","namespace":"config.reshardingOperations"}}
E {"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"REPL", "id":5123008, "svc":"-", "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ConfigsvrCoordinatorService","namespace":"config.sharding_configsvr_coordinators"}}
E {"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"REPL", "id":5123008, "svc":"-", "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"RenameCollectionParticipantService","namespace":"config.localRenameParticipants"}}
E {"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"REPL", "id":5123008, "svc":"-", "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ShardingDDLCoordinator","namespace":"config.system.sharding_ddl_coordinators"}}
E {"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"REPL", "id":5123008, "svc":"-", "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ReshardingDonorService","namespace":"config.localReshardingOperations.donor"}}
E {"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"REPL", "id":5123008, "svc":"-", "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ReshardingRecipientService","namespace":"config.localReshardingOperations.recipient"}}
E {"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"REPL", "id":5123008, "svc":"-", "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"MultiUpdateCoordinatorService","namespace":"config.localMigrationBlockingOperations.multiUpdateCoordinators"}}
E {"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"TENANT_M", "id":7091600, "svc":"-", "ctx":"main","msg":"Starting TenantMigrationAccessBlockerRegistry"}
E {"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "svc":"S", "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1968,"port":28073,"dbPath":"/var/lib/mongo","architecture":"64-bit","host":"rscfg01"}}
E {"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"CONTROL", "id":23403, "svc":"S", "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"8.0.1-1","gitVersion":"88788b464f844b9120ed4a22ebe72cbfa873626c","openSSLVersion":"OpenSSL 1.1.1k FIPS 25 Mar 2021","modules":[],"proFeatures":[],"allocator":"tcmalloc-google","environment":{"distarch":"x86_64","target_arch":"x86_64"}}}}
E {"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"CONTROL", "id":51765, "svc":"S", "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Oracle Linux Server release 8.10","version":"Kernel 6.5.0-1025-azure"}}}
E {"t":{"$date":"2024-11-27T12:10:13.527+00:00"},"s":"I", "c":"CONTROL", "id":21951, "svc":"S", "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"config":"/tmp/pbmMongdTmpConf2991990179","net":{"bindIp":"localhost","port":28073},"replication":{"replSet":"rscfg"},"setParameter":{"disableLogicalSessionCacheRefresh":"true","takeUnstableCheckpointOnShutdown":"true"},"sharding":{"clusterRole":"configsvr"},"storage":{"dbPath":"/var/lib/mongo","directoryPerDB":false,"wiredTiger":{"collectionConfig":{"blockCompressor":"snappy"},"engineConfig":{"directoryForIndexes":false,"journalCompressor":"snappy"},"indexConfig":{"prefixCompression":true}}},"systemLog":{"destination":"file","path":"/var/lib/mongo/pbm.restore.log"}}}}
E {"t":{"$date":"2024-11-27T12:10:13.528+00:00"},"s":"I", "c":"STORAGE", "id":22270, "svc":"S", "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/var/lib/mongo","storageEngine":"wiredTiger"}}
E {"t":{"$date":"2024-11-27T12:10:13.528+00:00"},"s":"I", "c":"STORAGE", "id":22315, "svc":"S", "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=7478M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],prefetch=(available=true,default=false),"}}
E {"t":{"$date":"2024-11-27T12:10:13.673+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":673777,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 5 through 6"}}}
E {"t":{"$date":"2024-11-27T12:10:13.701+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":701123,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 6 through 6"}}}
E {"t":{"$date":"2024-11-27T12:10:13.754+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":754813,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Main recovery loop: starting at 5/176768 to 6/256"}}}
E {"t":{"$date":"2024-11-27T12:10:13.801+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":801128,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 5 through 6"}}}
E {"t":{"$date":"2024-11-27T12:10:13.835+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":835191,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 6 through 6"}}}
E {"t":{"$date":"2024-11-27T12:10:13.857+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":856985,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery log replay has successfully finished and ran for 183 milliseconds"}}}
E {"t":{"$date":"2024-11-27T12:10:13.857+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":857070,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Set global recovery timestamp: (0, 0)"}}}
E {"t":{"$date":"2024-11-27T12:10:13.857+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":857095,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Set global oldest timestamp: (0, 0)"}}}
E {"t":{"$date":"2024-11-27T12:10:13.859+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":859081,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery rollback to stable has successfully finished and ran for 1 milliseconds"}}}
E {"t":{"$date":"2024-11-27T12:10:13.862+00:00"},"s":"I", "c":"WTCHKPT", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":861985,"thread":"1968:0x7f20b3eba180","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 70"}}}
E {"t":{"$date":"2024-11-27T12:10:13.864+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":864134,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery checkpoint has successfully finished and ran for 4 milliseconds"}}}
E {"t":{"$date":"2024-11-27T12:10:13.864+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":864188,"thread":"1968:0x7f20b3eba180","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":34,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery was completed successfully and took 190ms, including 183ms for the log replay, 1ms for the rollback to stable, and 4ms for the checkpoint."}}}
E {"t":{"$date":"2024-11-27T12:10:13.866+00:00"},"s":"I", "c":"STORAGE", "id":4795906, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":338}}
E {"t":{"$date":"2024-11-27T12:10:13.866+00:00"},"s":"I", "c":"RECOVERY", "id":23987, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
E {"t":{"$date":"2024-11-27T12:10:13.874+00:00"},"s":"I", "c":"STORAGE", "id":7393203, "svc":"S", "ctx":"initandlisten","msg":"The size storer reports that the collection contains","attr":{"numRecords":223,"dataSize":85571}}
E {"t":{"$date":"2024-11-27T12:10:13.874+00:00"},"s":"I", "c":"STORAGE", "id":7393212, "svc":"S", "ctx":"initandlisten","msg":"Scanning collection to determine where to place markers for truncation","attr":{"namespace":"local.oplog.rs"}}
E {"t":{"$date":"2024-11-27T12:10:13.874+00:00"},"s":"I", "c":"STORAGE", "id":22382, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger record store oplog processing finished","attr":{"durationMillis":0}}
E {"t":{"$date":"2024-11-27T12:10:13.915+00:00"},"s":"W", "c":"CONTROL", "id":22120, "svc":"S", "ctx":"initandlisten","msg":"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","tags":["startupWarnings"]}
E {"t":{"$date":"2024-11-27T12:10:13.915+00:00"},"s":"W", "c":"CONTROL", "id":9068900, "svc":"S", "ctx":"initandlisten","msg":"For customers running the current memory allocator, we suggest changing the contents of the following sysfsFile","attr":{"allocator":"tcmalloc-google","sysfsFile":"/sys/kernel/mm/transparent_hugepage/defrag","currentValue":"madvise","desiredValue":"defer+madvise"},"tags":["startupWarnings"]}
E {"t":{"$date":"2024-11-27T12:10:13.915+00:00"},"s":"W", "c":"CONTROL", "id":8640302, "svc":"S", "ctx":"initandlisten","msg":"We suggest setting the contents of sysfsFile to 0.","attr":{"sysfsFile":"/sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none","currentValue":511},"tags":["startupWarnings"]}
E {"t":{"$date":"2024-11-27T12:10:13.915+00:00"},"s":"W", "c":"NETWORK", "id":5123300, "svc":"S", "ctx":"initandlisten","msg":"vm.max_map_count is too low","attr":{"currentValue":262144,"recommendedMinimum":1677720,"maxConns":838860},"tags":["startupWarnings"]}
E {"t":{"$date":"2024-11-27T12:10:13.916+00:00"},"s":"W", "c":"CONTROL", "id":8386700, "svc":"S", "ctx":"initandlisten","msg":"We suggest setting swappiness to 0 or 1, as swapping can cause performance problems.","attr":{"sysfsFile":"/proc/sys/vm/swappiness","currentValue":60},"tags":["startupWarnings"]}
E {"t":{"$date":"2024-11-27T12:10:13.939+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "svc":"S", "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":25},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":25},"outgoing":{"minWireVersion":6,"maxWireVersion":25},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":25},"incomingInternalClient":{"minWireVersion":25,"maxWireVersion":25},"outgoing":{"minWireVersion":25,"maxWireVersion":25},"isInternalClient":true}}}
E {"t":{"$date":"2024-11-27T12:10:13.939+00:00"},"s":"I", "c":"REPL", "id":5853300, "svc":"S", "ctx":"initandlisten","msg":"current featureCompatibilityVersion value","attr":{"featureCompatibilityVersion":"8.0","context":"startup"}}
E {"t":{"$date":"2024-11-27T12:10:13.940+00:00"},"s":"I", "c":"STORAGE", "id":5071100, "svc":"S", "ctx":"initandlisten","msg":"Clearing temp directory"}
E {"t":{"$date":"2024-11-27T12:10:13.944+00:00"},"s":"W", "c":"QUERY", "id":3216000, "svc":"S", "ctx":"initandlisten","msg":"$jsonSchema validator does not allow '_id' field. This validator will reject all documents, consider adding '_id' to the allowed fields."}
E {"t":{"$date":"2024-11-27T12:10:13.944+00:00"},"s":"W", "c":"QUERY", "id":3216000, "svc":"S", "ctx":"initandlisten","msg":"$jsonSchema validator does not allow '_id' field. This validator will reject all documents, consider adding '_id' to the allowed fields."}
E {"t":{"$date":"2024-11-27T12:10:13.973+00:00"},"s":"I", "c":"CONTROL", "id":20536, "svc":"S", "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
E {"t":{"$date":"2024-11-27T12:10:13.973+00:00"},"s":"I", "c":"FTDC", "id":20625, "svc":"S", "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/var/lib/mongo/diagnostic.data"}}
E {"t":{"$date":"2024-11-27T12:10:13.976+00:00"},"s":"I", "c":"REPL", "id":40440, "svc":"S", "ctx":"initandlisten","msg":"Starting the TopologyVersionObserver"}
E {"t":{"$date":"2024-11-27T12:10:13.976+00:00"},"s":"I", "c":"REPL", "id":40445, "svc":"S", "ctx":"TopologyVersionObserver","msg":"Started TopologyVersionObserver"}
E {"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"I", "c":"-", "id":4939300, "svc":"S", "ctx":"monitoring-keys-for-HMAC","msg":"Failed to refresh key cache","attr":{"error":"ReadConcernMajorityNotAvailableYet: Read concern majority reads are currently not possible.","nextWakeupMillis":200}}
E {"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"I", "c":"SHARDING", "id":22727, "svc":"-", "ctx":"ShardRegistryUpdater","msg":"Error running periodic reload of shard registry","attr":{"error":"NotYetInitialized: Config shard has not been set up yet","shardRegistryReloadIntervalSeconds":30}}
E {"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"W", "c":"SHARDING", "id":7012500, "svc":"S", "ctx":"QueryAnalysisConfigurationsRefresher","msg":"Failed to refresh query analysis configurations, will try again at the next interval","attr":{"error":"NotYetInitialized: Config shard has not been set up yet"}}
E {"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"I", "c":"SHARDING", "id":22072, "svc":"S", "ctx":"initandlisten","msg":"Initializing sharding state","attr":{"initialShardIdentity":{"shardName":"config","clusterId":{"$oid":"67470ab818fc0b93d49e9e9b"},"configsvrConnectionString":"rscfg/rscfg01:27017"}}}
E {"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"I", "c":"SHARDING", "id":22071, "svc":"S", "ctx":"initandlisten","msg":"Finished initializing sharding components","attr":{"memberState":"secondary"}}
E {"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"I", "c":"SHARDING", "id":22081, "svc":"S", "ctx":"initandlisten","msg":"Sharding status of the node recovered successfully","attr":{"role":"67470ab818fc0b93d49e9e9b : ClusterRole{shard|config|router} : rscfg/rscfg01:27017 : config"}}
E {"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"I", "c":"REPL", "id":6015317, "svc":"S", "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigStartingUp","oldState":"ConfigPreStart"}}
E {"t":{"$date":"2024-11-27T12:10:13.978+00:00"},"s":"I", "c":"REPL", "id":6005300, "svc":"S", "ctx":"initandlisten","msg":"Starting up replica set aware services"}
E {"t":{"$date":"2024-11-27T12:10:13.980+00:00"},"s":"I", "c":"REPL", "id":4280500, "svc":"S", "ctx":"initandlisten","msg":"Attempting to create internal replication collections"}
E {"t":{"$date":"2024-11-27T12:10:13.982+00:00"},"s":"I", "c":"REPL", "id":4280501, "svc":"S", "ctx":"initandlisten","msg":"Attempting to load local voted for document"}
E {"t":{"$date":"2024-11-27T12:10:13.982+00:00"},"s":"I", "c":"REPL", "id":21311, "svc":"S", "ctx":"initandlisten","msg":"Did not find local initialized voted for document at startup"}
E {"t":{"$date":"2024-11-27T12:10:13.982+00:00"},"s":"I", "c":"REPL", "id":4280502, "svc":"S", "ctx":"initandlisten","msg":"Searching for local Rollback ID document"}
E {"t":{"$date":"2024-11-27T12:10:13.983+00:00"},"s":"I", "c":"REPL", "id":21529, "svc":"S", "ctx":"initandlisten","msg":"Initializing rollback ID","attr":{"rbid":1}}
E {"t":{"$date":"2024-11-27T12:10:13.983+00:00"},"s":"I", "c":"REPL", "id":4280504, "svc":"S", "ctx":"initandlisten","msg":"Cleaning up any partially applied oplog batches & reading last op from oplog"}
E {"t":{"$date":"2024-11-27T12:10:13.984+00:00"},"s":"I", "c":"SHARDING", "id":22072, "svc":"S", "ctx":"initandlisten","msg":"Initializing sharding state","attr":{"initialShardIdentity":{"shardName":"config","clusterId":{"$oid":"67470ab818fc0b93d49e9e9b"},"configsvrConnectionString":"rscfg/rscfg01:27017"}}}
E {"t":{"$date":"2024-11-27T12:10:13.984+00:00"},"s":"I", "c":"CONTROL", "id":6608200, "svc":"S", "ctx":"initandlisten","msg":"Initializing cluster server parameters from disk"}
E {"t":{"$date":"2024-11-27T12:10:13.985+00:00"},"s":"I", "c":"REPL", "id":21546, "svc":"S", "ctx":"initandlisten","msg":"Recovering from an unstable checkpoint","attr":{"topOfOplog":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"appliedThrough":{"ts":{"$timestamp":{"t":0,"i":0}},"t":-1}}}
E {"t":{"$date":"2024-11-27T12:10:13.985+00:00"},"s":"I", "c":"REPL", "id":21547, "svc":"S", "ctx":"initandlisten","msg":"No oplog entries to apply for recovery. appliedThrough is null"}
E {"t":{"$date":"2024-11-27T12:10:13.987+00:00"},"s":"I", "c":"WTCHKPT", "id":22430, "svc":"S", "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1732709413,"ts_usec":987171,"thread":"1968:0x7f20b3eba180","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":7,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 103, snapshot max: 103 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 70"}}}
E {"t":{"$date":"2024-11-27T12:10:13.990+00:00"},"s":"I", "c":"REPL", "id":4280505, "svc":"S", "ctx":"initandlisten","msg":"Creating any necessary TenantMigrationAccessBlockers for unfinished migrations"}
E {"t":{"$date":"2024-11-27T12:10:13.990+00:00"},"s":"I", "c":"TENANT_M", "id":6531504, "svc":"S", "ctx":"initandlisten","msg":"Clearing serverless operation lock registry on shutdown","attr":{"ns":null}}
E {"t":{"$date":"2024-11-27T12:10:13.990+00:00"},"s":"I", "c":"REPL", "id":4280506, "svc":"S", "ctx":"initandlisten","msg":"Reconstructing prepared transactions"}
E {"t":{"$date":"2024-11-27T12:10:13.991+00:00"},"s":"I", "c":"REPL", "id":4280507, "svc":"S", "ctx":"initandlisten","msg":"Loaded replica set config, scheduled callback to set local config"}
E {"t":{"$date":"2024-11-27T12:10:13.991+00:00"},"s":"I", "c":"REPL", "id":4280508, "svc":"S", "ctx":"ReplCoord-0","msg":"Attempting to set local replica set config; validating config for startup"}
E {"t":{"$date":"2024-11-27T12:10:13.991+00:00"},"s":"I", "c":"STORAGE", "id":22262, "svc":"S", "ctx":"initandlisten","msg":"Timestamp monitor starting"}
E {"t":{"$date":"2024-11-27T12:10:13.991+00:00"},"s":"I", "c":"STORAGE", "id":7333401, "svc":"S", "ctx":"initandlisten","msg":"Starting the DiskSpaceMonitor"}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"QUERY", "id":7080100, "svc":"-", "ctx":"ChangeStreamExpiredPreImagesRemover","msg":"Starting Change Stream Expired Pre-images Remover thread"}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"-", "id":7658604, "svc":"S", "ctx":"ChangeStreamExpiredPreImagesRemover","msg":"Decided on initial creation method for pre-images truncate markers initialization","attr":{"initialCreationMethod":"emptyCollection","dataSize":0,"numRecords":0,"preImagesCollectionUUID":{"uuid":{"$uuid":"854a164f-5833-4ca1-81df-762e11101aa8"}},"tenantId":null}}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"NETWORK", "id":23015, "svc":"-", "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-28073.sock"}}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"NETWORK", "id":23015, "svc":"-", "ctx":"listener","msg":"Listening on","attr":{"address":"127.0.0.1:28073"}}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"NETWORK", "id":23016, "svc":"-", "ctx":"listener","msg":"Waiting for connections","attr":{"port":28073,"ssl":"off"}}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"CONTROL", "id":8423403, "svc":"S", "ctx":"initandlisten","msg":"mongod startup complete","attr":{"Summary of time elapsed":{"Startup from clean shutdown?":true,"Statistics":{"Set up periodic runner":"0 ms","Set up online certificate status protocol manager":"0 ms","Transport layer setup":"0 ms","Run initial syncer crash recovery":"0 ms","Create storage engine lock file in the data directory":"0 ms","Get metadata describing storage engine":"0 ms","Validate options in metadata against current startup options":"0 ms","Create storage engine":"378 ms","Write current PID to file":"0 ms","Write a new metadata for storage engine":"0 ms","Initialize FCV before rebuilding indexes":"23 ms","Drop abandoned idents and get back indexes that need to be rebuilt or builds that need to be restarted":"0 ms","Rebuild indexes for collections":"0 ms","Build user and roles graph":"0 ms","Verify indexes for admin.system.users collection":"0 ms","Verify indexes for admin.system.roles collection":"0 ms","Set up the background thread pool responsible for waiting for opTimes to be majority committed":"0 ms","Initialize the sharding components for a config server":"2 ms","Initialize information needed to make a mongod instance shard aware":"0 ms","Load global settings from config server":"0 ms","Start up the replication coordinator":"13 ms","Create an oplog view for tenant migrations":"0 ms","Ensure the change stream collections on startup contain consistent data":"0 ms","Write startup options to the audit log":"0 ms","Start transport layer":"0 ms","_initAndListen total elapsed time":"465 ms"}}}}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59038","uuid":{"uuid":{"$uuid":"29ec3709-2d05-4461-b9cf-74f0ded253d5"}},"connectionId":2,"connectionCount":1}}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"-", "id":9023600, "svc":"S", "ctx":"ChangeStreamExpiredPreImagesRemover","msg":"Completed initialization of pre-image tenant truncate markers","attr":{"preImagesCollectionUUID":{"uuid":{"$uuid":"854a164f-5833-4ca1-81df-762e11101aa8"}},"tenantId":null}}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "svc":"S", "ctx":"conn2","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":0}}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"REPL", "id":4280509, "svc":"S", "ctx":"ReplCoord-0","msg":"Local configuration validated for startup"}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"REPL", "id":6015317, "svc":"S", "ctx":"ReplCoord-0","msg":"Setting new configuration state","attr":{"newState":"ConfigSteady","oldState":"ConfigStartingUp"}}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"SHARDING", "id":7063400, "svc":"S", "ctx":"ReplCoord-0","msg":"Updating implicit default writeConcern majority","attr":{"newImplicitDefaultWCMajority":true}}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"REPL", "id":21392, "svc":"S", "ctx":"ReplCoord-0","msg":"New replica set config in use","attr":{"config":{"_id":"rscfg","version":1,"members":[{"_id":0,"host":"localhost:28073","arbiterOnly":false,"buildIndexes":true,"hidden":false,"priority":1,"tags":{},"secondaryDelaySecs":0,"votes":1}],"configsvr":true,"protocolVersion":1,"writeConcernMajorityJournalDefault":true,"settings":{"chainingAllowed":true,"heartbeatIntervalMillis":2000,"heartbeatTimeoutSecs":10,"electionTimeoutMillis":10000,"catchUpTimeoutMillis":-1,"catchUpTakeoverDelayMillis":30000,"getLastErrorModes":{},"getLastErrorDefaults":{"w":1,"wtimeout":0}}}}}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"REPL", "id":21393, "svc":"S", "ctx":"ReplCoord-0","msg":"Found self in config","attr":{"hostAndPort":"localhost:28073"}}
E {"t":{"$date":"2024-11-27T12:10:13.992+00:00"},"s":"I", "c":"REPL", "id":21358, "svc":"S", "ctx":"ReplCoord-0","msg":"Replica set state transition","attr":{"newState":"STARTUP2","oldState":"STARTUP"}}
E {"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"REPL", "id":21827, "svc":"S", "ctx":"ReplCoord-0","msg":"Updating term","attr":{"oldTerm":0,"newTerm":1}}
E {"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"REPL", "id":21320, "svc":"S", "ctx":"ReplCoord-0","msg":"Updated term","attr":{"term":1}}
E {"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"NETWORK", "id":4603701, "svc":"S", "ctx":"ReplCoord-0","msg":"Starting Replica Set Monitor","attr":{"protocol":"streamable","uri":"rscfg/localhost:28073"}}
E {"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"NETWORK", "id":22944, "svc":"S", "ctx":"conn2","msg":"Connection ended","attr":{"remote":"127.0.0.1:59038","uuid":{"uuid":{"$uuid":"29ec3709-2d05-4461-b9cf-74f0ded253d5"}},"connectionId":2,"connectionCount":0}}
E {"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"-", "id":4333223, "svc":"S", "ctx":"ReplCoord-0","msg":"RSM now monitoring replica set","attr":{"replicaSet":"rscfg","nReplicaSetMembers":1}}
E {"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"-", "id":4333226, "svc":"S", "ctx":"ReplCoord-0","msg":"RSM host was added to the topology","attr":{"replicaSet":"rscfg","host":"localhost:28073"}}
E {"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"REPL", "id":21306, "svc":"S", "ctx":"ReplCoord-0","msg":"Starting replication storage threads"}
E {"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"CONNPOOL", "id":22576, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Connecting","attr":{"hostAndPort":"localhost:28073"}}
E {"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59054","uuid":{"uuid":{"$uuid":"26535a77-8ab5-4a7d-964f-1adcd2f9573e"}},"connectionId":4,"connectionCount":1}}
E {"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"REPL", "id":4280512, "svc":"S", "ctx":"ReplCoord-0","msg":"No initial sync required. Attempting to begin steady replication","attr":{"lastOpTime":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"isInitialSyncFlagSet":false}}
E {"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"REPL", "id":21358, "svc":"S", "ctx":"ReplCoord-0","msg":"Replica set state transition","attr":{"newState":"RECOVERING","oldState":"STARTUP2"}}
E {"t":{"$date":"2024-11-27T12:10:13.993+00:00"},"s":"I", "c":"STORAGE", "id":20320, "svc":"S", "ctx":"ReplCoord-0","msg":"createCollection","attr":{"namespace":"local.replset.initialSyncId","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"3a71e56e-a21e-4959-99a1-5751addfb2d3"}},"options":{}}}
E {"t":{"$date":"2024-11-27T12:10:13.994+00:00"},"s":"I", "c":"NETWORK", "id":51800, "svc":"S", "ctx":"conn4","msg":"client metadata","attr":{"remote":"127.0.0.1:59054","client":"conn4","negotiatedCompressors":["snappy","zstd","zlib"],"doc":{"driver":{"name":"NetworkInterfaceTL-ReplicaSetMonitor-TaskExecutor","version":"8.0.1-1"},"os":{"type":"Linux","name":"Oracle Linux Server release 8.10","architecture":"x86_64","version":"Kernel 6.5.0-1025-azure"}}}}
E {"t":{"$date":"2024-11-27T12:10:13.994+00:00"},"s":"I", "c":"NETWORK", "id":23729, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"ServerPingMonitor is now monitoring host","attr":{"host":"localhost:28073","replicaSet":"rscfg"}}
E {"t":{"$date":"2024-11-27T12:10:13.994+00:00"},"s":"I", "c":"NETWORK", "id":4333213, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rscfg","newTopologyDescription":{"id":"5995d6cc-88d6-42f3-9e85-f3b3bf2f4728","topologyType":"ReplicaSetNoPrimary","servers":{"localhost:28073":{"address":"localhost:28073","topologyVersion":{"processId":{"$oid":"67470c2597aaaf188c000e38"},"counter":2},"roundTripTime":413,"lastWriteDate":{"$date":"2024-11-27T12:04:28.000Z"},"opTime":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"type":"RSOther","minWireVersion":25,"maxWireVersion":25,"me":"localhost:28073","setName":"rscfg","setVersion":1,"lastUpdateTime":{"$date":"2024-11-27T12:10:13.994Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"localhost:28073"},"arbiters":{},"passives":{}}},"setName":"rscfg","compatible":true},"previousTopologyDescription":{"id":"e4d3dcad-a14c-49b9-afbd-03e66e571a71","topologyType":"ReplicaSetNoPrimary","servers":{"localhost:28073":{"address":"localhost:28073","type":"Unknown","minWireVersion":0,"maxWireVersion":0,"lastUpdateTime":{"$date":{"$numberLong":"-9223372036854775808"}},"hosts":{},"arbiters":{},"passives":{}}},"setName":"rscfg","compatible":true}}}
E {"t":{"$date":"2024-11-27T12:10:13.994+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59062","uuid":{"uuid":{"$uuid":"41031f8c-9b51-4ab0-bfa6-f5e694a8578d"}},"connectionId":5,"connectionCount":2}}
E {"t":{"$date":"2024-11-27T12:10:13.995+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59072","uuid":{"uuid":{"$uuid":"53ed5fb3-2f57-4d02-8c52-5a7122080ea2"}},"connectionId":7,"connectionCount":3}}
E {"t":{"$date":"2024-11-27T12:10:13.995+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "svc":"S", "ctx":"conn4","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":0}}
E {"t":{"$date":"2024-11-27T12:10:13.995+00:00"},"s":"I", "c":"NETWORK", "id":51800, "svc":"S", "ctx":"conn5","msg":"client metadata","attr":{"remote":"127.0.0.1:59062","client":"conn5","negotiatedCompressors":["snappy","zstd","zlib"],"doc":{"driver":{"name":"NetworkInterfaceTL-ReplicaSetMonitor-TaskExecutor","version":"8.0.1-1"},"os":{"type":"Linux","name":"Oracle Linux Server release 8.10","architecture":"x86_64","version":"Kernel 6.5.0-1025-azure"}}}}
E {"t":{"$date":"2024-11-27T12:10:13.995+00:00"},"s":"I", "c":"NETWORK", "id":51800, "svc":"S", "ctx":"conn7","msg":"client metadata","attr":{"remote":"127.0.0.1:59072","client":"conn7","negotiatedCompressors":[],"doc":{"application":{"name":"pbm-physical-restore"},"driver":{"name":"mongo-go-driver","version":"1.16.0"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.23.3","env":{"container":{"runtime":"docker"}}}}}
E {"t":{"$date":"2024-11-27T12:10:13.996+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59088","uuid":{"uuid":{"$uuid":"cced067e-3b1d-456b-9fd9-191249d5331c"}},"connectionId":8,"connectionCount":4}}
E {"t":{"$date":"2024-11-27T12:10:13.996+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59092","uuid":{"uuid":{"$uuid":"e9767f9f-198a-46bd-b7d8-6f83ab063206"}},"connectionId":9,"connectionCount":5}}
E {"t":{"$date":"2024-11-27T12:10:13.996+00:00"},"s":"I", "c":"NETWORK", "id":51800, "svc":"S", "ctx":"conn8","msg":"client metadata","attr":{"remote":"127.0.0.1:59088","client":"conn8","negotiatedCompressors":[],"doc":{"application":{"name":"pbm-physical-restore"},"driver":{"name":"mongo-go-driver","version":"1.16.0"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.23.3","env":{"container":{"runtime":"docker"}}}}}
E {"t":{"$date":"2024-11-27T12:10:13.996+00:00"},"s":"I", "c":"NETWORK", "id":51800, "svc":"S", "ctx":"conn9","msg":"client metadata","attr":{"remote":"127.0.0.1:59092","client":"conn9","negotiatedCompressors":[],"doc":{"application":{"name":"pbm-physical-restore"},"driver":{"name":"mongo-go-driver","version":"1.16.0"},"os":{"type":"linux","architecture":"amd64"},"platform":"go1.23.3","env":{"container":{"runtime":"docker"}}}}}
E {"t":{"$date":"2024-11-27T12:10:13.996+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "svc":"S", "ctx":"conn8","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":0}}
E {"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"INDEX", "id":20345, "svc":"S", "ctx":"ReplCoord-0","msg":"Index build: done building","attr":{"buildUUID":null,"collectionUUID":{"uuid":{"$uuid":"3a71e56e-a21e-4959-99a1-5751addfb2d3"}},"namespace":"local.replset.initialSyncId","index":"_id_","ident":"index-1-1344107906148837839","collectionIdent":"collection-0-1344107906148837839","commitTimestamp":null}}
E {"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"REPL", "id":21299, "svc":"S", "ctx":"ReplCoord-0","msg":"Starting replication fetcher thread"}
E {"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"REPL", "id":8569800, "svc":"S", "ctx":"ReplCoord-0","msg":"Starting replication writer thread"}
E {"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"REPL", "id":21300, "svc":"S", "ctx":"ReplCoord-0","msg":"Starting replication applier thread"}
E {"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"REPL", "id":21301, "svc":"S", "ctx":"ReplCoord-0","msg":"Starting replication reporter thread"}
E {"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"REPL", "id":8543100, "svc":"S", "ctx":"OplogWriter-0","msg":"Starting oplog write"}
E {"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"REPL", "id":21358, "svc":"S", "ctx":"ReplCoord-0","msg":"Replica set state transition","attr":{"newState":"SECONDARY","oldState":"RECOVERING"}}
E {"t":{"$date":"2024-11-27T12:10:13.999+00:00"},"s":"I", "c":"REPL", "id":21224, "svc":"S", "ctx":"OplogApplier-0","msg":"Starting oplog application"}
E {"t":{"$date":"2024-11-27T12:10:14.017+00:00"},"s":"I", "c":"ELECTION", "id":4615652, "svc":"S", "ctx":"ReplCoord-0","msg":"Starting an election, since we've seen no PRIMARY in election timeout period","attr":{"electionTimeoutPeriodMillis":10000}}
E {"t":{"$date":"2024-11-27T12:10:14.017+00:00"},"s":"I", "c":"ELECTION", "id":21438, "svc":"S", "ctx":"ReplCoord-0","msg":"Conducting a dry run election to see if we could be elected","attr":{"currentTerm":1}}
E {"t":{"$date":"2024-11-27T12:10:14.017+00:00"},"s":"I", "c":"REPL", "id":4280511, "svc":"S", "ctx":"ReplCoord-0","msg":"Set local replica set config"}
E {"t":{"$date":"2024-11-27T12:10:14.017+00:00"},"s":"I", "c":"ELECTION", "id":21444, "svc":"S", "ctx":"ReplCoord-1","msg":"Dry election run succeeded, running for election","attr":{"newTerm":2}}
E {"t":{"$date":"2024-11-27T12:10:14.017+00:00"},"s":"I", "c":"REPL", "id":21827, "svc":"S", "ctx":"ReplCoord-1","msg":"Updating term","attr":{"oldTerm":1,"newTerm":2}}
E {"t":{"$date":"2024-11-27T12:10:14.017+00:00"},"s":"I", "c":"ELECTION", "id":6015300, "svc":"S", "ctx":"ReplCoord-0","msg":"Storing last vote document in local storage for my election","attr":{"lastVote":{"term":2,"candidateIndex":0}}}
E {"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":8423402, "svc":"S", "ctx":"BackgroundSync","msg":"Failed to select a sync source on the first attempt. Starting second attempt"}
E {"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"NETWORK", "id":4333213, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rscfg","newTopologyDescription":{"id":"a0228977-0ad3-460a-8175-64d7b2ed4144","topologyType":"ReplicaSetNoPrimary","servers":{"localhost:28073":{"address":"localhost:28073","topologyVersion":{"processId":{"$oid":"67470c2597aaaf188c000e38"},"counter":3},"roundTripTime":458,"lastWriteDate":{"$date":"2024-11-27T12:04:28.000Z"},"opTime":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"type":"RSSecondary","minWireVersion":25,"maxWireVersion":25,"me":"localhost:28073","setName":"rscfg","setVersion":1,"lastUpdateTime":{"$date":"2024-11-27T12:10:14.021Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"localhost:28073"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rscfg","compatible":true},"previousTopologyDescription":{"id":"bb42555b-a75a-48a0-a695-2e8145054969","topologyType":"ReplicaSetNoPrimary","servers":{"localhost:28073":{"address":"localhost:28073","topologyVersion":{"processId":{"$oid":"67470c2597aaaf188c000e38"},"counter":2},"roundTripTime":458,"lastWriteDate":{"$date":"2024-11-27T12:04:28.000Z"},"opTime":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"type":"RSOther","minWireVersion":25,"maxWireVersion":25,"me":"localhost:28073","setName":"rscfg","setVersion":1,"lastUpdateTime":{"$date":"2024-11-27T12:10:13.995Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"localhost:28073"},"arbiters":{},"passives":{}}},"setName":"rscfg","compatible":true}}}
E {"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"ELECTION", "id":21450, "svc":"S", "ctx":"ReplCoord-0","msg":"Election succeeded, assuming primary role","attr":{"term":2}}
E {"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":21358, "svc":"S", "ctx":"ReplCoord-0","msg":"Replica set state transition","attr":{"newState":"PRIMARY","oldState":"SECONDARY"}}
E {"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":21106, "svc":"S", "ctx":"ReplCoord-0","msg":"Resetting sync source to empty","attr":{"previousSyncSource":":27017"}}
E {"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":21359, "svc":"S", "ctx":"ReplCoord-0","msg":"Entering primary catch-up mode"}
E {"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":6015304, "svc":"S", "ctx":"ReplCoord-0","msg":"Skipping primary catchup since we are the only node in the replica set."}
E {"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":21363, "svc":"S", "ctx":"ReplCoord-0","msg":"Exited primary catch-up mode"}
E {"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":21107, "svc":"S", "ctx":"ReplCoord-0","msg":"Stopping replication producer"}
E {"t":{"$date":"2024-11-27T12:10:14.021+00:00"},"s":"I", "c":"REPL", "id":8938402, "svc":"S", "ctx":"OplogWriter-0","msg":"Oplog writer buffer has been drained","attr":{"term":2}}
E {"t":{"$date":"2024-11-27T12:10:14.022+00:00"},"s":"I", "c":"NETWORK", "id":4333213, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rscfg","newTopologyDescription":{"id":"0fd72e4e-8943-4349-b563-c33a26baf565","topologyType":"ReplicaSetNoPrimary","servers":{"localhost:28073":{"address":"localhost:28073","topologyVersion":{"processId":{"$oid":"67470c2597aaaf188c000e38"},"counter":4},"roundTripTime":458,"lastWriteDate":{"$date":"2024-11-27T12:04:28.000Z"},"opTime":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"type":"RSSecondary","minWireVersion":25,"maxWireVersion":25,"me":"localhost:28073","setName":"rscfg","setVersion":1,"electionId":{"$oid":"7fffffff0000000000000002"},"primary":"localhost:28073","lastUpdateTime":{"$date":"2024-11-27T12:10:14.022Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"localhost:28073"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rscfg","compatible":true},"previousTopologyDescription":{"id":"a0228977-0ad3-460a-8175-64d7b2ed4144","topologyType":"ReplicaSetNoPrimary","servers":{"localhost:28073":{"address":"localhost:28073","topologyVersion":{"processId":{"$oid":"67470c2597aaaf188c000e38"},"counter":3},"roundTripTime":458,"lastWriteDate":{"$date":"2024-11-27T12:04:28.000Z"},"opTime":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"type":"RSSecondary","minWireVersion":25,"maxWireVersion":25,"me":"localhost:28073","setName":"rscfg","setVersion":1,"lastUpdateTime":{"$date":"2024-11-27T12:10:14.021Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"localhost:28073"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rscfg","compatible":true}}}
E {"t":{"$date":"2024-11-27T12:10:14.022+00:00"},"s":"I", "c":"REPL", "id":21239, "svc":"S", "ctx":"ReplBatcher","msg":"Oplog applier buffer has been drained","attr":{"term":2}}
E {"t":{"$date":"2024-11-27T12:10:14.022+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59104","uuid":{"uuid":{"$uuid":"e3cade14-0737-4804-95bd-cdaca88b97f3"}},"connectionId":11,"connectionCount":6}}
E {"t":{"$date":"2024-11-27T12:10:14.022+00:00"},"s":"I", "c":"REPL", "id":21343, "svc":"S", "ctx":"RstlKillOpThread","msg":"Starting to kill user operations"}
E {"t":{"$date":"2024-11-27T12:10:14.022+00:00"},"s":"I", "c":"REPL", "id":21344, "svc":"S", "ctx":"RstlKillOpThread","msg":"Stopped killing user operations"}
E {"t":{"$date":"2024-11-27T12:10:14.022+00:00"},"s":"I", "c":"REPL", "id":21340, "svc":"S", "ctx":"RstlKillOpThread","msg":"State transition ops metrics","attr":{"metrics":{"lastStateTransition":"stepUp","totalOpsKilled":0,"totalOpsRunning":4}}}
E {"t":{"$date":"2024-11-27T12:10:14.022+00:00"},"s":"I", "c":"REPL", "id":6015310, "svc":"S", "ctx":"OplogApplier-0","msg":"Starting to transition to primary."}
E {"t":{"$date":"2024-11-27T12:10:14.023+00:00"},"s":"I", "c":"NETWORK", "id":51800, "svc":"S", "ctx":"conn11","msg":"client metadata","attr":{"remote":"127.0.0.1:59104","client":"conn11","negotiatedCompressors":["snappy","zstd","zlib"],"doc":{"driver":{"name":"NetworkInterfaceTL-ShardRegistry","version":"8.0.1-1"},"os":{"type":"Linux","name":"Oracle Linux Server release 8.10","architecture":"x86_64","version":"Kernel 6.5.0-1025-azure"}}}}
E {"t":{"$date":"2024-11-27T12:10:14.023+00:00"},"s":"I", "c":"REPL", "id":6015309, "svc":"S", "ctx":"OplogApplier-0","msg":"Logging transition to primary to oplog on stepup"}
E {"t":{"$date":"2024-11-27T12:10:14.025+00:00"},"s":"W", "c":"QUERY", "id":3216000, "svc":"S", "ctx":"OplogApplier-0","msg":"$jsonSchema validator does not allow '_id' field. This validator will reject all documents, consider adding '_id' to the allowed fields."}
E {"t":{"$date":"2024-11-27T12:10:14.025+00:00"},"s":"W", "c":"QUERY", "id":3216000, "svc":"S", "ctx":"OplogApplier-0","msg":"$jsonSchema validator does not allow '_id' field. This validator will reject all documents, consider adding '_id' to the allowed fields."}
E {"t":{"$date":"2024-11-27T12:10:14.025+00:00"},"s":"I", "c":"COMMAND", "id":5324200, "svc":"S", "ctx":"OplogApplier-0","msg":"CMD: collMod","attr":{"cmdObj":{"collMod":"settings","validator":{"$jsonSchema":{"oneOf":[{"properties":{"_id":{"enum":["balancer"]},"mode":{"enum":["full","off"]},"stopped":{"bsonType":"bool"},"activeWindow":{"bsonType":"object","required":["start","stop"]},"_secondaryThrottle":{"oneOf":[{"bsonType":"bool"},{"bsonType":"object"}]},"_waitForDelete":{"bsonType":"bool"},"attemptToBalanceJumboChunks":{"bsonType":"bool"}},"additionalProperties":false},{"properties":{"_id":{"enum":["chunksize"]},"value":{"bsonType":"number","minimum":1,"maximum":1024}},"additionalProperties":false},{"properties":{"_id":{"enum":["automerge","ReadWriteConcernDefaults","audit"]}}}]}},"validationLevel":"strict"}}}
E {"t":{"$date":"2024-11-27T12:10:14.025+00:00"},"s":"W", "c":"QUERY", "id":3216000, "svc":"S", "ctx":"OplogApplier-0","msg":"$jsonSchema validator does not allow '_id' field. This validator will reject all documents, consider adding '_id' to the allowed fields."}
E {"t":{"$date":"2024-11-27T12:10:14.025+00:00"},"s":"W", "c":"QUERY", "id":3216000, "svc":"S", "ctx":"OplogApplier-0","msg":"$jsonSchema validator does not allow '_id' field. This validator will reject all documents, consider adding '_id' to the allowed fields."}
E {"t":{"$date":"2024-11-27T12:10:14.025+00:00"},"s":"I", "c":"REPL", "id":7360104, "svc":"S", "ctx":"OplogApplier-0","msg":"Wrote oplog entry for collMod","attr":{"namespace":"config.$cmd","uuid":{"uuid":{"$uuid":"109fc0a5-f9fb-4727-9fb3-3cb7d5ed065e"}},"opTime":{"ts":{"$timestamp":{"t":1732709414,"i":3}},"t":2},"object":{"collMod":"settings","validator":{"$jsonSchema":{"oneOf":[{"properties":{"_id":{"enum":["balancer"]},"mode":{"enum":["full","off"]},"stopped":{"bsonType":"bool"},"activeWindow":{"bsonType":"object","required":["start","stop"]},"_secondaryThrottle":{"oneOf":[{"bsonType":"bool"},{"bsonType":"object"}]},"_waitForDelete":{"bsonType":"bool"},"attemptToBalanceJumboChunks":{"bsonType":"bool"}},"additionalProperties":false},{"properties":{"_id":{"enum":["chunksize"]},"value":{"bsonType":"number","minimum":1,"maximum":1024}},"additionalProperties":false},{"properties":{"_id":{"enum":["automerge","ReadWriteConcernDefaults","audit"]}}}]}},"validationLevel":"strict"}}}
E {"t":{"$date":"2024-11-27T12:10:14.026+00:00"},"s":"W", "c":"CONTROL", "id":636300, "svc":"S", "ctx":"ftdc","msg":"Use of deprecated server parameter name","attr":{"deprecatedName":"internalQueryCacheSize","canonicalName":"internalQueryCacheMaxEntriesPerCollection"}}
E {"t":{"$date":"2024-11-27T12:10:14.026+00:00"},"s":"I", "c":"SHARDING", "id":22049, "svc":"S", "ctx":"PeriodicShardedIndexConsistencyChecker","msg":"Checking consistency of sharded collection indexes across the cluster"}
E {"t":{"$date":"2024-11-27T12:10:14.026+00:00"},"s":"W", "c":"CONTROL", "id":636300, "svc":"S", "ctx":"ftdc","msg":"Use of deprecated server parameter name","attr":{"deprecatedName":"oplogSamplingLogIntervalSeconds","canonicalName":"collectionSamplingLogIntervalSeconds"}}
E {"t":{"$date":"2024-11-27T12:10:14.026+00:00"},"s":"W", "c":"NETWORK", "id":23803, "svc":"S", "ctx":"ftdc","msg":"Use of deprecated server parameter 'sslMode', please use 'tlsMode' instead."}
E {"t":{"$date":"2024-11-27T12:10:14.026+00:00"},"s":"W", "c":"CONTROL", "id":636300, "svc":"S", "ctx":"ftdc","msg":"Use of deprecated server parameter name","attr":{"deprecatedName":"wiredTigerConcurrentReadTransactions","canonicalName":"storageEngineConcurrentReadTransactions"}}
E {"t":{"$date":"2024-11-27T12:10:14.026+00:00"},"s":"W", "c":"CONTROL", "id":636300, "svc":"S", "ctx":"ftdc","msg":"Use of deprecated server parameter name","attr":{"deprecatedName":"wiredTigerConcurrentWriteTransactions","canonicalName":"storageEngineConcurrentWriteTransactions"}}
E {"t":{"$date":"2024-11-27T12:10:14.027+00:00"},"s":"I", "c":"STORAGE", "id":20657, "svc":"S", "ctx":"OplogApplier-0","msg":"IndexBuildsCoordinator::onStepUp - this node is stepping up to primary"}
E {"t":{"$date":"2024-11-27T12:10:14.027+00:00"},"s":"I", "c":"-", "id":4939300, "svc":"S", "ctx":"monitoring-keys-for-HMAC","msg":"Failed to refresh key cache","attr":{"error":"ReadConcernMajorityNotAvailableYet: Read concern majority reads are currently not possible.","nextWakeupMillis":400}}
E {"t":{"$date":"2024-11-27T12:10:14.028+00:00"},"s":"I", "c":"-", "id":8025900, "svc":"S", "ctx":"OplogApplier-0","msg":"ReplicaSetAwareServiceRegistry::onStepUpComplete stepping up all services"}
E {"t":{"$date":"2024-11-27T12:10:14.028+00:00"},"s":"I", "c":"STORAGE", "id":7508300, "svc":"S", "ctx":"IndexBuildsCoordinator-StepUp","msg":"Finished performing asynchronous step-up checks on index builds"}
E {"t":{"$date":"2024-11-27T12:10:14.029+00:00"},"s":"I", "c":"REPL", "id":21331, "svc":"S", "ctx":"OplogApplier-0","msg":"Transition to primary complete; database writes are now permitted","attr":{"term":2}}
E {"t":{"$date":"2024-11-27T12:10:14.029+00:00"},"s":"I", "c":"NETWORK", "id":4333213, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rscfg","newTopologyDescription":{"id":"7ff4d56e-df84-4dec-9cd3-a47cb29e62cc","topologyType":"ReplicaSetWithPrimary","servers":{"localhost:28073":{"address":"localhost:28073","topologyVersion":{"processId":{"$oid":"67470c2597aaaf188c000e38"},"counter":5},"roundTripTime":458,"lastWriteDate":{"$date":"2024-11-27T12:10:14.000Z"},"opTime":{"ts":{"$timestamp":{"t":1732709414,"i":4}},"t":2},"type":"RSPrimary","minWireVersion":25,"maxWireVersion":25,"me":"localhost:28073","setName":"rscfg","setVersion":1,"electionId":{"$oid":"7fffffff0000000000000002"},"primary":"localhost:28073","lastUpdateTime":{"$date":"2024-11-27T12:10:14.029Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"localhost:28073"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rscfg","compatible":true,"maxElectionIdSetVersion":{"electionId":{"$oid":"7fffffff0000000000000002"},"setVersion":1}},"previousTopologyDescription":{"id":"0fd72e4e-8943-4349-b563-c33a26baf565","topologyType":"ReplicaSetNoPrimary","servers":{"localhost:28073":{"address":"localhost:28073","topologyVersion":{"processId":{"$oid":"67470c2597aaaf188c000e38"},"counter":4},"roundTripTime":458,"lastWriteDate":{"$date":"2024-11-27T12:04:28.000Z"},"opTime":{"ts":{"$timestamp":{"t":1732709068,"i":1}},"t":1},"type":"RSSecondary","minWireVersion":25,"maxWireVersion":25,"me":"localhost:28073","setName":"rscfg","setVersion":1,"electionId":{"$oid":"7fffffff0000000000000002"},"primary":"localhost:28073","lastUpdateTime":{"$date":"2024-11-27T12:10:14.022Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"localhost:28073"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rscfg","compatible":true}}}
E {"t":{"$date":"2024-11-27T12:10:14.029+00:00"},"s":"I", "c":"SHARDING", "id":471691, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Updating the shard registry with confirmed replica set","attr":{"connectionString":"rscfg/localhost:28073"}}
E {"t":{"$date":"2024-11-27T12:10:14.029+00:00"},"s":"I", "c":"NETWORK", "id":6006301, "svc":"-", "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Replica set primary server change detected","attr":{"replicaSet":"rscfg","topologyType":"ReplicaSetWithPrimary","primary":"localhost:28073","durationMillis":36}}
E {"t":{"$date":"2024-11-27T12:10:14.029+00:00"},"s":"I", "c":"SHARDING", "id":22068, "svc":"-", "ctx":"Sharding-Fixed-3","msg":"Updating shard identity config string with confirmed replica set","attr":{"connectionString":"rscfg/localhost:28073"}}
E {"t":{"$date":"2024-11-27T12:10:14.030+00:00"},"s":"I", "c":"NETWORK", "id":22943, "svc":"-", "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:59114","uuid":{"uuid":{"$uuid":"2e0c24a0-c1ae-4943-ac7a-f217f72e84f5"}},"connectionId":13,"connectionCount":7}}
E {"t":{"$date":"2024-11-27T12:10:14.030+00:00"},"s":"E", "c":"WT", "id":22435, "svc":"S", "ctx":"PlacementHistoryCleanUpJob","msg":"WiredTiger error message","attr":{"error":2,"message":{"ts_sec":1732709414,"ts_usec":30421,"thread":"1968:0x7f204622d700","session_dhandle_name":"file:collection-22-12496978015722617064.wt","session_name":"WT_SESSION.open_cursor","category":"WT_VERB_DEFAULT","category_id":12,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"__posix_open_file:924:/var/lib/mongo/collection-22-12496978015722617064.wt: handle-open: open","error_str":"No such file or directory","error_code":2}}}
E {"t":{"$date":"2024-11-27T12:10:14.030+00:00"},"s":"F", "c":"STORAGE", "id":50883, "svc":"S", "ctx":"PlacementHistoryCleanUpJob","msg":"Cursor not found","attr":{"error":{"code":43,"codeName":"CursorNotFound","errmsg":"Failed to open a WiredTiger cursor. Reason: UnknownError: 2: No such file or directory, uri: table:collection-22-12496978015722617064, config: "}}}
E {"t":{"$date":"2024-11-27T12:10:14.030+00:00"},"s":"F", "c":"ASSERT", "id":23091, "svc":"S", "ctx":"PlacementHistoryCleanUpJob","msg":"Fatal assertion","attr":{"msgid":50883,"file":"src/mongo/db/storage/wiredtiger/wiredtiger_cursor.cpp","line":111}}
E {"t":{"$date":"2024-11-27T12:10:14.030+00:00"},"s":"F", "c":"ASSERT", "id":23092, "svc":"S", "ctx":"PlacementHistoryCleanUpJob","msg":"\n\n***aborting after fassert() failure\n\n"}
cluster.py:462: AssertionError
Check failure on line 123 in pbm-functional/pytest/test_PBM-1355.py
github-actions / JUnit Test Report
test_PBM-1355.test_remap_PBM_T265[physical]
AssertionError: Unexpected exit code 1 for CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f5387714a90>, exit_status=1, command=b'pbm config --force-resync --out json', _stdout=b'{"error":"another operation in progress","operation":{"node":"newrscfg01:27017","opid":"674714e0cc94a43e0098845f","replset":"newrscfg","type":"resync"}}\n', _stderr=b'')
assert 1 == 0
+ where 1 = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f5387714a90>, exit_status=1, command=b'pbm ...n":{"node":"newrscfg01:27017","opid":"674714e0cc94a43e0098845f","replset":"newrscfg","type":"resync"}}\n', _stderr=b'').rc
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f537ffda650>
newcluster = <cluster.Cluster object at 0x7f537ffdbcd0>
backup_type = 'physical'
@pytest.mark.timeout(900,func_only=True)
@pytest.mark.parametrize('backup_type',['logical','physical'])
def test_remap_PBM_T265(start_cluster,cluster,newcluster,backup_type):
cluster.check_pbm_status()
client=pymongo.MongoClient(cluster.connection)
for i in range(600):
client['test']['test'].insert_one({"doc":i})
backup=cluster.make_backup(backup_type)
backup = backup + ' --replset-remapping="newrs1=rs1,newrscfg=rscfg"'
cluster.destroy()
newcluster.create()
client=pymongo.MongoClient(newcluster.connection)
Cluster.log(client.admin.command({'transitionFromDedicatedConfigServer': 1}))
newcluster.setup_pbm()
result = newcluster.exec_pbm_cli("config --set storage.type=filesystem --set storage.filesystem.path=/backups --set backup.compression=none")
assert result.rc == 0
> newcluster.make_resync()
test_PBM-1355.py:123:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <cluster.Cluster object at 0x7f537ffdbcd0>
def make_resync(self):
n = testinfra.get_host("docker://" + self.pbm_cli)
> result = n.check_output('pbm config --force-resync --out json')
E AssertionError: Unexpected exit code 1 for CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f5387714a90>, exit_status=1, command=b'pbm config --force-resync --out json', _stdout=b'{"error":"another operation in progress","operation":{"node":"newrscfg01:27017","opid":"674714e0cc94a43e0098845f","replset":"newrscfg","type":"resync"}}\n', _stderr=b'')
E assert 1 == 0
E + where 1 = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f5387714a90>, exit_status=1, command=b'pbm ...n":{"node":"newrscfg01:27017","opid":"674714e0cc94a43e0098845f","replset":"newrscfg","type":"resync"}}\n', _stderr=b'').rc
cluster.py:359: AssertionError
Loading