Skip to content
Playground(another site)

bynk.store.annotation_unsupported

Error A known storage annotation that nothing acts on yet (@bounded) is used; the others (@ttl, @retain, @indexed) are functional.

A storage annotation has a fixed set of kinds it applies to and a meaning that arrives in stages. @bounded is recognised on Queue and Log, but nothing acts on it yet, so it is refused rather than accepted and ignored. Leave it off. To limit a Log, use @retain, which drops entries older than a period. A known annotation on the wrong kind is bynk.store.annotation_kind_mismatch.

Example

store trail: Log[Event] @bounded(100) // ✗ `@bounded` is recognised but has no effect yet
store trail: Log[Event] @retain(30.days) // ✓ keep 30 days of entries

In the Book

See also

  • Every code in its category, Agent storage, on the diagnostic index.
  • bynk explain bynk.store.annotation_unsupported shows the same from the installed toolchain, without a network.