couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1736) Database aliases
Date Fri, 31 May 2013 20:03:20 GMT


Adam Kocoloski commented on COUCHDB-1736:

In my opinion COUCHDB-1735 is superseded by this ticket.  If we have an aliasing system then
a rename can be something like an alias creation and deletion.

In the description on COUCHDB-1735 Dave mentions that the BigCouch code may complicate this
feature addition.  I'm biased, but I actually think it provides a really nice place to implement
it.  In the BigCouch world every logical database has a "partition table" that lists the names
and locations of the shard files that comprise it.  That partition table is stored as a document
in a special system DB which is replicated to every node in a cluster.

I believe we can implement aliases as partition table documents that either point to the "canonical"
partition table document for the DB (the "ln" option) or else list the original shard names
explicitly (the "cp" option).

Does that make sense?
> Database aliases
> ----------------
>                 Key: COUCHDB-1736
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>            Reporter: Dave Cottlehuber
>              Labels: couchdb, erlang, gsoc2013
> Support redirecting database names at HTTP layer. e.g. GET /foo is passed to /bar database

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message