couchbaselabs/TouchDB-iOS — Issue #26: Pull doesn't support non-numeric sequence IDs (i.e. BigCouch)
Author: snej
Created: 2012-01-12 19:37:54+00:00
State: open
Labels: bug, compatibility, performance

BigCouch databases assign revisions sequence IDs that are not numeric. TDPuller doesn't handle those properly yet — it tries to parse them to integers and they'll all end up as 0. The effect is that, while the pull will work, TouchDB won't properly remember what sequences it's already seen, so the next sync will start over from the beginning, slowing it down.

TDPuller is using TDRevision objects to store the remote revisions, so I may have to extend TDRevision to be able to store a non-numeric sequence ID.