• Sam

    Sam

    5 months ago
    Also since you're using the swagger ui, you'll have to include "Bearer" with your token so "Bearer <your token" when you set the Authorization header
  • vroldanbet

    vroldanbet

    5 months ago
    👋🏻 does
    "rpc error: code = Unimplemented desc = unknown service authzed.api.v1.SchemaService"
    sound familiar when doing
    zed schema write
    ?
  • vroldanbet

    vroldanbet

    5 months ago
    See a
    V1SchemaServiceEnabled
    flag
  • Jake

    Jake

    5 months ago
    no that doesn't sound familiar
  • Jake

    Jake

    5 months ago
    all of the services should get started automatically by the pkg/cmd machinery
  • vroldanbet

    vroldanbet

    5 months ago
    I discovered that somehow I was setting "disable schema service v1" flag in my run configuration!
  • vroldanbet

    vroldanbet

    5 months ago
    what is the difference between "dispatch" and "cluster dispatch" from the caching dispatcher perspective? https://github.com/authzed/spicedb/blob/94c69634c5d552fab34a9402e19973d7f68904da/pkg/cmd/serve.go#L59-L60
  • Jake

    Jake

    5 months ago
    client and server side caches, e.g. if node A is dispatching to node B, there is a cache on both A and B with the subproblem and the computed answer
  • Jake

    Jake

    5 months ago
    A's cache is much closer (nanoseconds) but is less likely to have the answer due to the way the consistent hashring works, B's cache is more likely to have the answer but is probably high microseconds to low milliseconds away
  • vroldanbet

    vroldanbet

    5 months ago
    understood! 👍🏻 thanks for clarifying