steem
steem copied to clipboard
Replay errors: could not insert object, most likely a uniqueness constraint was violated
Using this config on Ubuntu 18.04, compiled the latest master with -DLOW_MEMORY_NODE=OFF -DCLEAR_VOTES=OFF -DSKIP_BY_TX_ID=OFF -DENABLE_MIRA=ON
:
plugin = webserver p2p json_rpc witness account_by_key tags follow market_history
plugin = database_api account_by_key_api network_broadcast_api tags_api follow_api market_history_api condenser_api block_api rc_api
shared-file-size = 60G
I'm getting these non-stop errors during replay with v0.20.11
955354ms legacy_asset.hpp:101 unpack ] unpack legacy serialization 52983524898307
1818361ms database.cpp:250 reindex ] Replaying blocks...
0.29968% 100000 of 33368884 (25000 objects cached using 0M)
0.599361% 200000 of 33368884 (25000 objects cached using 0M)
0.899041% 300000 of 33368884 (25000 objects cached using 0M)
1.19872% 400000 of 33368884 (25000 objects cached using 1M)
1871710ms follow_plugin.cpp:257 operator() ] 13 N5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEEE: could not insert object, most likely a uniqueness constraint was violated
rethrow could not insert object, most likely a uniqueness constraint was violated:
{"what":"could not insert object, most likely a uniqueness constraint was violated"}
follow_plugin.cpp:257 operator()
1871711ms database.cpp:1071 notify_post_apply_op ] Caught exception in plugin: 13 N5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEEE: could not insert object, most likely a uniqueness constraint was violated
rethrow could not insert object, most likely a uniqueness constraint was violated:
{"what":"could not insert object, most likely a uniqueness constraint was violated"}
follow_plugin.cpp:257 operator()
There were also errors with the tags plugin
3108289ms tags_plugin.cpp:329 update_tags ] c: {"id":91818,"author":"chad1775","permlink":"re-fiatluxx-steemit-for-dummies-how-to-video-transfer-steem-dollars-to-bittrex-20160715t223830761z","category":"steemit","parent_author":"fiatluxx","parent_permlink":"steemit-for-dummies-how-to-video-transfer-steem-dollars-to-bittrex","last_update":"2016-07-15T22:38:42","created":"2016-07-15T22:38:42","active":"2016-07-15T22:56:54","last_payout":"2016-08-15T22:55:36","depth":1,"children":1,"net_rshares":0,"abs_rshares":0,"vote_rshares":0,"children_abs_rshares":0,"cashout_time":"1969-12-31T23:59:59","max_cashout_time":"1969-12-31T23:59:59","total_vote_weight":0,"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":0,"root_comment":91790,"max_accepted_payout":{"amount":"1000000000","precision":3,"nai":"@@000000013"},"percent_steem_dollars":10000,"allow_replies":true,"allow_votes":true,"allow_curation_rewards":true,"beneficiaries":[]}
3108289ms tags_plugin.cpp:482 on_post_apply_operat ] e.to_detail_string(): 13 N5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEEE: could not insert object, most likely a uniqueness constraint was violated
rethrow could not insert object, most likely a uniqueness constraint was violated:
{"c":{"id":91818,"author":"chad1775","permlink":"re-fiatluxx-steemit-for-dummies-how-to-video-transfer-steem-dollars-to-bittrex-20160715t223830761z","category":"steemit","parent_author":"fiatluxx","parent_permlink":"steemit-for-dummies-how-to-video-transfer-steem-dollars-to-bittrex","last_update":"2016-07-15T22:38:42","created":"2016-07-15T22:38:42","active":"2016-07-15T22:56:54","last_payout":"2016-08-15T22:55:36","depth":1,"children":1,"net_rshares":0,"abs_rshares":0,"vote_rshares":0,"children_abs_rshares":0,"cashout_time":"1969-12-31T23:59:59","max_cashout_time":"1969-12-31T23:59:59","total_vote_weight":0,"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":0,"root_comment":91790,"max_accepted_payout":{"amount":"1000000000","precision":3,"nai":"@@000000013"},"percent_steem_dollars":10000,"allow_replies":true,"allow_votes":true,"allow_curation_rewards":true,"beneficiaries":[]},"what":"could not insert object, most likely a uniqueness constraint was violated"}```
Issue is localized to tags
and follow
plugin.
Removing tags
and follow
from plugins works around this issue.
It's recommended that you move toward using hivemind
as tags
and follow
are deprecated.
Got the same error but no tags
or follow
plugins enabled. I used broadcaster config in contrib
. Any clue?
13 N5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEEE: could not insert object, most likely a uniqueness constraint was violated
could not insert object, most likely a uniqueness constraint was violated:
{"op":{"type":"account_witness_vote_operation","value":{"account":"zeroooc","witness":"jesta","approve":true}},"what":"could not insert object, most likely a uniqueness constraint was violated"}
database.cpp:3498 _apply_transaction
{"trx":{"ref_block_num":3546,"ref_block_prefix":2517688786,"expiration":"2017-12-03T14:24:03","operations":[{"type":"account_witness_vote_operation","value":{"account":"zeroooc","witness":"jesta","approve":true}}],"extensions":[],"signatures":["2031b1815946fd043c9c8171871cbbfeaface10e32dbdbfba2f7a2bfd90c36a535498e0afbe78a69033e8ab70113c615cb0261cc658ab961cc2a9e4a85ebf435e2"]}}
database.cpp:3504 _apply_transaction
rethrow
{"next_block.block_num()":17763820}
database.cpp:3259 _apply_block
{"next_block":{"previous":"010f0debd5e736a0ae15cbefa5bad85b2aecdb8c","timestamp":"2017-12-03T14:14:09","witness":"lukestokes.mhth","transaction_merkle_root":"79133403f2970fdc5720a639c6d34bd915aa999b","extensions":[],"witness_signature":"201ba33ccf5cbfabe6add6e35ec2566a0fe08bf7c2c3b21cabe051e6f57e4a842a5fc8124676ae129a3653aeb84e2d77f45bb3cb1e09dbbd7f2f0cf88f8abd4a82","transactions":[{"ref_block_num":3559,"ref_block_prefix":4197025467,"expiration":"2017-12-03T14:15:03","operations":[{"type":"vote_operation","value":{"voter":"hainover","author":"cesarclaudio","permlink":"bcarf-frases-para-reflexionar","weight":3000}}],"extensions":[],"signatures":["2028983dc6dda81d7e9573983c1b4b59edb915c88bf3a1a1de87c8d6342e08aac86a5ebacf67e72d657741c946dcf9579a4b968f185391fb5287848ab9aaf0ef28"]},{"ref_block_num":3561,"ref_block_prefix":1446071710,"expiration":"2017-12-03T14:14:39","operations":[{"type":"vote_operation","value":{"voter":"introduceyoursel","author":"frida.kahlo","permlink":"informe-frida-kahlo-03-12-2017-14-43","weight":500}}],"extensions":[],"signatures":["1f740afbc29ecec505f8dead527d7f841d84256bdbe63654b081c96491ecf405311c0e0a1dfe902c7fe313ef6b53a8506c4fab9026548267dae1b687d596e50af9"]},{"ref_block_num":3562,"ref_block_prefix":1652115688,"expiration":"2017-12-03T14:14:33","operations":[{"type":"vote_operation","value":{"voter":"driva","author":"klborillo","permlink":"colorchallenge-sundaypurple-christmas-display-at-sm-baguio","weight":200}}],"extensions":[],"signatures":["202481b6d0a25e760b87c7863544c87fa93ce01edb9e105bfd4b9dd62dd9b8d7426a6403e6ab5889369040c22e315d2e2b8ee7b8c96ef8233c159aee4dd716fe0d"]},{"ref_block_num":3546,"ref_block_prefix":2517688786,"expiration":"2017-12-03T14:24:03","operations":[{"type":"comment_operation","value":{"parent_author":"dang007","parent_permlink":"re-linhlinhvictoria-re-dang007-re-linhlinhvictoria-help-me-please-20171203t133416670z","author":"linhlinhvictoria","permlink":"re-dang007-re-linhlinhvictoria-re-dang007-re-linhlinhvictoria-help-me-please-20171203t141404691z","title":"","body":"@dang007 I do not know why I lost, I had to steady there and not hit,","json_metadata":"{\"tags\":[\"steemit\"],\"users\":[\"dang007\"],\"app\":\"steemit/0.1\"}"}}],"extensions":[],"signatures":["1f26f7a695b49720b8fb2a7eb4896e746c353799021f0cbc1051f18d3f371343d766deaee217ff12a0bf24d9eba985b11fcd272c581194906149355f4145febd6b"]},{"ref_block_num":3561,"ref_block_prefix":1446071710,"expiration":"2017-12-03T14:14:39","operations":[{"type":"vote_operation","value":{"voter":"bienvenida","author":"frida.kahlo","permlink":"informe-frida-kahlo-03-12-2017-14-43","weight":500}}],"extensions":[],"signatures":["1f6302d8183d51495d13673aa3897a9027a7cd672d0fd157ae9764c5ee7d46fb0d32803cddb681f23021ce33984e6bac45aade0d86f3802cb55fb7dd6605743450"]},{"ref_block_num":3559,"ref_block_prefix":4197025467,"expiration":"2017-12-03T14:15:03","operations":[{"type":"vote_operation","value":{"voter":"wasgyo","author":"cesarclaudio","permlink":"bcarf-frases-para-reflexionar","weight":3000}}],"extensions":[],"signatures":["203e6ce3e9649e65c8d63a07eda7aa3d5f7e9edbd33c33d31c72f3da60a755c8230cd8b2f13a5c16f2dbc7c210eaee8316357a8029d1e9cf76ff9bf9053e37bdc6"]},{"ref_block_num":3546,"ref_block_prefix":2517688786,"expiration":"2017-12-03T14:24:03","operations":[{"type":"account_witness_vote_operation","value":{"account":"zeroooc","witness":"jesta","approve":true}}],"extensions":[],"signatures":["2031b1815946fd043c9c8171871cbbfeaface10e32dbdbfba2f7a2bfd90c36a535498e0afbe78a69033e8ab70113c615cb0261cc658ab961cc2a9e4a85ebf435e2"]},{"ref_block_num":3546,"ref_block_prefix":2517688786,"expiration":"2017-12-03T14:24:03","operations":[{"type":"comment_operation","value":{"parent_author":"beautifulbullies","parent_permlink":"re-mahisamim-re-beautifulbullies-resteem-sunday-focusing-on-photography-3rd-december-2017-20171203t141302277z","author":"mahisamim","permlink":"re-beautifulbullies-re-mahisamim-re-beautifulbullies-resteem-sunday-focusing-on-photography-3rd-december-2017-20171203t141403217z","title":"","body":"wc","json_metadata":"{\"tags\":[\"photography\"],\"app\":\"steemit/0.1\"}"}}],"extensions":[],"signatures":["1f32fb03df4f0d623e335f50e583473844fd41dce180c431f7bbae16e1daf922fe62549687d6d5bfd273c3e9dbf2fd4e7cfc78e60675a0a381be7baf2ecab9fb14"]},{"ref_block_num":3546,"ref_block_prefix":2517688786,"expiration":"2017-12-03T14:24:03","operations":[{"type":"comment_operation","value":{"parent_author":"nadeem90","parent_permlink":"mianwali-aseel-ebf9d4dfbadd4","author":"babuplrk","permlink":"re-nadeem90-mianwali-aseel-ebf9d4dfbadd4-20171203t141404385z","title":"","body":"I know, You are very new here. If you want to join our team then let me know replying here or Say 'Yes' in my last post @babuplrk. Remember one thing, If you get more vote then you you will get more success on Steemit Hope you will get success in Steemit Community. Have a good journey.","json_metadata":"{\"tags\":[\"photography\"],\"users\":[\"babuplrk\"],\"app\":\"steemit/0.1\"}"}}],"extensions":[],"signatures":["207c215ac94ed85a8e3acd9a0298fc971e7bf32feee20e5e0ffb3811bdeae89e620b460ee6c94b4177cf274c26fa613224178330e5b1f85d57cc496fda55e49a8b"]},{"ref_block_num":3562,"ref_block_prefix":1652115688,"expiration":"2017-12-03T14:14:33","operations":[{"type":"vote_operation","value":{"voter":"ryad","author":"justin11","permlink":"one-of-the-best-responses-to-jamie-dimon-calling-bitcoin-a-fraud","weight":10000}}],"extensions":[],"signatures":["206bbfacbd50157bffadb45f49d620e5402a615bec52925a88a48e88f370a1539d58c6f355270ebacd9f9fc3900938ccc019f6ba1199ae744c5fd58e3ec9e206fd"]},{"ref_block_num":3563,"ref_block_prefix":2687952853,"expiration":"2017-12-03T14:14:21","operations":[{"type":"vote_operation","value":{"voter":"fartsydoodle","author":"fatogunalex","permlink":"fact-999c99a1e0009","weight":2500}}],"extensions":[],"signatures":["1c37a7b543cbd57bb132a77efc6d277634cb5a3e4cd08f2f7161bc4ec08954144d38fb16855904a7f04ffce6e7994dd7debd1e5ce4f1c04b5684d1c4b0816f3946"]},{"ref_block_num":3561,"ref_block_prefix":1446071710,"expiration":"2017-12-03T14:14:32","operations":[{"type":"vote_operation","value":{"voter":"mdcomes","author":"sergiopocasluces","permlink":"vacaciones-en-otono-14-cosas-tipicas-de-denia","weight":1000}}],"extensions":[],"signatures":["2028d03fb906e6780d4babb9e6d68bc32e25e574b43d58a246598ed94b84613bb962a9486ada97e9b7baec8151e94b8c027bfb4aa25cf4ef285f950d67cc0cd467"]},{"ref_block_num":3559,"ref_block_prefix":4197025467,"expiration":"2017-12-03T14:15:03","operations":[{"type":"vote_operation","value":{"voter":"criptoseries","author":"cesarclaudio","permlink":"bcarf-frases-para-reflexionar","weight":3000}}],"extensions":[],"signatures":["20428638a51fa7d5300c978f39aaace6d425068f463446a99631f3af0765b3299221efb1f211666a48b62bc666c90ad472166404feedbfb5f8a03afda26a13580d"]},{"ref_block_num":3562,"ref_block_prefix":1652115688,"expiration":"2017-12-03T14:14:35","operations":[{"type":"vote_operation","value":{"voter":"royrodgers","author":"htotoo","permlink":"quote-of-the-moment-1354","weight":200}}],"extensions":[],"signatures":["1f34a2538eb9f61d417b7bcfcc58d6bb72ac73c0cfdc3215040c9265df2d44892c3e795d5f5ce257830df5b3bc3eb3696bb439b3c82998950dd4bf23fc4b171682"]},{"ref_block_num":3562,"ref_block_prefix":1652115688,"expiration":"2017-12-03T14:14:34","operations":[{"type":"vote_operation","value":{"voter":"janusface","author":"dragosroua","permlink":"steem-supply-update-delegation-power-voting-worth-correction-layout-improvements-bug-fixes-version-bump","weight":1000}}],"extensions":[],"signatures":["1f5aeccd27342a091075d594aad5418f47c87e408b3fd5b437c449354605f99ea10a46e7b17498fb457bb4e8c6879c44ad6806bb92e7f1a0218e77dd1a0d420ea9"]},{"ref_block_num":3562,"ref_block_prefix":1652115688,"expiration":"2017-12-03T14:14:33","operations":[{"type":"vote_operation","value":{"voter":"nanzo-scoop","author":"papa-pepper","permlink":"have-you-ever-wondered-what-it-d-be-like-to-get-a-1-oz-steem-silver-round-in-the-mail","weight":100}}],"extensions":[],"signatures":["20090674fc6e647a5d9a1688d3b7e5e435a2b8ed8dd3a7c743df299c2fe51c68df68829fe5ccf2906dbaacaceccddc25b9ae9c6693101534b90e9ce4c10a4f71c5"]},{"ref_block_num":3546,"ref_block_prefix":2517688786,"expiration":"2017-12-03T14:24:03","operations":[{"type":"transfer_operation","value":{"from":"lotterysbd","to":"vtchernof","amount":{"amount":"11","precision":3,"nai":"@@000000013"},"memo":"FREE SBD"}}],"extensions":[],"signatures":["20739885bc0d98674e77c0f17bbecc806add0e9e8e2efaec61532896ebe1d50fc17df1e3dd4432fa005f2e58a3e35d0ed0adf0c0caf774310b606c3a87e020e274"]},{"ref_block_num":3546,"ref_block_prefix":2517688786,"expiration":"2017-12-03T14:24:03","operations":[{"type":"comment_operation","value":{"parent_author":"abc.love.steemit","parent_permlink":"see-beach-good-day-steemit-good-people","author":"orustle","permlink":"re-abclovesteemit-see-beach-good-day-steemit-good-people-20171203t141351006z","title":"","body":"Beautiful","json_metadata":"{\"tags\":[\"photo\"],\"app\":\"steemit/0.1\"}"}}],"extensions":[],"signatures":["206b239924881c68a10562308b6db4c0a8832ff53342b9b0904c570974d29eb44c15a4b28140644afd71b5d958ad44891d9116cdc1a7e42163bb61e2e190bd06cd"]},{"ref_block_num":3546,"ref_block_prefix":2517688786,"expiration":"2017-12-03T14:24:03","operations":[{"type":"vote_operation","value":{"voter":"shajj","author":"rabbi18","permlink":"2030-between-80-million-job-robots","weight":10000}}],"extensions":[],"signatures":["1f55fd7eadccf84dfb09fc33e547a639ed2c9cb34b1149c413032a57771299dbbb58019bfff078f28485590df641cf28a673b1c46e6bf7b0930e2631ed3431a0de"]},{"ref_block_num":3562,"ref_block_prefix":1652115688,"expiration":"2017-12-03T14:14:34","operations":[{"type":"vote_operation","value":{"voter":"steemtutorials","author":"chron","permlink":"steem-memes-resteem-without-voting-zg1hbmlh-5ogmp","weight":10000}}],"extensions":[],"signatures":["200c85c1da95c4b587c3078bd16b808716efc1bbb78d9bea9bdbb1275c4fb719b1613fedffa7d97141e8cad315bb13f3a987884c963052ca4dfba7c96d86579887"]},{"ref_block_num":3559,"ref_block_prefix":4197025467,"expiration":"2017-12-03T14:15:03","operations":[{"type":"vote_operation","value":{"voter":"ronyaquino","author":"cesarclaudio","permlink":"bcarf-frases-para-reflexionar","weight":3000}}],"extensions":[],"signatures":["2073ec659ef4eae7e116929f73bdd3d0d8253ffad1a23f3fa7b43601ec56d7d56d542868875dc8c23a2e26ff10b225f88938c36c96c1d0e9f3ca45bbf0d7d947e7"]},{"ref_block_num":3546,"ref_block_prefix":2517688786,"expiration":"2017-12-03T14:24:06","operations":[{"type":"transfer_operation","value":{"from":"minnowbooster","to":"stratilatkryuko","amount":{"amount":"72","precision":3,"nai":"@@000000013"},"memo":"You got an upgoat worth roughly 2.440 SBD that will be done by minnowbooster. We detected an open value of 0.130 SBD, worth 0.072 SBD in send and refunded that. "}}],"extensions":[],"signatures":["1c70fcfc47895c99df5a183d9ff990fc8127e860797c46b08b57904f0f08f11a1004ac1a75560a90ceb079f2f7b2c6600a3f7e6e7c65ffee80dce2eb28db7d89c7"]},{"ref_block_num":3560,"ref_block_prefix":3527336354,"expiration":"2017-12-03T14:15:06","operations":[{"type":"vote_operation","value":{"voter":"bape682","author":"cesarclaudio","permlink":"bcarf-frases-para-reflexionar","weight":3000}}],"extensions":[],"signatures":["1f4c0ce71f0f1fec2268f1c3bc52b45f2f78b9687fc8a6bcfc852e4bd226e01b334e428e0f966ca7f7cf12a1068b3752c0ed18430a977d27466e506c92ce97213d"]},{"ref_block_num":3560,"ref_block_prefix":3527336354,"expiration":"2017-12-03T14:15:06","operations":[{"type":"vote_operation","value":{"voter":"jeremycrow","author":"cesarclaudio","permlink":"bcarf-frases-para-reflexionar","weight":3000}}],"extensions":[],"signatures":["1f6b5d63610a5394a26c640025ec87eaa413b811116062c6a860a376ef114bf49717ca298e1def83189e7ea3469ed16d3c7a044a71d25066146122bcefa38241de"]},{"ref_block_num":3546,"ref_block_prefix":2517688786,"expiration":"2017-12-03T14:24:06","operations":[{"type":"comment_operation","value":{"parent_author":"oxeyedaisey","parent_permlink":"chicken-painting","author":"elsbeth-upton","permlink":"re-oxeyedaisey-chicken-painting-20171203t141407617z","title":"","body":"Very nice work! And I love the back story! My animals are forever making my art challenging in one way or another. :-)","json_metadata":"{\"tags\":[\"painting\"],\"app\":\"steemit/0.1\"}"}}],"extensions":[],"signatures":["1f2e8f2ae0f1ec475389cb623e58b2548b71fb409da5a187e9e7ff9b19aa17b0075d88455b00cc287672c6ba514de6d9802e058e90d8be76bd6f27f696905fb46a"]},{"ref_block_num":3563,"ref_block_prefix":2687952853,"expiration":"2017-12-03T14:14:37","operations":[{"type":"vote_operation","value":{"voter":"nelyp","author":"sergiopocasluces","permlink":"vacaciones-en-otono-14-cosas-tipicas-de-denia","weight":500}}],"extensions":[],"signatures":["1f2d001a11c7343617f5789dd6ee62842713f4a8e4a525fed6d646f4f90dff4af1429404957b203d95d07a075466b8e3942cebde8d8629da557eaca0d79b1aca97"]},{"ref_block_num":3546,"ref_block_prefix":2517688786,"expiration":"2017-12-03T14:24:06","operations":[{"type":"comment_operation","value":{"parent_author":"teamhumble","parent_permlink":"re-mlvanderwaal-hello-steemit-20171203t124530232z","author":"mlvanderwaal","permlink":"re-teamhumble-re-mlvanderwaal-hello-steemit-20171203t141408240z","title":"","body":"Thank you for the warm welcome!","json_metadata":"{\"tags\":[\"introduceyourself\"],\"app\":\"steemit/0.1\"}"}}],"extensions":[],"signatures":["202c9382e665ef54554ec1f54c18ed4ae3ce8950448784afc24f9a8b2f132993c97bdae2f5daa74af0c6a029531f429acec9471908eb1b891c7470155e1dbba4bf"]}]}}
database.cpp:3033 apply_block
@clayop, can you provide some more information for me please? OS, gcc version, boost version, build options, and config options.
I have two different types of nodes. The above is Ubuntu 18.08 LTS, Boost 1.65.1, gcc 7.4.0.
Built options are
cmake -DCMAKE_BUILD_TYPE=Release -DLOW_MEMORY_NODE=ON -DCLEAR_VOTES=ON -DSKIP_BY_TX_ID=ON -DENABLE_MIRA=ON -DBUILD_STEEM_TESTNET=OFF -DSTEEM_STATIC_BUILD=ON
and enabled plugins are plugin = database_api condenser_api network_broadcast_api p2p json_rpc witness
. Shared files are on NVME (three of them bound by raid 0).
But another node on Ubuntu 16.04LTS and Boost 1.58 also had crash once. While the second replay is going well now, if it comes with a crash, I will report with details. Thanks.
Maybe it's due to memory or database config issue. I got the full log just before, saying too many open files.
3345173ms multi_index_container.hpp:627 insert_ ] IO error: While open a file for appending: /mnt/disks/mynvme/.steemd/blockchain/rocksdb_witness_vote_object/006615.sst: Too many open files
3345240ms database.cpp:3259 _apply_block ] 13 N5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEEE: could not insert object, most likely a uniqueness constraint was violated
could not insert object, most likely a uniqueness constraint was violated:
{"op":{"type":"account_witness_vote_operation","value":{"account":"ezeliora","witness":"cervantes","approve":true}},"what":"could not insert object, most likely a uniqueness constraint was violated"}
database.cpp:3498 _apply_transaction
{"trx":{"ref_block_num":29598,"ref_block_prefix":1465552201,"expiration":"2017-11-29T22:52:18","operations":[{"type":"account_witness_vote_operation","value":{"account":"ezeliora","witness":"cervantes","approve":true}}],"extensions":[],"signatures":["1f58a7b2a96390573c83998cc04a52e638e69eb0e3ee05ca6c03daf3c4a528fef947dd7fdbb18b59cba6df256fb2eeaad9033aa623604c3a0736ddce2a0870287d"]}}
database.cpp:3504 _apply_transaction
3345240ms database.cpp:3259 _apply_block ] next_block.block_num(): 17658807
13 N5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEEE: could not insert object, most likely a uniqueness constraint was violated
could not insert object, most likely a uniqueness constraint was violated:
{"op":{"type":"account_witness_vote_operation","value":{"account":"ezeliora","witness":"cervantes","approve":true}},"what":"could not insert object, most likely a uniqueness constraint was violated"}
database.cpp:3498 _apply_transaction
{"trx":{"ref_block_num":29598,"ref_block_prefix":1465552201,"expiration":"2017-11-29T22:52:18","operations":[{"type":"account_witness_vote_operation","value":{"account":"ezeliora","witness":"cervantes","approve":true}}],"extensions":[],"signatures":["1f58a7b2a96390573c83998cc04a52e638e69eb0e3ee05ca6c03daf3c4a528fef947dd7fdbb18b59cba6df256fb2eeaad9033aa623604c3a0736ddce2a0870287d"]}}
database.cpp:3504 _apply_transaction
rethrow
{"next_block.block_num()":17658807}
database.cpp:3259 _apply_block
Maybe it's due to memory or database config issue. I got the full log just before, saying too many open files.
I think this is likely. We have done extensive testing on the correctness of the implementation, but this error message is printed if anything goes wrong.
I am testing with umilit -n 1024000
and ulimit -c unlimited
. So far it looks good. If you provide recommanded ulimit
parameters, I would really appreciate.