Skip to content

[DISCUSS] Upgrade Snappy to 1.2.2 #5568

@big-r81

Description

@big-r81

Hi,

this thread is for discussing the upgrade to the latest version of Snappy (1.2.2).

I prepared the snappy upgrade here.
To test this Snappy version in CouchDB, I provide an additional branch with PR #5567.

What I test so far:

  1. Install latest CouchDB (91bd2ed)
  2. Create a "shared data" directory for the dev runs and use a preconfigured ini file
[vendor]
name = The Apache Software Foundation

[couchdb]
uuid = fake_uuid_for_dev
database_dir = /path/to/shared/dir/data
view_index_dir = /path/to/shared/dir/data
file_compression = snappy

[smoosh]
state_dir = /path/to/shared/dir/data
  1. Run this server with ./dev/run -aa:a -n1 -l snappy.ini
  2. Create a db with sample documents, do some changes, deletions, create views, compaction, ...
  3. Shutdown CouchDB
  4. Clone another CouchDB Upgrade Snappy to 1.2.2 #5567 with the PR from above
  5. Start this instance an try to load the database, views, documents

CouchDB should read the db and documents created by the older version of snappy.

Please test this and comment if this works for you.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions