apache / apache/pouchdb

The requested version (XXX) is less than the existing version (YYY)

Open
#8,639 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
17.6k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

### Issue
I'm getting the "The requested version (XXX) is less than the existing version (YYY)" error on allDocs operation. Something like this:
`The requested version (11681489356669) is less than the existing version (11681514257422).`

Do you have any idea why it might happen?

### Info
- Environment: browser
- Platform: Chrome/Edge/Opera
- Adapter: indexeddb
- Server: PouchDB 8.0.1 local

### Reproduce
Can't reproduce.

Contributor guide

Open the contributing guide

Research direction

Start with the allDocs operation and the IndexedDB adapter in the listed browser environment, using the PouchDB 8.0.1 local-server setup. Investigate how the requested and existing versions are produced and compared, then establish a reproducible case or document why reproduction is not possible. Done means the cause is identified and the version error is verified as fixed or clearly explained.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.