| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
COUCHDB-1313
|
| |
|
|
|
|
|
|
|
|
| |
This reverts the compaction task status progress back to what exists on
1.2.x. The issue is that we use the number of documents in the database
instead of the number of docids in the union of all views (the number of
rows in the view's id btree). In this particular case the desire to have
seamless view upgrades outweighs fixing the relatively minor UI bug.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updates 1.2.x or earlier view files to 1.3.x or later view files
transparently, the first time the 1.2.x view file is opened by
1.3.x or later.
Here's how it works:
Before opening a view index,
If no matching index file is found in the new location:
calculate the <= 1.2.x view signature
if a file with that signature lives in the old location
copy it to the new location with the new signature in the name.
Then proceed to open the view index as usual.
After opening, read its header.
If the header matches the <= 1.2.x style #index_header record:
upgrade the header to the new #mrheader record
The next time the view is used, the new header is used.
If we crash after the rename, but before the header upgrade,
the header upgrade is done on the next view opening.
If we crash between upgrading to the new header and writing
that header to disk, we start with the old header again,
do the upgrade and write to disk.
Includes etap tests in 250*.t.
|
|
|
|
| |
Patch by Alexander Shorin.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
While view index file may be really missed, it's ok for new views
and this error will be self-healed on next couch_file:open call
so there is no reason to worry user about.
COUCHDB-1666
Patch by Alexander Shorin.
|
|
|
|
| |
COUCHDB-1662
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merge of 1305-fix-isolate-db-crashes
[@davisp: I'll keep doing this nonsense until we allow merge commits!]
Note that there was previously a small error where couch_sys_dbs ETS
table was being searched for a #db record rather than the db name.
That's fixed here because I saw it. Sorry for not making it a
separate commit.
Squashed commit of the following:
commit f9e4e8a6e426d1569fac4cd707bbd393b102147d
Author: Randall Leeds <randall@apache.org>
Date: Sat Jan 26 06:28:20 2013 -0800
don't handle case clause when death happens anyway
Presumably the reason for the process exit is already logged by
the exiting process (unlike an unexpected message of another sort
which may not have been logged already).
commit 10a052a3eddbd7e89b553966895ee38a9ce439d4
Author: Randall Leeds <randall@apache.org>
Date: Sat Jan 26 06:25:23 2013 -0800
consolidate two similar handle_info clauses
commit 6f3feb09e347dfe0c6812fd71e3f40d15d8d1ced
Author: Randall Leeds <randall@apache.org>
Date: Sat Jan 26 04:35:35 2013 -0800
isolate db process crashes in couch_server
closes COUCHDB-1305
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit de76884544f95fdaf3492a2f88899d7e1fd41326
Author: Randall Leeds <randall@apache.org>
Date: Sat Jan 26 10:34:04 2013 -0800
export the new warn log funs
commit e71cf0499788553f457275558aaf3658fd74fe81
Author: Randall Leeds <randall@apache.org>
Date: Sat Jan 26 10:33:15 2013 -0800
fix mistake in ?LOG_WARN
commit 5abc82b79e93a089b942dfabefb57e57fc243207
Author: Randall Leeds <randall@apache.org>
Date: Sat Jan 26 10:12:58 2013 -0800
change low disk space message to warn level
closes COUCHDB-1569
commit a1461a2b92f8cbd89f0aebe7339e754836d14202
Author: Randall Leeds <randall@apache.org>
Date: Sat Jan 26 09:59:03 2013 -0800
add a ?LOG_WARN and warning level for couch_log
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Closes COUCHDB-317
Patch by Joan Touzet.
|
| |
|
|
|
|
| |
closes COUCHDB-1376
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Closes COUCHDB-1368
Patch by:
- Jan Lehnardt
- Robert Newson
|
|
|
|
|
|
|
|
|
|
|
| |
In particular:
- BSD sed and GNU sed dosagree on commandline options.
- echo "\n" >> FILE or "\r\n" for that matter, does not create a
newline in FILE on Windows.
Original patch by Christopher Bonhage, applied with slight modification.
Closes COUCHDB-1628.
|
| |
|
| |
|
|
|
|
|
|
| |
Thanks to Anthony Ramine for the heads up at
https://github.com/apache/couchdb/commit/b90e40212663474e873fde6cab343c31c1e635e7#commitcomment-2355206
|
| |
|
|
|
|
|
|
| |
This patch passes the `$(MAKE)` value to `test/javascript/run`
so it can in turn invoke `$(MAKE)` instead of literal `make`,
so builds that use e.g. `gmake` succeed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
couch_file:nuke_dir attempts to recurse into subdirectories and delete
the contents, it does so when couch_file:delete returns {error,
eperm}. Unfortunately, the subdirectory has been renamed to a random
uuid before returning, and so the recursive call gets {error, enoent}
from list:dir(Path) where Path is the original (non-existent)
subdirectory path.
View files are not currently deleted when a database is because of
this (this happened since 1.2.0, no release is broken) because the
view engine rewrite added a further directory level called 'mrview'.
This patch modifies nuke_dir to depth-first, solving the issue.
|
| |
|
| |
|
|
|
|
| |
Patch adapted from http://www.couchbase.com/issues/browse/MB-7390
|
|
|
|
| |
COUCHDB-1632
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
MD5-Digests of attachments are calculated on the compressed data if the
attachment MIME type is compressible, as defined in default.ini
[attachments] compressible_types
Windows uses a different gzip implementation, and therefore generates
different MD5-Digests than other platforms. Using binary Content-Type
resolves this.
|
| |
|