Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Skill Level:
      Regular Contributors Level (Easy to Medium)

      Description

      Add a uuid to db_header to distinguish different databases that have the same name (for example, by deleting and creating the same named database).

      1. db_uuids.patch
        4 kB
        Randall Leeds
      2. db_uuids.patch
        4 kB
        Randall Leeds
      3. db_uuids_v2.patch
        5 kB
        Randall Leeds
      4. 0001-add-uuid-to-database-on-creation-return-it-in-db_in.patch
        2 kB
        Robert Newson

        Issue Links

          Activity

          Jan Lehnardt made changes -
          Link This issue is related to COUCHDB-1259 [ COUCHDB-1259 ]
          Paul Joseph Davis made changes -
          Skill Level Regular Contributors Level (Easy to Medium)
          Randall Leeds made changes -
          Link This issue blocks COUCHDB-782 [ COUCHDB-782 ]
          Randall Leeds made changes -
          Link This issue is blocked by COUCHDB-782 [ COUCHDB-782 ]
          Randall Leeds made changes -
          Attachment db_uuids_v2.patch [ 12446203 ]
          Randall Leeds made changes -
          Link This issue blocks COUCHDB-782 [ COUCHDB-782 ]
          Adam Kocoloski made changes -
          Link This issue is related to COUCHDB-141 [ COUCHDB-141 ]
          Bob Dionne made changes -
          Comment [ I tested this all against a clean checkout of trunk and it looks good. The new algorithm is faster on inserts[1] but interestingly for single inserts is makes for a larger db pre-compact. After compaction the db is smaller by a factor of 3

          I thought we leave the new "sequentially random" as the default? Paul, is the concern just what's advertised to users?

          Algorithms based on the system clock I think can be problematic as they assume all machines have the correct time.


          [1] http://gist.github.com/170982 ]
          Robert Newson made changes -
          Field Original Value New Value
          Attachment 0001-add-uuid-to-database-on-creation-return-it-in-db_in.patch [ 12417120 ]
          Robert Newson created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Robert Newson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development