bynk.revert.agent_schema_older
Error bynk revert refused because the target writes an older agent schema version than the live one while stored instances exist, are not known to be absent, or the target is below the class's floor, so the older code would fault on newer records.
Agent state is stamped with the schema version of the build that wrote it, and older code faults with NewerSchema on records written by newer code. bynk revert therefore refuses to go back to a build with an older schema version while stored instances exist, while they are not known to be absent, or when the target is below the class's schema floor. The listing of stored objects lags a write by minutes, so within 30 minutes of the live deploy an empty listing counts as unknown. Deploy a fix forward instead.
Example
bynk revert --dry-run agent Cart refused: the target writes schema v1, the live version v2, and stored instances exist
bynk deploy # fix forwardIn the Book
See also
- Every code in its category, Other, on the diagnostic index.
bynk explain bynk.revert.agent_schema_oldershows the same from the installed toolchain, without a network.