-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-cache.triesinmemory flag ignored or doesn't work #1378
Comments
This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
ping? |
This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
@adamf-sendblocks I'm not totally sure I get this. The config you provide in the toml will override the CLI flags. A combo of both won't work I'm afraid. Can you try porting the CLI values over to the toml and try again ? |
This is precisely the same as #676 - we have two bor nodes (v1.5.2) running with identical configurations in identical containers. The failure to support getting traces from blocks older than latest - 127 is inconsistent; our production node has been supporting older blocks so we haven't touched it since syncing the two, but our dev node isn't.
We've played a lot with the configurations, and from our experiments it looks like sometimes it takes, and sometimes it doesn't.
May be relevant: we have a mix between a config.toml file and command line arguments, and the only item in the toml file is the jsonrpc timeout (because there's no server command flag for it). I initially thought that the mix might be why it doesn't work, but it appears to be irrelevant as we've gotten it to work with the toml file, and it's currently not working with the toml file.
System information
Bor client version: v1.5.2
Heimdall client version: v1.0.4
OS & Version: Linux Ubuntu 22.04.2 LTS
Environment: Polygon Mainnet
Type of node: Sentry
Additional Information: some mods were made for tracing, but nothing functional was changed
Overview of the problem
See #676, it's identical.
The following are our command line arguments (managed by docker yaml, hence the formatting):
BOR_BLOCK_CACHE_SIZE
has been either 12288 or 20480, we've tried values ofBOR_BLOCK_LOOKBACK
from 256 through to 10000 with no (consistent) success.This is the contents of the toml file:
Logs / Traces / Output / Error Messages
We're not seeing any warnings or errors, the logs are the same between the two nodes we're running.
The text was updated successfully, but these errors were encountered: