No block filters after restart #383

Closed
opened 2020-04-10 06:35:38 +02:00 by shyba · 0 comments
shyba commented 2020-04-10 06:35:38 +02:00 (Migrated from github.com)

Expected behavior

Sync or reindex, get block filters, restart, get block filters...

Actual behavior

Sync or reindex, get block filters, restart, error:

./lbrycrd-cli getblockfilter $(./lbrycrd-cli getblockhash 2)
error code: -32603
error message:
Filter not found. This error is unexpected and indicates index corruption.

this also gets logged:
2020-04-07T19:49:54Z ERROR: ReadFilterFromDisk: Failed to deserialize block filter from disk: VectorReader::read(): end of data: iostream error

To reproduce
Using that line on config: blockfilterindex=1
Restart during or after sync.

**Expected behavior** Sync or reindex, get block filters, restart, get block filters... **Actual behavior** Sync or reindex, get block filters, restart, error: ``` ./lbrycrd-cli getblockfilter $(./lbrycrd-cli getblockhash 2) error code: -32603 error message: Filter not found. This error is unexpected and indicates index corruption. ``` this also gets logged: `2020-04-07T19:49:54Z ERROR: ReadFilterFromDisk: Failed to deserialize block filter from disk: VectorReader::read(): end of data: iostream error` **To reproduce** Using that line on config: `blockfilterindex=1` Restart during or after sync.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbrycrd#383
No description provided.