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
To improve performance, we need to add indexes in structLogs objects on backend side (currently we are adding them on frontend during loading structLogs in analyzer saga)
In file: packages/transaction-trace-provider/src/sqsConsumer.ts function: processTx
We need to have add map which add index for every structLog object in array traceResult.structLogs
In file: packages/frontend/src/store/analyzer/analyzer.providers.ts class TransactionTraceFetcher function getStructLog Remove map for adding index to structLogs
Add TRawTransactionTraceResult as a type for updated traceResult object
Main issue - you have to update every single json file stored in:
Because there will be already traceResoults stored in files without index.
You need to update it (around 200 files on prd) or delete it all (it may be costly, because lambdas need to reprocess them all, but it will be with indexes)
The text was updated successfully, but these errors were encountered:
To improve performance, we need to add indexes in structLogs objects on backend side (currently we are adding them on frontend during loading structLogs in analyzer saga)
In file:
packages/transaction-trace-provider/src/sqsConsumer.ts
function:processTx
We need to have add map which add index for every structLog object in array
traceResult.structLogs
In file:
packages/frontend/src/store/analyzer/analyzer.providers.ts
classTransactionTraceFetcher
functiongetStructLog
Remove map for adding index to structLogsAdd
TRawTransactionTraceResult
as a type for updatedtraceResult
objectMain issue - you have to update every single json file stored in:
transaction-trace-storage-prod.rumblefish.dev/trace/*
transaction-trace-storage-stage.rumblefish.dev/trace/*
Because there will be already traceResoults stored in files without index.
You need to update it (around 200 files on prd) or delete it all (it may be costly, because lambdas need to reprocess them all, but it will be with indexes)
The text was updated successfully, but these errors were encountered: