-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Replication
-
Fully Compatible
-
ALL
-
Repl 2026-03-02
-
None
-
None
-
None
-
None
-
None
-
None
-
None
This diff should do the trick to get all the configs for the OIS, CRS to normal and wait properly for the ORP entries to show up:
diff --git a/src/mongo/db/modules/atlas/jstests/disagg_storage/libs/slstest.js b/src/mongo/db/modules/atlas/jstests/disagg_storage/libs/slstest.js index d84689ad088..7f8acace8cb 100644 --- a/src/mongo/db/modules/atlas/jstests/disagg_storage/libs/slstest.js +++ b/src/mongo/db/modules/atlas/jstests/disagg_storage/libs/slstest.js @@ -1749,8 +1749,13 @@ export class SLSBackupRestoreTest extends SLSTest { "role_arn": null, }, }, - "object_store_event_queue_config": { - "File": "/config-sharding/ois_event_queue_config.yml", + // "object_store_event_queue_config": { + // "File": "/config-sharding/ois_event_queue_config.yml", + // }, + "created_event_queue_config": { + "SQS": { + "url_template": `https://sqs.${this.AWS_REGION}.${this.LOCALSTACK_HOST}:${this.S3_SQS_PORT}/${this.AWS_ACCOUNT_ID}/${this.S3_BUCKET_NAME}` + }, }, "log_ancestry_config": { "SlsBackupService": { @@ -1758,7 +1763,7 @@ export class SLSBackupRestoreTest extends SLSTest { }, }, "storage_dir": "objectindexd_storage/", - "scan_frequency": "2s", + // "scan_frequency": "2s", "sync_period": "5s", "sync_memory_threshold": 100000000, "num_index_consumers": 1, @@ -1931,8 +1936,9 @@ export class SLSBackupRestoreTest extends SLSTest { scrape_interval: "10s", }, cell_metadata: { + cell: "cell1", default_log_servers: [this.nodesByName["logd"].uri], - log_id: 1, + log_ids: {cell1: 1}, default_log_segment_id: 0, }, object_storage: { @@ -2103,7 +2109,7 @@ export class SLSBackupRestoreTest extends SLSTest { // Wait for page materializer to send pages to ORP. jsTest.log.info("Wait until the ORP can fetch entries."); - this.waitForLSNRange(originalLogId, 0, checkpoint.phylogCompletionMarkerLsn); + this.waitForLSNRange(originalLogId, String(BigInt(checkpoint.phylogCompletionMarkerLsn) - BigInt(1)), checkpoint.phylogCompletionMarkerLsn); jsTest.log.info("Restoring."); // RestoreLog will populate the log servers (none in this case), page servers, ORP, and other services.