maybe you can explain, why you think this? Wondering if there are others ways of making this work... like adding the current time to a field of the document (no need for seq_no then).
I'd consider the sequence number an implementation detail and thus would be vary to use this anyway.
@spinscale anything that can be monotonically increasing could work for us. afaik timestamps do not provide that property
I am trying to implement a consumer protocol to read from elasticsearch. the index is expected to be insert-only (no updates). the seq_no works as an offset for this consumer protocol
That said, you are probably aware that there is a commercial feature in elasticsearch doing what you need (namely cross cluster replication), and it took a significant engineering approach to get there. sequence ids played an important part in that, but were just one of the building blocks..
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.