The develop branch is unable to sync if ElasticSearch plugin is enabled. Error message:
{"index":{"_index":"btsdev-mainnet-his-2016-05","_type":"_doc","_id":"2.9.3018878","status":400,"error":{"type":"illegal_argument_exception","reason":"Limit of mapping depth [20] has been exceeded due to object field [operation_history.op_object.proposed_ops_object.op_object.data_object.proposed_ops_object.op_object.data_object.proposed_ops_object.op_object.data_object.proposed_ops_object.op_object.data_object.proposed_ops_object.op_object.data_object.proposed_ops_object.op_object.data_object]"}}}
index.mapping.depth.limit - The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined at the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc. The default is 20.
Impacts
Describe which portion(s) of BitShares Core may be impacted by this bug. Please tick at least one box.
[ ] API (the application programming interface)
[ ] Build (the build process or something prior to compiled code)
[ ] CLI (the command line wallet)
[ ] Deployment (the deployment process after building such as Docker, Travis, etc.)
[ ] DEX (the Decentralized EXchange, market engine, etc.)
[ ] P2P (the peer-to-peer network for transaction/block propagation)
[ ] Performance (system or user efficiency, etc.)
[ ] Protocol (the blockchain logic, consensus, validation, etc.)
[ ] Security (the security of system or user data, etc.)
[ ] UX (the User Experience)
[x] Other (please add below): ElasticSearch plugin
Bug Description
The
develop
branch is unable to sync if ElasticSearch plugin is enabled. Error message:The operation was in block number
6394824
:I believe it was introduced in https://github.com/bitshares/bitshares-core/pull/2565.
According to ES docs(https://www.elastic.co/guide/en/elasticsearch/reference/7.16/mapping-settings-limit.html), the setting can be updated if really required,
Impacts Describe which portion(s) of BitShares Core may be impacted by this bug. Please tick at least one box.
CORE TEAM TASK LIST