Command Info

Name: mongo:ensure-indexes

Description: Ensure MongoDB indexes exist for optimal query performance

Status: completed

Start Time: 2026-09-26 20:55:54

End Time: 2026-09-26 20:55:55

Total Time: 1 second

Dispatched Jobs Count: 0

Successful Jobs Count: 0

Failed Jobs Count: 0

Output

20:55:54 Lock acquired for command: mongo:ensure-indexes
20:55:54 🔍 Ensuring MongoDB indexes exist...
20:55:54 📊 Processing WebsiteSeoData collection...
20:55:54 ✅ Index already exists: idx_domain_date_desc (domain_name ASC, date DESC)
20:55:54 🤖 Processing HermesInstance collection...
20:55:54 ✅ Index already exists: hermes_profile_name_unique
20:55:54 ✅ Index already exists: hermes_host_port_unique
20:55:54 ✅ Index already exists: hermes_user_id_unique_sparse
20:55:54 ✅ Index already exists: hermes_status_enabled
20:55:54 📡 Processing UpdownIncidentCluster collection...
20:55:55 ✅ Created index: updown_cluster_key_unique
20:55:55 ✅ Created index: updown_cluster_status_last_incident
20:55:55 ✅ Created index: updown_cluster_status_resolved_at
20:55:55 ✅ Created index: updown_cluster_key_lookup
20:55:55 ✅ Incident (server_id, status) membership index ensured
20:55:55 📋 Processing Job collection...
20:55:55 ✅ Index already exists: command_id_status
20:55:55 ✅ Index already exists: job_class
20:55:55 📡 Processing Command collection...
20:55:55 ✅ Index already exists: name_idx
20:55:55 📝 Processing UserAction collection...
20:55:55 ✅ Index already exists: user_action_invocation_idx
20:55:55 🔐 Processing WpLoginCode collection...
20:55:55 ✅ Index already exists: wp_login_code_hash_unique
20:55:55 ✅ Index already exists: wp_login_code_expires_ttl
20:55:55 ✅ All indexes have been ensured!
20:55:55 Lock released for mongo:ensure-indexes