Command Info

Name: mongo:ensure-indexes

Description: Ensure MongoDB indexes exist for optimal query performance

Status: completed

Start Time: 2026-09-30 12:07:52

End Time: 2026-09-30 12:07:52

Total Time: 0 seconds

Dispatched Jobs Count: 0

Successful Jobs Count: 0

Failed Jobs Count: 0

Output

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