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

MIRA account_history fails to replay (Could not modify object) #3578

Open
Gandalf-the-Grey opened this issue Jan 11, 2020 · 0 comments
Open

Comments

@Gandalf-the-Grey
Copy link
Contributor

Currently running account_history_rocksdb without MIRA is preferred over account_history with MIRA which really complicates API infrastructure due to unnecessary redundancy ( separate non-mira low mem node) and lack of txid support

7748 719845ms ord_index_impl.hpp:668        modify_              ] Key ["2016-07-27T04:18:10",262347] already exists. Object: {"id":262347,"author":"ma3","permlink":"steemit-now-vs-steemit-in-the-future","category":"money","parent_author":"","parent_permlink":"money","last_update":"2016-07-26T01:01:30","created":"2016-07-26T01:01:30","active":"2016-07-26T10:13:24","last_payout":"1970-01-01T00:00:00","depth":0,"children":7,"net_rshares":"49347913513","abs_rshares":"49347913513","vote_rshares":"49347913513","children_abs_rshares":"57991867464","cashout_time":"2016-07-27T04:18:10","max_cashout_time":"2016-08-09T01:01:30","total_vote_weight":"223712900013670887","reward_weight":10000,"total_payout_value":{"amount":"0","precision":3,"nai":"@@000000013"},"curator_payout_value":{"amount":"0","precision":3,"nai":"@@000000013"},"beneficiary_payout_value":{"amount":"0","precision":3,"nai":"@@000000013"},"author_rewards":0,"net_votes":104,"root_comment":262347,"max_accepted_payout":{"amount":"1000000000","precision":3,"nai":"@@000000013"},"percent_steem_dollars":10000,"allow_replies":true,"allow_votes":true,"allow_curation_rewards":true,"beneficiaries":[],"allowed_vote_assets":[],"smt_rshares":[]}
7748 719860ms database.cpp:3215             _apply_block         ] 13 N5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEEE: Could not modify object, most likely a uniqueness constraint was violated

using:

commit 5327305bb1910bfe36e2765c6e6c3ee67e9f743d (HEAD -> 20191206-rocksdb-opts-master, origin/20191206-rocksdb-opts-master)

with
-DCMAKE_BUILD_TYPE=Release -DLOW_MEMORY_NODE=ON -DCLEAR_VOTES=ON -DSKIP_BY_TX_ID=OFF -DENABLE_MIRA=ON -DSTEEM_STATIC_BUILD=ON

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant