Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Issue or ambiguity in logging #155

Closed
ghost opened this issue May 25, 2016 · 3 comments
Closed

Issue or ambiguity in logging #155

ghost opened this issue May 25, 2016 · 3 comments
Assignees

Comments

@ghost
Copy link

ghost commented May 25, 2016

lisk_user@develop-desktop:~/lisk-main$ bash lisk.sh logs
info 2016-05-25 16:36:07 Modules ready and launched 
NOTICE:  relation "mem_accounts" already exists, skipping
NOTICE:  relation "mem_round" already exists, skipping
NOTICE:  relation "mem_accounts2delegates" already exists, skipping
NOTICE:  relation "mem_accounts2u_delegates" already exists, skipping
NOTICE:  relation "mem_accounts2multisignatures" already exists, skipping
NOTICE:  relation "mem_accounts2u_multisignatures" already exists, skipping
info 2016-05-25 16:36:07 Blocks 6066 
warn 2016-05-25 16:36:07 Detected missed blocks in mem_accounts 
warn 2016-05-25 16:36:07 Recreating memory tables 
log 2016-05-25 16:36:10 GET /api/loader/status from 10.0.0.2 
log 2016-05-25 16:36:10 GET /api/loader/status from 10.0.0.2 
NOTICE:  relation "mem_accounts" already exists, skipping
NOTICE:  relation "mem_round" already exists, skipping
NOTICE:  relation "mem_accounts2delegates" already exists, skipping
NOTICE:  relation "mem_accounts2u_delegates" already exists, skipping
NOTICE:  relation "mem_accounts2multisignatures" already exists, skipping
NOTICE:  relation "mem_accounts2u_multisignatures" already exists, skipping
info 2016-05-25 16:36:17 Current 0 

From what i understand
Current = 0 mean last blocked in local blockchain snapshot ?
If this is correct, then value appears to be invalid. Since it should be equal to 6066
info 2016-05-25 16:36:07 Blocks 6066

@Isabello
Copy link
Contributor

It's rebuilding memory tables from the table data. If it fails you will
need to rebuild
On May 25, 2016 11:55, "karek314" [email protected] wrote:

lisk_user@develop-desktop:~/lisk-main$ bash lisk.sh logs
info 2016-05-25 16:36:07 Modules ready and launched
NOTICE: relation "mem_accounts" already exists, skipping
NOTICE: relation "mem_round" already exists, skipping
NOTICE: relation "mem_accounts2delegates" already exists, skipping
NOTICE: relation "mem_accounts2u_delegates" already exists, skipping
NOTICE: relation "mem_accounts2multisignatures" already exists, skipping
NOTICE: relation "mem_accounts2u_multisignatures" already exists, skipping
info 2016-05-25 16:36:07 Blocks 6066
warn 2016-05-25 16:36:07 Detected missed blocks in mem_accounts
warn 2016-05-25 16:36:07 Recreating memory tables
log 2016-05-25 16:36:10 GET /api/loader/status from 10.0.0.2
log 2016-05-25 16:36:10 GET /api/loader/status from 10.0.0.2
NOTICE: relation "mem_accounts" already exists, skipping
NOTICE: relation "mem_round" already exists, skipping
NOTICE: relation "mem_accounts2delegates" already exists, skipping
NOTICE: relation "mem_accounts2u_delegates" already exists, skipping
NOTICE: relation "mem_accounts2multisignatures" already exists, skipping
NOTICE: relation "mem_accounts2u_multisignatures" already exists, skipping
info 2016-05-25 16:36:17 Current 0

From what i understand
Current = 0 mean last blocked in local blockchain snapshot ?
If this is correct, then value appears to be invalid. Since it should be
equal to 6066
info 2016-05-25 16:36:07 Blocks 6066


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#155

@ghost
Copy link
Author

ghost commented May 25, 2016

So it is current block of rebuild into memory? I think it should have improved description.

@fix
Copy link
Contributor

fix commented May 26, 2016

the info that it is rebuilding is lacking i agree. Here bascially the app will log every 5000 blocks (Current 0, Current 5000, etc...)

@fix fix assigned fix and unassigned karmacoma May 26, 2016
karmacoma pushed a commit that referenced this issue May 26, 2016
- More sensible logging when rebuilding blockchain.
- Default loadPerIteration to 1000, so the user does not feel it is hanging.
@fix fix closed this as completed May 26, 2016
@fix fix removed the in progress label May 26, 2016
ishantiw added a commit that referenced this issue May 2, 2022
Update package description - Closes #7083
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants