couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-956) Return all _seq values as strings not integers
Date Thu, 18 Nov 2010 14:55:13 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933441#action_12933441
] 

Adam Kocoloski commented on COUCHDB-956:
----------------------------------------

The replicator sorts sequence values from the rows it has processed in the _changes feed to
ensure that it always checkpoints at the highest one possible.  Sorting them as strings results
in the replicator skipping checkpoints after it reaches a sequence with a number of leading
9s.

> Return all _seq values as strings not integers
> ----------------------------------------------
>
>                 Key: COUCHDB-956
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-956
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Robert Newson
>
> Some fields are returned as strings in db_info and other places to protect against numeric
overflow;
> {"db_name":"db","doc_count":0,"doc_del_count":0,"update_seq":0,"purge_seq":0,"compact_running":false,"disk_size":79,"instance_start_time":"1290088043619158","disk_format_version":5,"committed_update_seq":0}
> here, instance_start_time is protected but, more critically, update_seq is not.
> If update_seq were to be wrapped due to precision issues, what breaks?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message