Repository navigation
Dreadnought Protocol
Dreadnought is the legacy data migration component of the SASL Core Engine.
Its primary responsibility is to transfer supported legacy lock records into the SecureAutoSmartLocks repository architecture.
In the Colossus v2.8.2 architecture, Dreadnought uses the Universal Bridge Adapter and BatchMigrationEngine to coordinate migration, validation, and bulk ingestion.
Dreadnought consists of several cooperating mechanisms.
| Component | Responsibility |
|---|---|
| UniversalBridgeAdapter | Coordinates the legacy migration workflow. |
| Keyset Pagination | Reads database records through an advancing cursor. |
| Migration Validation | Checks migration entries and cursor progression. |
| MigrationGeometryUtil | Supports migration-entry geometry handling and deduplication. |
| BatchMigrationEngine | Receives and processes bulk migration entries. |
These mechanisms work together to move supported legacy records into SASL's migration pipeline.
Dreadnought includes a migration provider for legacy LWC SQLite data.
The migration workflow reads supported records and converts them into SASL migration entries.
The current LWC migration path extracts information such as:
- World identification.
- Block coordinates.
- Owner UUID.
- Block type.
- Migration record identification.
The resulting entries are prepared for ingestion into the SASL migration system.
Important: The migration process should not be interpreted as a complete conversion of every LWC protection feature.
Dreadnought uses keyset-based paging to retrieve migration records.
Instead of relying on increasingly large SQL OFFSET values, the migration adapter advances through records using a cursor based on the database row identifier.
The workflow includes:
- Reading a migration page.
- Tracking the last processed row identifier.
- Requesting the next page using the advancing cursor.
- Validating the returned migration entries.
- Checking whether cursor progression occurred.
- Passing valid entries to the batch ingestion system.
This approach avoids the repeated offset-based traversal pattern.
After migration entries are retrieved and validated, Dreadnought submits them to BatchMigrationEngine.
The integration includes:
- Bulk migration-entry ingestion.
- Geometry-related validation and deduplication.
- Tracking processed migration data.
- Coordinating migration task completion.
- Handling unsuccessful migration pages.
The batch engine provides the ingestion mechanism used by the migration workflow.
It is not the legacy database provider itself.
Dreadnought includes checks designed to prevent an unsuccessful migration page from being treated as a successfully completed migration step.
The migration workflow evaluates:
- Whether a database page reports a failure.
- Whether the migration cursor advances.
- Whether migration entries can be processed.
- Whether the ingestion task completes successfully.
If a migration page fails or the cursor cannot advance, the workflow can abort rather than continue as though the page had been processed correctly.
The migration source is not archived through the normal successful-completion path when migration errors remain.
This distinction is important: a migration attempt is not equivalent to a completed migration.
The current SASL 2.8.2 migration implementation focuses on supported lock ownership and block information.
It does not represent complete preservation of all LWC access-control rules.
The following capabilities must not be advertised as fully migrated:
- Public access permissions.
- Password-based protection.
- Complete legacy trust and access-right configurations.
Full LWC rights migration remains a planned improvement for a later development stage.
Administrators should review migrated locks and their access settings after migration.
Before starting a legacy migration:
- Create a Backup: Back up the server and original LWC database.
- Prepare SASL: Install and initialize the SASL version intended for migration.
- Check Migration Input: Verify that the required legacy database is available to the migration workflow.
- Run the Migration: Start the supported migration procedure.
- Review the Result: Check migration output and verify migrated locks in-game.
- Preserve the Backup: Keep the original database until the migration has been reviewed successfully.
Do not delete the original migration source merely because the migration process has started.
Dreadnought has a specific responsibility within the five-component SASL Core Engine.
| Component | Responsibility |
|---|---|
| Argus | Lock integrity monitoring and ghost-data evaluation |
| Phoenix | Chunk-load recovery |
| Executioner | Final purge operations |
| Dreadnought | Legacy data migration |
| Maximus | Cache and temporary-state maintenance |
Dreadnought handles migration. It does not replace the normal lock repository, Phoenix recovery system, or the other Core Engine components.
This documentation describes the migration implementation associated with SASL 2.8.2.
Migration behavior depends on the supported legacy data format and the information available in the source database.
Complete LWC permission migration, native SQL/MariaDB repository support, and future migration improvements must not be considered completed features of this release unless separately implemented and documented.
Always maintain a backup of the original database before migration.
Architected by Protocol-S Development
Lead Architect: RunningArmy6
Project: SecureAutoSmartLocks (SASL)