503 responses. Write operations are blocked; reads are still allowed.
Event Handlers
The simplest way to handle maintenance is via constructor callbacks:Write Behavior
Write operations throwMaintenanceError immediately if the SDK is already in maintenance state — they do not hit the server:
Read Behavior
Read operations (listRecords, getRecord, paginateRecords, getSchema, getBootstrap) are allowed during maintenance and may succeed depending on server behavior.
Automatic Recovery
Maintenance mode clears automatically — if any request succeeds after a 503, the SDK exits maintenance mode and firesmaintenanceEnd.