Skip to content
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 issue #1014

Closed
shunjizhan opened this issue Aug 31, 2024 · 1 comment
Closed

cache issue #1014

shunjizhan opened this issue Aug 31, 2024 · 1 comment
Labels
bug it breaks something Lv. 3 need some research to find out root cause or/and solution

Comments

@shunjizhan
Copy link
Collaborator

shunjizhan commented Aug 31, 2024

after node restarted, sometimes there will be some cache issue, rpc returning wrong (random) state. Need to do some digging for this.

Result seems to be random, no clear pattern

┌─────────┬─────────────────┬───────────────┬────────┬────────────────────────┐
│ (index) │ ticketRemaining │ timeRemaining │ isOpen │        entryFee        │
├─────────┼─────────────────┼───────────────┼────────┼────────────────────────┤
│    0    │       '0'       │    '73476'    │ false  │ '10000000000000000000' │
│    1    │       '0'       │    '73476'    │ false  │ '10000000000000000000' │
│    2    │      '268'      │    '73476'    │ false  │ '10000000000000000000' │
│    3    │      '268'      │      '0'      │  true  │ '10000000000000000000' │
│    4    │      '268'      │    '73476'    │  true  │ '10000000000000000000' │
│    5    │       '0'       │    '73476'    │  true  │ '10000000000000000000' │
│    6    │      '268'      │    '73476'    │ false  │ '10000000000000000000' │
│    7    │       '0'       │    '73476'    │  true  │ '10000000000000000000' │
│    8    │      '268'      │    '73476'    │ false  │ '10000000000000000000' │
│    9    │       '0'       │    '73476'    │  true  │ '10000000000000000000' │
│   10    │      '268'      │    '73476'    │  true  │ '10000000000000000000' │
│   11    │      '268'      │      '0'      │ false  │ '10000000000000000000' │
│   12    │       '0'       │    '73476'    │  true  │ '10000000000000000000' │
│   13    │       '0'       │    '73476'    │  true  │ '10000000000000000000' │
│   14    │      '268'      │    '73476'    │  true  │ '10000000000000000000' │
│   15    │       '0'       │    '73476'    │  true  │ '10000000000000000000' │
│   16    │      '268'      │      '0'      │  true  │ '10000000000000000000' │
│   17    │      '268'      │    '73476'    │ false  │ '10000000000000000000' │
│   18    │       '0'       │    '73476'    │ false  │ '10000000000000000000' │
│   19    │      '268'      │    '73476'    │  true  │ '10000000000000000000' │
│   20    │      '268'      │    '73476'    │  true  │ '10000000000000000000' │
│   21    │       '0'       │    '73476'    │  true  │ '10000000000000000000' │
│   22    │      '268'      │      '0'      │  true  │ '10000000000000000000' │
│   23    │       '0'       │    '73476'    │  true  │ '10000000000000000000' │
│   24    │      '268'      │    '73476'    │  true  │ '10000000000000000000' │
│   25    │       '0'       │    '73476'    │  true  │ '10000000000000000000' │
│   26    │      '268'      │    '73476'    │  true  │ '10000000000000000000' │
│   27    │       '0'       │      '0'      │  true  │ '10000000000000000000' │
│   28    │      '268'      │    '73476'    │ false  │ '10000000000000000000' │
│   29    │       '0'       │    '73476'    │ false  │ '10000000000000000000' │
│   30    │      '268'      │      '0'      │  true  │ '10000000000000000000' │
│   31    │      '268'      │    '73476'    │ false  │ '10000000000000000000' │
│   32    │      '268'      │    '73476'    │ false  │ '10000000000000000000' │
│   33    │      '268'      │    '73476'    │ false  │ '10000000000000000000' │
│   34    │       '0'       │    '73476'    │  true  │ '10000000000000000000' │
│   35    │      '268'      │    '73476'    │  true  │ '10000000000000000000' │
│   36    │      '268'      │      '0'      │  true  │ '10000000000000000000' │
│   37    │      '268'      │    '73476'    │ false  │ '10000000000000000000' │
│   38    │      '268'      │      '0'      │  true  │ '10000000000000000000' │
│   39    │      '268'      │      '0'      │ false  │ '10000000000000000000' │
│   40    │       '0'       │      '0'      │  true  │ '10000000000000000000' │
│   41    │      '268'      │      '0'      │  true  │ '10000000000000000000' │
│   42    │      '268'      │      '0'      │  true  │ '10000000000000000000' │
│   43    │      '268'      │      '0'      │  true  │ '10000000000000000000' │
│   44    │      '268'      │    '73476'    │ false  │ '10000000000000000000' │
│   45    │      '268'      │    '73476'    │  true  │ '10000000000000000000' │
│   46    │      '268'      │      '0'      │ false  │ '10000000000000000000' │
│   47    │       '0'       │    '73476'    │ false  │ '10000000000000000000' │
│   48    │       '0'       │    '73476'    │  true  │ '10000000000000000000' │
│   49    │      '268'      │    '73476'    │ false  │ '10000000000000000000' │
└─────────┴─────────────────┴───────────────┴────────┴────────────────────────┘
@shunjizhan shunjizhan added bug it breaks something Lv. 3 need some research to find out root cause or/and solution labels Aug 31, 2024
@shunjizhan
Copy link
Collaborator Author

fixed by #1039

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug it breaks something Lv. 3 need some research to find out root cause or/and solution
Projects
None yet
Development

No branches or pull requests

2 participants
@shunjizhan and others