asastats / channel

The ASA Stats official communication channel.
19 stars 1 forks source link

[B3] Rand Gallery listings are not updated #953

Open ipaleka opened 8 months ago

ipaleka commented 8 months ago

[B2] By SCN9A in Discord DM.


It's a bug we didn't resolve fully, for now, we'll make a "manual" fix.

ipaleka commented 8 months ago

Fixed for now by cache update, more tests to come.

ipaleka commented 8 months ago

A similar thing sometimes happens with NFD purchases and we need to update the cache afterwards.

The problem isn't reproducible as using the same routine and fetching the data from Indexer always records those missing listings/purchases, so it seems that Indexer sometimes returns reduced block transactions for the most recent block(s). As of now, the solution is probably to rewrite the real-time process to fetch the block transactions from the Node instance and use Indexer only for migrations. Let's just hope that the Node instance and related SQLite database will always return a full set of block transactions.

ipaleka commented 8 months ago

A similar thing sometimes happens with NFD purchases and we need to update the cache afterwards.

The problem isn't reproducible as using the same routine and fetching the data from Indexer always records those missing listings/purchases, so it seems that Indexer sometimes returns reduced block transactions for the most recent block(s). As of now, the solution is probably to rewrite the real-time process to fetch the block transactions from the Node instance and use Indexer only for migrations. Let's just hope that the Node instance and related SQLite database will always return a full set of block transactions.

An initial test with a changed routine from multiprocessing to a single process type brought a good result on the development machine. After all the RandGallery NFT records are collected, we're going to update the collector service and test the production results afterwards.

ipaleka commented 8 months ago

An initial test with a changed routine from multiprocessing to a single process type brought a good result on the development machine. After all the RandGallery NFT records are collected, we're going to update the collector service and test the production results afterwards.

Unfortunately, this change doesn't affect the production machine and some listings have failed to be fetched.

As the problem isn't reproducible on a development machine, that probably means the problem isn't in Indexer's partial/postponed response.

wxivd commented 7 months ago

[B1]

@ipaleka

ASA Stats shows I own 3/3 multi-mint NFT collection "AlgoOwl", but I own only one listed on Rand. No other errors for multi-mint NFTs. This may have been caused by that I changed listing price on Rand without delisting.

Thank you