Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-10631

Failed to start mongod process using MongoDB Atlas snapshot

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      MongoDB Atlas:
      MongoDB Version 6.2

      Windows 10:
      mongod Version 6.0.4

      Hi,

       

      I am currently running newest version of MongoDB Atlas, version 6.2. I want to restore a database from a snapshot from earlier today. Ive downloaded the snapshot locally (Windows 10 64-bit Enterprise) and installed the latest MongoDB Community edition which includes the mongod version 6.0.4.

       

      When I try to run the mongod process with the dbpath set to the snapshot Ive downloaded from MongoDB Atlas, I get this error:

       

       

      {"t":{"$date":"2023-02-20T16:08:45.292+01:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"-","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
      {"t":{"$date":"2023-02-20T16:08:45.294+01:00"},"s":"I",  "c":"NETWORK",  "id":4915701, "ctx":"thread1","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":17},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":17},"outgoing":{"minWireVersion":6,"maxWireVersion":17},"isInternalClient":true}}}
      {"t":{"$date":"2023-02-20T16:08:46.304+01:00"},"s":"I",  "c":"NETWORK",  "id":4648602, "ctx":"thread1","msg":"Implicit TCP FastOpen in use."}
      {"t":{"$date":"2023-02-20T16:08:46.306+01:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"thread1","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}}
      {"t":{"$date":"2023-02-20T16:08:46.306+01:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"thread1","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}}
      {"t":{"$date":"2023-02-20T16:08:46.306+01:00"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"thread1","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ShardSplitDonorService","namespace":"config.tenantSplitDonors"}}
      {"t":{"$date":"2023-02-20T16:08:46.306+01:00"},"s":"I",  "c":"CONTROL",  "id":5945603, "ctx":"thread1","msg":"Multi threading initialized"}
      {"t":{"$date":"2023-02-20T16:08:46.308+01:00"},"s":"I",  "c":"CONTROL",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":16224,"port":27017,"dbPath":"./restore-63f35ed4a0257c640049845e/","architecture":"64-bit","host":""}}
      {"t":{"$date":"2023-02-20T16:08:46.308+01:00"},"s":"I",  "c":"CONTROL",  "id":23398,   "ctx":"initandlisten","msg":"Target operating system minimum version","attr":{"targetMinOS":"Windows 7/Windows Server 2008 R2"}}
      {"t":{"$date":"2023-02-20T16:08:46.308+01:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"6.0.4","gitVersion":"44ff59461c1353638a71e710f385a566bcd2f547","modules":[],"allocator":"tcmalloc","environment":{"distmod":"windows","distarch":"x86_64","target_arch":"x86_64"}}}}
      {"t":{"$date":"2023-02-20T16:08:46.308+01:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Microsoft Windows 10","version":"10.0 (build 19042)"}}}
      {"t":{"$date":"2023-02-20T16:08:46.308+01:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"storage":{"dbPath":".\\restore-63f35ed4a0257c640049845e\\"}}}}
      {"t":{"$date":"2023-02-20T16:08:46.309+01:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=15271M,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],"}}
      {"t":{"$date":"2023-02-20T16:08:46.319+01:00"},"s":"I",  "c":"WT",       "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1676905726,"ts_usec":318909,"thread":"16224:140717269734736","session_name":"connection","category":"WT_VERB_METADATA","category_id":24,"verbose_level":"NOTICE","verbose_level_id":-1,"msg":"Both WiredTiger.turtle and WiredTiger.backup exist; recreating metadata from backup"}}}
      {"t":{"$date":"2023-02-20T16:08:46.358+01:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":-31802,"message":{"ts_sec":1676905726,"ts_usec":357914,"thread":"16224:140717269734736","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"int __cdecl __win_open_file(struct __wt_file_system *,struct __wt_session *,const char *,enum WT_FS_OPEN_FILE_TYPE,unsigned int,struct __wt_file_handle **):535:.\\restore-63f35ed4a0257c640049845e\\\\WiredTigerHS.wt\r: handle-open: CreateFileW: The filename, directory name, or volume label syntax is incorrect.\r\n","error_str":"WT_ERROR: non-specific WiredTiger error","error_code":-31802}}}
      {"t":{"$date":"2023-02-20T16:08:46.395+01:00"},"s":"I",  "c":"WT",       "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1676905726,"ts_usec":394915,"thread":"16224:140717269734736","session_name":"connection","category":"WT_VERB_METADATA","category_id":24,"verbose_level":"NOTICE","verbose_level_id":-1,"msg":"Both WiredTiger.turtle and WiredTiger.backup exist; recreating metadata from backup"}}}
      {"t":{"$date":"2023-02-20T16:08:46.428+01:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":-31802,"message":{"ts_sec":1676905726,"ts_usec":427911,"thread":"16224:140717269734736","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"int __cdecl __win_open_file(struct __wt_file_system *,struct __wt_session *,const char *,enum WT_FS_OPEN_FILE_TYPE,unsigned int,struct __wt_file_handle **):535:.\\restore-63f35ed4a0257c640049845e\\\\WiredTigerHS.wt\r: handle-open: CreateFileW: The filename, directory name, or volume label syntax is incorrect.\r\n","error_str":"WT_ERROR: non-specific WiredTiger error","error_code":-31802}}}
      {"t":{"$date":"2023-02-20T16:08:46.459+01:00"},"s":"I",  "c":"WT",       "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1676905726,"ts_usec":458921,"thread":"16224:140717269734736","session_name":"connection","category":"WT_VERB_METADATA","category_id":24,"verbose_level":"NOTICE","verbose_level_id":-1,"msg":"Both WiredTiger.turtle and WiredTiger.backup exist; recreating metadata from backup"}}}
      {"t":{"$date":"2023-02-20T16:08:46.488+01:00"},"s":"E",  "c":"WT",       "id":22435,   "ctx":"initandlisten","msg":"WiredTiger error message","attr":{"error":-31802,"message":{"ts_sec":1676905726,"ts_usec":488167,"thread":"16224:140717269734736","session_name":"connection","category":"WT_VERB_DEFAULT","category_id":9,"verbose_level":"ERROR","verbose_level_id":-3,"msg":"int __cdecl __win_open_file(struct __wt_file_system *,struct __wt_session *,const char *,enum WT_FS_OPEN_FILE_TYPE,unsigned int,struct __wt_file_handle **):535:.\\restore-63f35ed4a0257c640049845e\\\\WiredTigerHS.wt\r: handle-open: CreateFileW: The filename, directory name, or volume label syntax is incorrect.\r\n","error_str":"WT_ERROR: non-specific WiredTiger error","error_code":-31802}}}
      {"t":{"$date":"2023-02-20T16:08:46.510+01:00"},"s":"W",  "c":"STORAGE",  "id":22347,   "ctx":"initandlisten","msg":"Failed to start up WiredTiger under any compatibility version. This may be due to an unsupported upgrade or downgrade."}
      {"t":{"$date":"2023-02-20T16:08:46.511+01:00"},"s":"F",  "c":"STORAGE",  "id":28595,   "ctx":"initandlisten","msg":"Terminating.","attr":{"reason":"-31802: WT_ERROR: non-specific WiredTiger error"}}
      {"t":{"$date":"2023-02-20T16:08:46.511+01:00"},"s":"F",  "c":"ASSERT",   "id":23091,   "ctx":"initandlisten","msg":"Fatal assertion","attr":{"msgid":28595,"file":"src\\mongo\\db\\storage\\wiredtiger\\wiredtiger_kv_engine.cpp","line":708}}
      {"t":{"$date":"2023-02-20T16:08:46.511+01:00"},"s":"F",  "c":"ASSERT",   "id":23092,   "ctx":"initandlisten","msg":"\n\n***aborting after fassert() failure\n\n"} 

      Its obviously a compability issue. But I would think that mongod running version 6 would be able to run a snapshot also from version 6.

       

       

            Assignee:
            yuan.fang@mongodb.com Yuan Fang
            Reporter:
            richard.key@kpmg.no Richard Joakim Key
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: