MigrationErrorReason
@horizon-republic/nestjs-jetstream
@horizon-republic/nestjs-jetstream / MigrationErrorReason
MigrationErrorReason
Defined in: src/errors/errors.types.ts:80
Why a destructive stream migration was refused or did not finish.
Enumeration Members
InProgress
InProgress:
"in-progress"
Defined in: src/errors/errors.types.ts:87
InsufficientCapacity
InsufficientCapacity:
"insufficient-capacity"
Defined in: src/errors/errors.types.ts:89
The new limits cannot hold the messages the stream already has.
LockLost
LockLost:
"lock-lost"
Defined in: src/errors/errors.types.ts:91
The migrating instance lost its lock to another one and stopped before a destructive step.
MessageSchedules
MessageSchedules:
"message-schedules"
Defined in: src/errors/errors.types.ts:93
The stream allows message schedules, which NATS refuses to source messages back into.
PeerTimeout
PeerTimeout:
"peer-timeout"
Defined in: src/errors/errors.types.ts:86
No longer raised: an instance now waits for a live peer migration and takes over an abandoned one.
ScheduleStream
ScheduleStream:
"schedule-stream"
Defined in: src/errors/errors.types.ts:82
SharedStream
SharedStream:
"shared-stream"
Defined in: src/errors/errors.types.ts:83
SourcingTimeout
SourcingTimeout:
"sourcing-timeout"
Defined in: src/errors/errors.types.ts:84
TransportConfigConflict
TransportConfigConflict:
"transport-config-conflict"
Defined in: src/errors/errors.types.ts:81