I'm currently running three separate processes that are indexing data
into ElasticSearch (0.18.6). The majority of these index operations
are inserts, but there are occasional re-index operations for existing
documents as well. We're currently encountering version conflict
exceptions when executing some of these index operations.
The index operations are using a timestamp as a version number and
setting version type to external. The exceptions seem to indicate that
the existing version number is the same as the new version number.
Given that we're using System.currentTimeMillis() to generate the
version, this seems unlikely.
Thats whats get reported by elasticsearch, so this is what it has..., not
that System.currentTimeInMillis resolution is not a millisecond, it varies
depending on the OS.
I'm currently running three separate processes that are indexing data
into Elasticsearch (0.18.6). The majority of these index operations
are inserts, but there are occasional re-index operations for existing
documents as well. We're currently encountering version conflict
exceptions when executing some of these index operations.
The index operations are using a timestamp as a version number and
setting version type to external. The exceptions seem to indicate that
the existing version number is the same as the new version number.
Given that we're using System.currentTimeMillis() to generate the
version, this seems unlikely.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.