Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-956

Return all _seq values as strings not integers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0.0, 1.x.x
    • None
    • None
    • None

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            rnewson Robert Newson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: