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
Database should save transaction with very big assets even if they are too big to be indexed.
Current Behavior
Database rejects big multi-payment transactions if asset is too big to be properly indexed, which result in error:
ERROR: Could not save 101 blocks to database : QueryFailedError: index row size 3120 exceeds btree version 4 maximum 2704 for index "transactions_asset"
at new QueryFailedError (/home/sebastijan.kuzner/core/node_modules/typeorm/error/QueryFailedError.js:11:28)
at Query.<anonymous> (/home/sebastijan.kuzner/core/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:176:38)
at Query.handleError (/home/sebastijan.kuzner/core/node_modules/pg/lib/query.js:146:19)
at Connection.connectedErrorMessageHandler (/home/sebastijan.kuzner/core/node_modules/pg/lib/client.js:233:17)
at Connection.emit (events.js:315:20)
at /home/sebastijan.kuzner/core/node_modules/pg/lib/connection.js:109:10
at Parser.parse (/home/sebastijan.kuzner/core/node_modules/pg-protocol/dist/parser.js:42:17)
at Socket.<anonymous> (/home/sebastijan.kuzner/core/node_modules/pg-protocol/dist/index.js:8:42)
at Socket.emit (events.js:315:20)
at addChunk (_stream_readable.js:295:12)
Possible Solution
Implement partial index for transactions assets.
The text was updated successfully, but these errors were encountered:
sebastijankuzner
changed the title
Include partial index for transactions.assets (v3)
Include partial index for transactions.asset (v3)
Aug 10, 2020
Expected Behavior
Database should save transaction with very big assets even if they are too big to be indexed.
Current Behavior
Database rejects big multi-payment transactions if asset is too big to be properly indexed, which result in error:
Possible Solution
Implement partial index for transactions assets.
The text was updated successfully, but these errors were encountered: