Draft
Conversation
Member
Author
|
Down to 1 failing test. Now 2025-10-20T17:09:24.634398597Z INFO zaino_state::local_cache::non_finalised_state: Block at height [157] with hash [654d67eb886573c462d42f80e78add9b8a713ce747a1004247c326aadf00110f] successfully committed to non-finalised state.
2025-10-20T17:09:25.280204377Z WARN zebra_state::response: non-finalized state receiver closed, ending task error=RecvError(())
test chain_query_interface::sync_large_chain_zebrad has been running for over 60 seconds
2025-10-20T17:14:24.385664179Z INFO zebra_state::service::finalized_state::disk_db: unexpected error flushing database SST files to disk during shutdown error="Error { message: \"Not implemented: Not supported operation in secondary mode.\" }" path="/tmp/.tmpAU3pJ8/state/v27/regtest"
2025-10-20T17:14:24.385713461Z INFO zebra_state::service::finalized_state::disk_db: unexpected error flushing database WAL buffer to disk during shutdown error="Error { message: \"Not implemented: Not supported operation in secondary mode.\" }" path="/tmp/.tmpAU3pJ8/state/v27/regtest"
2025-10-20T17:14:24.38578217Z INFO zebra_state::service::finalized_state::disk_db: unexpected error flushing database SST files to disk during shutdown error="Error { message: \"Not implemented: Not supported operation in secondary mode.\" }" path="/tmp/.tmpAU3pJ8/state/v27/regtest"
2025-10-20T17:14:24.385790145Z INFO zebra_state::service::finalized_state::disk_db: unexpected error flushing database WAL buffer to disk during shutdown error="Error { message: \"Not implemented: Not supported operation in secondary mode.\" }" path="/tmp/.tmpAU3pJ8/state/v27/regtest"
2025-10-20T17:14:24.385796517Z INFO zebra_state::service::finalized_state::disk_db: unexpected error flushing database SST files to disk during shutdown error="Error { message: \"Not implemented: Not supported operation in secondary mode.\" }" path="/tmp/.tmpAU3pJ8/state/v27/regtest"
2025-10-20T17:14:24.385801927Z INFO zebra_state::service::finalized_state::disk_db: unexpected error flushing database WAL buffer to disk during shutdown error="Error { message: \"Not implemented: Not supported operation in secondary mode.\" }" path="/tmp/.tmpAU3pJ8/state/v27/regtest"
test chain_query_interface::sync_large_chain_zebrad ... FAILED
failures:
failures:
chain_query_interface::sync_large_chain_zebrad
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 11 filtered out; finished in 320.37s
stderr ───
[zaino-state/src/chain_index/non_finalised_state.rs:266:9] &start_block = None
[zaino-state/src/chain_index/non_finalised_state.rs:299:9] &new_blocks.len() = 2
[zaino-state/src/chain_index/non_finalised_state.rs:299:9] &new_blocks.len() = 0
[zaino-state/src/chain_index/non_finalised_state.rs:299:9] &new_blocks.len() = 0
[zaino-state/src/chain_index/non_finalised_state.rs:299:9] &new_blocks.len() = 0
[zaino-state/src/chain_index/non_finalised_state.rs:299:9] &new_blocks.len() = 0
[zaino-state/src/chain_index/non_finalised_state.rs:299:9] &new_blocks.len() = 0
[zaino-state/src/chain_index/non_finalised_state.rs:299:9] &new_blocks.len() = 0
[zaino-state/src/chain_index/non_finalised_state.rs:299:9] &new_blocks.len() = 5
RPC error: RpcError { code: -8, message: "block height not in best chain", data: None }
StateService fallback triggered due to: Custom error: Error retrieving block from ReadStateService
RPC error: RpcError { code: -8, message: "block height not in best chain", data: None }
StateService fallback triggered due to: Custom error: Error retrieving block from ReadStateService
RPC error: RpcError { code: -8, message: "block height not in best chain", data: None }
StateService fallback triggered due to: Custom error: Error retrieving block from ReadStateService
RPC error: RpcError { code: -8, message: "block height not in best chain", data: None } |
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
We're using the wrong polling strategies.
Solution
Tests
Specifications & References
https://docs.rs/zebra-rpc/latest/src/zebra_rpc/sync.rs.html
Follow-up Work
PR Checklist