eos icon indicating copy to clipboard operation
eos copied to clipboard

is it mongodb plugin working in current master?

Open kesar opened this issue 8 years ago • 6 comments

With a clean chain I am getting these 2 errors when try to run the mongo plugin:

895504ms thread-0   chain_controller.cpp:888      validate_block_heade ] head_block_time 2017-03-30T12:00:00.000, next_block 2018-03-24T20:14:55.500, block_interval 500
895504ms thread-0   chain_controller.cpp:890      validate_block_heade ] Did not produce block within block_interval 500ms, took 31047295500ms)
eosio generated block 6d52c5c0... #1 @ 2018-03-24T20:14:55.500 with 0 trxs
895505ms thread-1   mongo_db_plugin.cpp:312       process_block        ] FC Exception while processing block trace unspecified (0)
No blocks found in database

eosio generated block 24493eb0... #2 @ 2018-03-24T20:14:56.000 with 0 trxs
896006ms thread-1   mongo_db_plugin.cpp:300       process_irreversible ] FC Exception while processing block unspecified (0)
Unable to find block 000000016d52c5c0b5cb35db85b6cbc7cc527477c19d19aa70507b4c2bbe22d6

896007ms thread-1   mongo_db_plugin.cpp:312       process_block        ] FC Exception while processing block trace unspecified (0)
No blocks found in database

eosio generated block 47da0f89... #3 @ 2018-03-24T20:14:56.500 with 0 trxs
896507ms thread-1   mongo_db_plugin.cpp:312       process_block        ] FC Exception while processing block trace unspecified (0)
No blocks found in database

896508ms thread-1   mongo_db_plugin.cpp:300       process_irreversible ] FC Exception while processing block unspecified (0)
Unable to find block 0000000224493eb0ef8c36116cdfdd3e9b7d2526fdc5fe49cd5f18961a7b68a5

kesar avatar Mar 24 '18 20:03 kesar

I think its because i am producing and storing at the same time.

kesar avatar Mar 24 '18 20:03 kesar

I am having this same issue. What did you do to fix this?

jordigoyanes avatar Mar 30 '18 04:03 jordigoyanes

using a non-producer nodeos

kesar avatar Mar 30 '18 10:03 kesar

I solved this doing ./nodeos --resync-blockchain

jordigoyanes avatar Mar 30 '18 22:03 jordigoyanes

You may be getting this because you have the mongo plugin in multiple nodes (connected to the same mongo server). Try running ensuring it is in just one node.

On Fri, Mar 30, 2018 at 5:49 PM, Jordi Goyanes Granados < [email protected]> wrote:

I solved this doing ./nodeos --resync-blockchain

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/1814#issuecomment-377640536, or mute the thread https://github.com/notifications/unsubscribe-auth/AJsuzjFXMWQ5637_VhEu7XueBPUPiyo3ks5tjraKgaJpZM4S54qg .

PaulCalabrese avatar Mar 31 '18 01:03 PaulCalabrese

yes, it is just one node thx

jordigoyanes avatar Mar 31 '18 02:03 jordigoyanes