-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 7.3
-
Fix Version/s: 7.4
-
Component/s: Audit, Elasticsearch, Nuxeo Drive, UIDSequencer
-
Impact type:Configuration Change
-
Upgrade notes:
-
Sprint:Sprint Drive 7.2-7
-
Story Points:1
Indeed, ESUIDSequencer#IDX_NAME = "uidgen" which is different from the "sequence" index name defined in elasticsearch-sequence-index-contrib.xml:
<elasticSearchIndex name="sequence" type="seqId"> <settings> { "number_of_shards" : 1, "auto_expand_replicas" : "0-all" } </settings> <mapping> { "_source" : {"enabled": false}, "_all" : {"enabled": false}, "_type" : {"index": "no"}, "enabled" : false } </mapping> </elasticSearchIndex> </extension>
In fact, the sequence number generation works fine as ESUIDSequencer#getNext generates the "uidgen" index on the fly if it doesn't exist, but:
- This is not optimal as we store the source => bad performances.
- We create an empty "sequence" index.
- This is simply inconsistent!