Hi folks!
# spicedb
g
Hi folks! I've began noticing tons of "context canceled" errors on Datadog traces coming from the dispatch service. Is this expected? Unsure if this has been asked before, so apologies if this information is already available elsewhere. We do not have dispatch cluster enabled, in case that's relevant
y
hmm... not having dispatching enabled and still seeing those errors is kinda weird. however, the dispatch service is an internal implementation detail with a whole bunch of optimization including hedging, and iirc that uses a cancellation mechanism. if you're not seeing other cause for concern in your cluster i wouldn't worry about it.
v
that's expected. SpiceDB still runs subproblems concurrently, and cancels them when they are no longer needed, so it shows up in your traces
it's a mechanism to spare unnecessary computation / DB access
g
Aaah that makes a ton of sense. I was hoping that was it but couldn't find any confirmation that it indeed was cancelling it.
Really appreciate the help folks
y
sure thing!
2 Views