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
When making a request to the v2/assets endpoint, I get what appears to be an incorrect metadata-hash in the response, apparently copied from a different asset in the payload.
The correct metadata-hash is returned when requesting a specific asset by id /v2/assets/{asset-id}
The incorrect metadata-hash is returned when making a request to /v2/assets?name=RareAF&limit=100 and is identical to (copied from?) another asset in the same payload.
There may be more params besides metadata-hash returned in the payload that are copied from a different asset but they happen to be identical in my example.
I don't have a test env setup to check but I did browse the relevant section in the indexer and nothing obvious stuck out.
One thing I did notice is the buffered channel here:
When making a request to the v2/assets endpoint, I get what appears to be an incorrect metadata-hash in the response, apparently copied from a different asset in the payload.
The correct metadata-hash is returned when requesting a specific asset by id
/v2/assets/{asset-id}
The incorrect metadata-hash is returned when making a request to
/v2/assets?name=RareAF&limit=100
and is identical to (copied from?) another asset in the same payload.There may be more params besides metadata-hash returned in the payload that are copied from a different asset but they happen to be identical in my example.
I don't have a test env setup to check but I did browse the relevant section in the indexer and nothing obvious stuck out.
One thing I did notice is the buffered channel here:
indexer/idb/postgres/postgres.go
Line 2521 in 2fbf02d
Adding a buffer to a channel has almost always bit me with a subtle race bug. Unlikely to be the cause here but maybe something to look at.
The text was updated successfully, but these errors were encountered: