Comments (3)
We left it that way because rocksdb sequence numbers are not unique. For example:
18:43:33:nlevitt@ait-cdx-qa-sec-01:~$ curl -gsS 'http://ait-cdx-qa-master:8080/archiveit-limbo/changes?size=10485760&since=51370259' |& less
[
{"sequenceNumber": "51370259", "writeBatch": "E9kPAwAAAACkAAAAAYgBZnV6enk6Y29tLHZpbWVvY2RuLHNr
{"sequenceNumber": "51370423", "writeBatch": "t9kPAwAAAAAAAAAA"},
{"sequenceNumber": "51370423", "writeBatch": "t9kPAwAAAADOAAAAARxjb20sdmltZW8pLzI0NTA2MzA3NgAA
]
One round of replication could conceivably leave off after the first 51370423 there, so you have to be careful not to skip the second one. Maybe possible but we didn't take the time to figure out how to do it reliably.
from outbackcdx.
Oh! Weird. Hm I suppose a way to do that would be to record not just the last applied sequence number but also a count of the number of writebatches with that same sequence number that have been applied.
from outbackcdx.
Yeah I think that would work.
from outbackcdx.
Related Issues (20)
- OWB compat: annotate 'closest' capture for BubbleCalendar
- Access rule editor: clearing 'accessed between' fields doesn't work
- CDXJ: Error: no such capture field: method HOT 7
- URL:s ending with an asterisk isn't found when searching for the same URL HOT 3
- Upgrade rocksdb
- Pasting a URL in the query field in the dashboard doesn't work
- Document index upgrades HOT 1
- ArrayIndexOutOfBoundsException, NumberFormatException when loading indexed ARC-files HOT 2
- Releases HOT 1
- API to scan all records HOT 3
- Possible infinite loop upon malformed requests HOT 6
- Handling of `+` characters in queries HOT 1
- CDX11+3 support HOT 2
- resolving a surt-timestamp collision should not replace a non-revisit record with a revisit record HOT 9
- Signed WARC URL generation
- Handle invalid dates HOT 4
- Report exception to client in WbCdxApi HOT 2
- Possible race condition under load HOT 8
- XML protocol: numreturned and numresults
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from outbackcdx.