You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed an issue with the QueryResult -> parseRecords logic when running a query against a redis read-only replica. Specific issue around Labels retrieval that it called internally when parsing a node:
marcinc
changed the title
QueryResult parsing fails on node labels retrieval on read only replicas
[Bug] QueryResult parsing fails on node labels retrieval on read only replicas
Oct 10, 2022
I noticed an issue with the QueryResult -> parseRecords logic when running a query against a redis read-only replica. Specific issue around Labels retrieval that it called internally when parsing a node:
redisgraph-go/query_result.go
Line 143 in 3b0ad09
redisgraph-go/query_result.go
Line 178 in 3b0ad09
Turned out the
Labels()
calls procedure internallyredisgraph-go/graph.go
Lines 283 to 284 in 3b0ad09
g.Query(q)
which will obviously fail on read-only replicas.redisgraph-go/graph.go
Line 279 in 3b0ad09
I'm happy to submit a PR for this issue as I've already solved it in my current project.
The text was updated successfully, but these errors were encountered: