CouchDB
  1. CouchDB
  2. COUCHDB-1004

list_to_existing_atom is too restrictive as used by couch_rep

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.3, 1.1
    • Component/s: Replication
    • Labels:
      None
    • Environment:

      erlang

    • Skill Level:
      New Contributors Level (Easy)

      Description

      We'd like to additional information to db_info in BigCouch, such as the Q and N constants for a given database. This causes replication to fail when replicating from BigCouch to CouchDB due to the use of list_to_existing_atom in couch_rep:dbinfo(...

      The claim is that list_to_atom pollutes the atoms table, however superficial testing indicates this is not the case, list_to_atom when called repeatedly seems to work fine. If this is true then consider reverting list_to_existing_atom back to list_to_atom.

        Activity

        Bob Dionne created issue -
        Adam Kocoloski made changes -
        Field Original Value New Value
        Skill Level New Contributors Level (Easy)
        Filipe Manana made changes -
        Attachment COUCHDB-1004.patch [ 12467637 ]
        Jan Lehnardt made changes -
        Fix Version/s 1.0.3 [ 12316107 ]
        Fix Version/s 1.1 [ 12314933 ]
        Fix Version/s 1.2 [ 12315198 ]
        Filipe Manana made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.2 [ 12315198 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Bob Dionne
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development