Skip to content

Instantly share code, notes, and snippets.

@MrTrick
Created May 6, 2011 07:42
Show Gist options
  • Save MrTrick/958570 to your computer and use it in GitHub Desktop.
Save MrTrick/958570 to your computer and use it in GitHub Desktop.
Updating the design document without blocking other users
[minion@minion cgm]$ php tools/update_couch_design.php
Access granted.
Building staging design...done.
Uploading staging design...done.
Rebuilding all views (this may take a long time, you can track progress in the futon status window) ... done. Elapsed time: 12 seconds
Rebuilding lucene views (this may take a long time, too) ... done. Elapsed time: 8 seconds
Uploading production design...done.
Checking view signatures...done. Both signatures are: 7bfe586167ab93ee5c5320833b336201
Testing a production view (this should be immediate) ...done. Elapsed time: 0 seconds
Testing a production lucene view (this should be immediate) ...done. Elapsed time: 8 seconds
[DEBUGGING] Testing a production lucene view again (this should be immediate) ...done. Elapsed time: 1 seconds
Removing staging design...done.
Removing unused view output...done.
Operation complete:
The db design has been updated to CGM API Version v9.
The db design doc rev is 1-4d81e3cd5c493167c4148946ee238b8e
[minion@minion cgm]$
@MrTrick
Copy link
Author

MrTrick commented May 6, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment