Author: fdmanana
Date: Fri Sep 16 00:20:05 2011
New Revision: 1171340
URL: http://svn.apache.org/viewvc?rev=1171340view=rev
Log:
Add test test/etap/042-work-queue.t
So far the couch_work_queue module had no unit tests at
all. This module is important for the view updater and
the replicator
Author: fdmanana
Date: Fri Sep 16 00:21:44 2011
New Revision: 1171341
URL: http://svn.apache.org/viewvc?rev=1171341view=rev
Log:
Add test test/etap/042-work-queue.t
So far the couch_work_queue module had no unit tests at
all. This module is important for the view updater and
the replicator
Author: fdmanana
Date: Fri Sep 16 00:23:54 2011
New Revision: 1171342
URL: http://svn.apache.org/viewvc?rev=1171342view=rev
Log:
Remove comment
This comment was added, unintentially, in revision 1103266
Modified:
couchdb/trunk/src/couchdb/couch_work_queue.erl
Modified: couchdb/trunk/src
Author: fdmanana
Date: Tue Sep 13 00:27:16 2011
New Revision: 1169983
URL: http://svn.apache.org/viewvc?rev=1169983view=rev
Log:
Notify waiting requests when replication cancelled
When cancelling a non-continuous replication, notify that the
replication was cancelled. This is necessary
Author: fdmanana
Date: Sun Sep 11 18:51:45 2011
New Revision: 1169498
URL: http://svn.apache.org/viewvc?rev=1169498view=rev
Log:
Make sure httpc pool doesn't reuse dead connections
Race conditions allowed dead http connections to be added
back to the httpc pool and then be given back to clients
Author: fdmanana
Date: Sun Sep 11 19:20:12 2011
New Revision: 1169503
URL: http://svn.apache.org/viewvc?rev=1169503view=rev
Log:
Fix comment
Patch by Jason Smith. Thanks.
Modified:
couchdb/trunk/src/couchdb/couch_httpd_show.erl
Modified: couchdb/trunk/src/couchdb/couch_httpd_show.erl
URL
Author: fdmanana
Date: Sat Sep 10 22:45:53 2011
New Revision: 1167626
URL: http://svn.apache.org/viewvc?rev=1167626view=rev
Log:
Use EJSON compare NIF only if OTP version R14B03
COUCHDB-1267
Modified:
couchdb/trunk/configure.ac
Modified: couchdb/trunk/configure.ac
URL:
http
Author: fdmanana
Date: Mon Sep 5 21:57:45 2011
New Revision: 1165433
URL: http://svn.apache.org/viewvc?rev=1165433view=rev
Log:
Close database if database compaction is not done
Issue found, and patch, by Mike Leddy. Patch extended
with a test. Thanks Mike.
Modified:
couchdb/trunk/src
Author: fdmanana
Date: Mon Sep 5 01:57:00 2011
New Revision: 1165145
URL: http://svn.apache.org/viewvc?rev=1165145view=rev
Log:
Remove no longer existing replicator httpc option
Modified:
couchdb/trunk/src/couchdb/couch_api_wrap.erl
Modified: couchdb/trunk/src/couchdb/couch_api_wrap.erl
Author: fdmanana
Date: Wed Aug 31 19:09:05 2011
New Revision: 1163747
URL: http://svn.apache.org/viewvc?rev=1163747view=rev
Log:
Fix order of parameters in log message
Modified:
couchdb/branches/1.1.x/src/couchdb/couch_rep.erl
Modified: couchdb/branches/1.1.x/src/couchdb/couch_rep.erl
URL
Author: fdmanana
Date: Wed Aug 31 19:10:26 2011
New Revision: 1163748
URL: http://svn.apache.org/viewvc?rev=1163748view=rev
Log:
Fix order of parameters in log message
Modified:
couchdb/trunk/src/couchdb/couch_replicator_utils.erl
Modified: couchdb/trunk/src/couchdb
Author: fdmanana
Date: Mon Aug 29 07:24:28 2011
New Revision: 1162662
URL: http://svn.apache.org/viewvc?rev=1162662view=rev
Log:
Remove unncessary/duplicated replicator cast
Modified:
couchdb/trunk/src/couchdb/couch_replicator_worker.erl
Modified: couchdb/trunk/src/couchdb
Author: fdmanana
Date: Mon Aug 29 07:25:15 2011
New Revision: 1162663
URL: http://svn.apache.org/viewvc?rev=1162663view=rev
Log:
Make replicator report_seq_done call synchronous
On environments with an incredibly slow network, this
was making the main gen_server's mailbox very big when
Author: fdmanana
Date: Mon Aug 29 07:26:04 2011
New Revision: 1162664
URL: http://svn.apache.org/viewvc?rev=1162664view=rev
Log:
Remove unnecessary replicator gen_server clauses
Modified:
couchdb/trunk/src/couchdb/couch_replicator.erl
Modified: couchdb/trunk/src/couchdb/couch_replicator.erl
Author: fdmanana
Date: Mon Aug 29 21:08:36 2011
New Revision: 1163005
URL: http://svn.apache.org/viewvc?rev=1163005view=rev
Log:
Add byte size limit to work queue
Modified:
couchdb/trunk/src/couchdb/couch_replicator.erl
Modified: couchdb/trunk/src/couchdb/couch_replicator.erl
URL:
http
Author: fdmanana
Date: Sat Aug 27 07:30:35 2011
New Revision: 1162306
URL: http://svn.apache.org/viewvc?rev=1162306view=rev
Log:
Fix replication crash on database compaction
There were race conditions that made replications crash
when a local endpoint database is compacted.
Patch tested by Joan
Author: fdmanana
Date: Sat Aug 27 07:40:54 2011
New Revision: 1162307
URL: http://svn.apache.org/viewvc?rev=1162307view=rev
Log:
Remove unnecessary call after revision 1162306
Modified:
couchdb/branches/1.1.x/src/couchdb/couch_rep_reader.erl
Modified: couchdb/branches/1.1.x/src/couchdb
Author: fdmanana
Date: Wed Aug 24 02:41:31 2011
New Revision: 1160965
URL: http://svn.apache.org/viewvc?rev=1160965view=rev
Log:
Don't open database or view group if not needed
If we're not in the allowed time window for a compaction,
don't open the database or a view group because
Author: fdmanana
Date: Wed Aug 24 02:42:58 2011
New Revision: 1160966
URL: http://svn.apache.org/viewvc?rev=1160966view=rev
Log:
Add after clause to receive expression
When doing parallel view compaction, make sure the
respective process terminates when it exceeds the
allowed period window
Author: fdmanana
Date: Sat Aug 20 23:00:24 2011
New Revision: 1159922
URL: http://svn.apache.org/viewvc?rev=1159922view=rev
Log:
Add configurable automatic compaction
A set of rules can now be defined in order to automatically
trigger the compaction of databases and their views
Author: fdmanana
Date: Thu Aug 18 06:40:07 2011
New Revision: 1159058
URL: http://svn.apache.org/viewvc?rev=1159058view=rev
Log:
Add missing assertions to test/etap/210-os-proc-pool.t
Modified:
couchdb/trunk/test/etap/210-os-proc-pool.t
Modified: couchdb/trunk/test/etap/210-os-proc-pool.t
Author: fdmanana
Date: Thu Aug 18 06:40:39 2011
New Revision: 1159059
URL: http://svn.apache.org/viewvc?rev=1159059view=rev
Log:
Add missing assertions to test/etap/210-os-proc-pool.t
Modified:
couchdb/branches/1.1.x/test/etap/210-os-proc-pool.t
Modified: couchdb/branches/1.1.x/test/etap
Author: fdmanana
Date: Fri Aug 19 04:51:20 2011
New Revision: 1159501
URL: http://svn.apache.org/viewvc?rev=1159501view=rev
Log:
Updated changes feed connect timeout to 30 seconds
This is the timeout used everywhere else. Some users are
constantly unable to replicate since under some scenarios
Author: fdmanana
Date: Thu Aug 18 05:48:10 2011
New Revision: 1159045
URL: http://svn.apache.org/viewvc?rev=1159045view=rev
Log:
Fix dead lock case in the os process pool
Part of this patch was done by Paul Davis.
The patch also introduces a test case to validate that
the os process pool
Author: fdmanana
Date: Thu Aug 18 05:49:15 2011
New Revision: 1159047
URL: http://svn.apache.org/viewvc?rev=1159047view=rev
Log:
Added executable bit to test/etap/210-os-proc-pool.t
Modified:
couchdb/trunk/test/etap/210-os-proc-pool.t (props changed)
Propchange: couchdb/trunk/test/etap
Author: fdmanana
Date: Thu Aug 18 05:50:42 2011
New Revision: 1159049
URL: http://svn.apache.org/viewvc?rev=1159049view=rev
Log:
Merge revision 1159045 from trunk
Fix dead lock case in the os process pool
Part of this patch was done by Paul Davis.
The patch also introduces a test
Author: fdmanana
Date: Thu Aug 18 05:51:31 2011
New Revision: 1159050
URL: http://svn.apache.org/viewvc?rev=1159050view=rev
Log:
Added executable bit to test/etap/210-os-proc-pool.t
Modified:
couchdb/branches/1.1.x/test/etap/210-os-proc-pool.t (props changed)
Propchange: couchdb/branches
Author: fdmanana
Date: Mon Aug 15 01:09:44 2011
New Revision: 1157693
URL: http://svn.apache.org/viewvc?rev=1157693view=rev
Log:
Fix C pointer cast to the right type
This was making init:restart() crash the Erlang VM on a
Mac OS X Lion 64 bits machine.
References:
http://www.erlang.org/doc/man
Author: fdmanana
Date: Sat Aug 13 22:08:47 2011
New Revision: 1157428
URL: http://svn.apache.org/viewvc?rev=1157428view=rev
Log:
Doc validation functions from deleted ddocs must be ignored
If a design document is deleted by updating it with a _deleted
field set to the boolean value true, its
Author: fdmanana
Date: Sat Aug 13 22:10:00 2011
New Revision: 1157429
URL: http://svn.apache.org/viewvc?rev=1157429view=rev
Log:
Merge revision 1157428 from trunk
Doc validation functions from deleted ddocs must be ignored
If a design document is deleted by updating it with a _deleted
Author: fdmanana
Date: Sat Aug 13 22:33:52 2011
New Revision: 1157434
URL: http://svn.apache.org/viewvc?rev=1157434view=rev
Log:
Better logger performance
Logging to file now uses OTP's specialized disk_log module.
Writes to the log file are no longer done inside the gen_event
handler
Author: fdmanana
Date: Fri Aug 12 21:36:51 2011
New Revision: 1157262
URL: http://svn.apache.org/viewvc?rev=1157262view=rev
Log:
Fix function_clause error when using externals
This was introduced by revision 1144844.
Closes COUCHDB-1241.
Modified:
couchdb/trunk/src/couchdb
Author: fdmanana
Date: Wed Aug 10 19:23:44 2011
New Revision: 1156324
URL: http://svn.apache.org/viewvc?rev=1156324view=rev
Log:
Allow by doc ids pull replications from a 1.0 server
CouchDB 1.0 and older releases don't have the builtin _changes
feed filter _doc_ids (neither support POSTs against
Author: fdmanana
Date: Wed Aug 10 20:45:53 2011
New Revision: 1156360
URL: http://svn.apache.org/viewvc?rev=1156360view=rev
Log:
Prevent data loss on db creation request
1) Create and populate a database
2) Restart the server
3) Send a PUT request to create the database - the server
Author: fdmanana
Date: Wed Aug 10 20:47:27 2011
New Revision: 1156361
URL: http://svn.apache.org/viewvc?rev=1156361view=rev
Log:
Merged revision 1156360 from trunk
Prevent data loss on db creation request
1) Create and populate a database
2) Restart the server
3) Send a PUT
Author: fdmanana
Date: Wed Aug 10 20:48:17 2011
New Revision: 1156362
URL: http://svn.apache.org/viewvc?rev=1156362view=rev
Log:
Merged revision 1156360 from trunk
Prevent data loss on db creation request
1) Create and populate a database
2) Restart the server
3) Send a PUT
Author: fdmanana
Date: Wed Aug 10 21:49:20 2011
New Revision: 1156381
URL: http://svn.apache.org/viewvc?rev=1156381view=rev
Log:
Revert couch_server changes added in revision 1156360
Leaving the tests however since it doesn't hurt.
Modified:
couchdb/trunk/src/couchdb/couch_server.erl
Author: fdmanana
Date: Wed Aug 10 22:01:33 2011
New Revision: 1156385
URL: http://svn.apache.org/viewvc?rev=1156385view=rev
Log:
Revert couch_server changes added in revision 1156361
Leaving the tests however since it doesn't hurt.
Modified:
couchdb/branches/1.1.x/src/couchdb
Author: fdmanana
Date: Tue Aug 2 19:30:25 2011
New Revision: 1153250
URL: http://svn.apache.org/viewvc?rev=1153250view=rev
Log:
Return HTTP code 202 for continuous replications
This was the behaviour of the previous replicator's
implementation. Issue identified by Dale Harvey.
Modified
Author: fdmanana
Date: Fri Jul 22 00:04:30 2011
New Revision: 1149412
URL: http://svn.apache.org/viewvc?rev=1149412view=rev
Log:
Refactor/simplify replicator
For each worker (doc copier) process there used to be
a rev finder process. A rev finder dequeues from the
_changes rows queue, finds
Author: fdmanana
Date: Sun Jul 10 12:07:02 2011
New Revision: 1144842
URL: http://svn.apache.org/viewvc?rev=1144842view=rev
Log:
Fix replication task status text
Revision 1144419 added internal timestamps to source
database update sequences. These timestamps are being
displayed
Author: fdmanana
Date: Sun Jul 10 12:11:15 2011
New Revision: 1144844
URL: http://svn.apache.org/viewvc?rev=1144844view=rev
Log:
Some view indexer optimizations
Changes:
- Decoding of the JSON received from the external OS process
(couchjs) is now done in the indexer's process which does
Author: fdmanana
Date: Sun Jul 10 12:18:53 2011
New Revision: 1144846
URL: http://svn.apache.org/viewvc?rev=1144846view=rev
Log:
Faster required content-type check
string:tokens/2 is more efficient then re:split/3
1 timer:tc(re, split, [application/json, ;, [{return, list}]]).
{20,[application
Author: fdmanana
Date: Sun Jul 10 12:22:04 2011
New Revision: 1144848
URL: http://svn.apache.org/viewvc?rev=1144848view=rev
Log:
Cheaper request authentication
Parsing the auth handlers on every request is more expensive then
it needs to be. Just the regexp split operation by itself is rather
Author: fdmanana
Date: Fri Jul 8 09:15:49 2011
New Revision: 1144203
URL: http://svn.apache.org/viewvc?rev=1144203view=rev
Log:
Simplify replicator's http connection pool
Dropped support for pipelining, making it less tied to
ibrowse and much simpler and shorter. In practice the
pipelining
Author: fdmanana
Date: Fri Jul 8 09:28:20 2011
New Revision: 1144208
URL: http://svn.apache.org/viewvc?rev=1144208view=rev
Log:
Don't block the replication supervisor for too long
When a replication child is started and there's no
connectivity with a remote endpoint, each request is
retried
Author: fdmanana
Date: Fri Jul 8 18:38:44 2011
New Revision: 1144419
URL: http://svn.apache.org/viewvc?rev=1144419view=rev
Log:
Make replicator agnostic about the update seq type
To determine which row, coming from a _changes feed, came
earlier (or later), the replicator compared
Author: fdmanana
Date: Wed Jul 6 12:27:15 2011
New Revision: 1143376
URL: http://svn.apache.org/viewvc?rev=1143376view=rev
Log:
Merge revision 1143375 from trunk
Redefine logging macros
With these macro definitions we don't evaluate the arguments
if the corresponding log level
Author: fdmanana
Date: Sun Jul 3 09:58:54 2011
New Revision: 1142410
URL: http://svn.apache.org/viewvc?rev=1142410view=rev
Log:
Remove warning about unused variable
Modified:
couchdb/branches/1.1.x/src/couchdb/couch_replication_manager.erl
Modified: couchdb/branches/1.1.x/src/couchdb
Author: fdmanana
Date: Sat Jul 2 18:44:00 2011
New Revision: 1142258
URL: http://svn.apache.org/viewvc?rev=1142258view=rev
Log:
Restart replications on error
If a replication transitions to the error state, attempt
to restart it up to max_replication_retry_count times
(.ini configuration
Author: fdmanana
Date: Sat Jul 2 18:46:56 2011
New Revision: 1142259
URL: http://svn.apache.org/viewvc?rev=1142259view=rev
Log:
Replication manager, ignore db monitor messages
Ignore local database monitor messages. These messages
are received in some circunstances because replication
processes
Author: fdmanana
Date: Sat Jul 2 18:47:54 2011
New Revision: 1142260
URL: http://svn.apache.org/viewvc?rev=1142260view=rev
Log:
Merge revision 1142259 from trunk
Replication manager, ignore db monitor messages
Ignore local database monitor messages. These messages
are received
Author: fdmanana
Date: Sat Jul 2 18:51:24 2011
New Revision: 1142262
URL: http://svn.apache.org/viewvc?rev=1142262view=rev
Log:
On server startup, restart replications in error
If we setup a continuous replication which goes into
an error state and restart Couch just before the
replication
Author: fdmanana
Date: Sat Jul 2 18:52:14 2011
New Revision: 1142263
URL: http://svn.apache.org/viewvc?rev=1142263view=rev
Log:
Merged revision 1142262 from trunk
On server startup, restart replications in error
If we setup a continuous replication which goes into
an error state
Author: fdmanana
Date: Sat Jul 2 18:57:00 2011
New Revision: 1142265
URL: http://svn.apache.org/viewvc?rev=1142265view=rev
Log:
Add datetime fields to task statuses
Now task statuses have the fields started and updated,
which are unix timestamps that reflect when a task was
started and when
Author: fdmanana
Date: Sat Jul 2 19:04:47 2011
New Revision: 1142268
URL: http://svn.apache.org/viewvc?rev=1142268view=rev
Log:
Updated CHANGES and NEWS to reflect COUCHDB-1201
Modified:
couchdb/trunk/CHANGES
couchdb/trunk/NEWS
Modified: couchdb/trunk/CHANGES
URL:
http
Author: fdmanana
Date: Sun Jun 26 18:08:36 2011
New Revision: 1139865
URL: http://svn.apache.org/viewvc?rev=1139865view=rev
Log:
Replicator: less agressive connection requests
For each worker process there's a missing revs finder process.
Therefore we have to account for it when defining the max
Author: fdmanana
Date: Sun Jun 26 18:12:33 2011
New Revision: 1139893
URL: http://svn.apache.org/viewvc?rev=1139893view=rev
Log:
Update some replicator defaults
Use smaller worker batch size so that overall progress
is more steady. Also decrease connection pipeline size because
an error in one
Author: fdmanana
Date: Sun Jun 26 18:14:28 2011
New Revision: 1139894
URL: http://svn.apache.org/viewvc?rev=1139894view=rev
Log:
Don't steal data from subsequent requests in the pipeline
Modified:
couchdb/trunk/src/couchdb/couch_httpd.erl
Modified: couchdb/trunk/src/couchdb/couch_httpd.erl
Author: fdmanana
Date: Sun Jun 26 18:19:03 2011
New Revision: 1139897
URL: http://svn.apache.org/viewvc?rev=1139897view=rev
Log:
Merged revision 1139894 from trunk
Don't steal data from subsequent requests in the pipeline
Modified:
couchdb/branches/1.1.x/src/couchdb/couch_httpd.erl
Author: fdmanana
Date: Thu Jun 23 09:46:46 2011
New Revision: 1138799
URL: http://svn.apache.org/viewvc?rev=1138799view=rev
Log:
Merged revision 1104168 from trunk
Add infinity timeout to couch_ref_counter calls
After compacting a very large database, the updater calls the couch_db
Author: fdmanana
Date: Thu Jun 23 16:12:56 2011
New Revision: 1138964
URL: http://svn.apache.org/viewvc?rev=1138964view=rev
Log:
Improve replication logging and status report
When resuming a replication, log and report what's the start
sequence number (stored in latest checkpoint)
Modified
Author: fdmanana
Date: Tue Jun 21 10:13:33 2011
New Revision: 1137928
URL: http://svn.apache.org/viewvc?rev=1137928view=rev
Log:
Fix server crash associated with the replicator database
If there's an exception when calculating the replication ID
for a replication document, it crashes
Author: fdmanana
Date: Fri Jun 17 19:15:55 2011
New Revision: 1136988
URL: http://svn.apache.org/viewvc?rev=1136988view=rev
Log:
Upgrade snappy to version 1.0.3
This new version slightly improves decompression speed.
Release notes at:
http://code.google.com/p/snappy/source/browse/trunk/NEWS
Author: fdmanana
Date: Thu Jun 16 10:53:42 2011
New Revision: 1136370
URL: http://svn.apache.org/viewvc?rev=1136370view=rev
Log:
Fix terminate function in couch_server
couch_server was not doing a synchronous shutdown of all
the open databases when terminating (due to an error or
server restart
Author: fdmanana
Date: Wed Jun 15 13:46:47 2011
New Revision: 1136041
URL: http://svn.apache.org/viewvc?rev=1136041view=rev
Log:
Simpler internal btree function APIs
Patch by Andrey Somov.
Closes COUCHDB-920. Thanks Andrey.
Modified:
couchdb/trunk/THANKS
couchdb/trunk/src/couchdb
Author: fdmanana
Date: Sun Jun 12 16:14:33 2011
New Revision: 1134941
URL: http://svn.apache.org/viewvc?rev=1134941view=rev
Log:
Fix erlang-oauth Makefile.am (wrong file extension)
Modified:
couchdb/branches/1.1.x/src/erlang-oauth/Makefile.am
Modified: couchdb/branches/1.1.x/src/erlang
Author: fdmanana
Date: Sun Jun 12 16:16:29 2011
New Revision: 1134942
URL: http://svn.apache.org/viewvc?rev=1134942view=rev
Log:
Backport revision 1129897 from trunk
Fixes to the doc PUT multipart API
Don't hold the connection forever if the document is rejected
Author: fdmanana
Date: Sun Jun 12 16:20:11 2011
New Revision: 1134943
URL: http://svn.apache.org/viewvc?rev=1134943view=rev
Log:
Update comment to mention a supervisor change in R14B03
Modified:
couchdb/trunk/src/couchdb/couch_replicator.erl
Modified: couchdb/trunk/src/couchdb
Author: fdmanana
Date: Tue May 31 20:19:40 2011
New Revision: 1129900
URL: http://svn.apache.org/viewvc?rev=1129900view=rev
Log:
Skip multipart attachments if doc is rejected by the target
If the target rejects the document (via validate_doc_update functions),
the connection is hold
Author: fdmanana
Date: Tue May 31 20:28:11 2011
New Revision: 1129904
URL: http://svn.apache.org/viewvc?rev=1129904view=rev
Log:
Re-use couch_doc:abort_multi_part_stream/1 in couch_api_wrap
This was accidently duplicated in revision 1129900.
Modified:
couchdb/trunk/src/couchdb
Author: fdmanana
Date: Tue May 31 20:32:56 2011
New Revision: 1129906
URL: http://svn.apache.org/viewvc?rev=1129906view=rev
Log:
Improve error logging on replication write failures
If an error happens when writing a document to the target endpoint,
log it's ID, revision, error and error reason
Author: fdmanana
Date: Wed May 25 18:59:23 2011
New Revision: 1127632
URL: http://svn.apache.org/viewvc?rev=1127632view=rev
Log:
Force non admins to supply a user_ctx in replication documents
This is to prevent users deleting replication documents added by other users
and to make it clear who
Author: fdmanana
Date: Wed May 25 19:01:03 2011
New Revision: 1127634
URL: http://svn.apache.org/viewvc?rev=1127634view=rev
Log:
Backported revision 1127632 from trunk
Force non admins to supply a user_ctx in replication documents
This is to prevent users deleting replication documents
Author: fdmanana
Date: Mon May 23 10:53:37 2011
New Revision: 1126426
URL: http://svn.apache.org/viewvc?rev=1126426view=rev
Log:
Fix timing issues in the doc PUT multipart/related API
Two issues were present:
1) the handler replied to the request before the multipart parser consumed
all
Author: fdmanana
Date: Mon May 23 10:56:08 2011
New Revision: 1126428
URL: http://svn.apache.org/viewvc?rev=1126428view=rev
Log:
Merged revision 1126426 from trunk
Fix timing issues in the doc PUT multipart/related API
Two issues were present:
1) the handler replied to the request
Author: fdmanana
Date: Mon May 23 11:05:26 2011
New Revision: 1126431
URL: http://svn.apache.org/viewvc?rev=1126431view=rev
Log:
Merged revision 1126426 from trunk
Fix timing issues in the doc PUT multipart/related API
Two issues were present:
1) the handler replied to the request
Author: fdmanana
Date: Mon May 23 11:56:01 2011
New Revision: 1126457
URL: http://svn.apache.org/viewvc?rev=1126457view=rev
Log:
Replicator: re-enable batching of documents with small attachments
This was removed in revision 1085178, for local - remote replications,
for dealing gracefully
Author: fdmanana
Date: Sun May 22 18:06:42 2011
New Revision: 1126147
URL: http://svn.apache.org/viewvc?rev=1126147view=rev
Log:
Replicator: when streaming don't rely on ibrowse's timeouts
For some reason, when under heavy load (many requests and connections
in parallel), ibrowse doesn't send
Author: fdmanana
Date: Sat May 21 12:28:14 2011
New Revision: 1125680
URL: http://svn.apache.org/viewvc?rev=1125680view=rev
Log:
Use RFC3339 timestamps in replication documents
As recently proposed by Max Odgen, RFC3339 timestamps are
now used instead of Unix timestamps.
Modified:
couchdb
Author: fdmanana
Date: Sat May 21 12:29:38 2011
New Revision: 1125682
URL: http://svn.apache.org/viewvc?rev=1125682view=rev
Log:
Merged revision 1125680 from trunk
Use RFC3339 timestamps in replication documents
As recently proposed by Max Odgen, RFC3339 timestamps are
now used
Author: fdmanana
Date: Sat May 21 22:00:26 2011
New Revision: 1125828
URL: http://svn.apache.org/viewvc?rev=1125828view=rev
Log:
Add missing option to multipart/related GETs
This is necessary as the client needs to be able to know if
attachments are encoded or not.
Modified:
couchdb/trunk
Author: fdmanana
Date: Sat May 21 22:01:13 2011
New Revision: 1125829
URL: http://svn.apache.org/viewvc?rev=1125829view=rev
Log:
Merged revision 1125828 from trunk
Add missing option to multipart/related GETs
This is necessary as the client needs to be able to know
Author: fdmanana
Date: Sat May 21 22:01:38 2011
New Revision: 1125830
URL: http://svn.apache.org/viewvc?rev=1125830view=rev
Log:
Merged revision 1125828 from trunk
Add missing option to multipart/related GETs
This is necessary as the client needs to be able to know if
attachments
Author: fdmanana
Date: Fri May 20 08:52:39 2011
New Revision: 1125282
URL: http://svn.apache.org/viewvc?rev=1125282view=rev
Log:
Replication manager: allow max_replication_retry_count to be set to infinity
Modified:
couchdb/trunk/etc/couchdb/default.ini.tpl.in
couchdb/trunk/src/couchdb
Author: fdmanana
Date: Fri May 20 10:52:45 2011
New Revision: 1125317
URL: http://svn.apache.org/viewvc?rev=1125317view=rev
Log:
Replication manager: don't update doc if new state == current state
This is to avoid unncessary updates.
Modified:
couchdb/trunk/src/couchdb
Author: fdmanana
Date: Fri May 20 10:55:06 2011
New Revision: 1125319
URL: http://svn.apache.org/viewvc?rev=1125319view=rev
Log:
Replication manager: allow edition of replication documents
Replication documents that are not in the triggered state can now
be edited by users. This is to make
Author: fdmanana
Date: Fri May 20 10:56:30 2011
New Revision: 1125320
URL: http://svn.apache.org/viewvc?rev=1125320view=rev
Log:
Replication manager: don't update doc if new state == current state
This is to avoid unncessary updates.
This is a backport of revision 1125317 (trunk).
Modified
Author: fdmanana
Date: Fri May 20 10:57:28 2011
New Revision: 1125321
URL: http://svn.apache.org/viewvc?rev=1125321view=rev
Log:
Replication manager: allow edition of replication documents
Replication documents that are not in the triggered state can now
be edited by users. This is to make
Author: fdmanana
Date: Wed May 18 10:51:22 2011
New Revision: 1124184
URL: http://svn.apache.org/viewvc?rev=1124184view=rev
Log:
Avoid assertion failure in replication.js due to timing issues
Modified:
couchdb/branches/1.0.x/share/www/script/test/replication.js
Modified: couchdb/branches
Author: fdmanana
Date: Wed May 18 10:54:39 2011
New Revision: 1124185
URL: http://svn.apache.org/viewvc?rev=1124185view=rev
Log:
Avoid assertion failure in replication.js due to timing issues
Modified:
couchdb/branches/1.1.x/share/www/script/test/replication.js
Modified: couchdb/branches
Author: fdmanana
Date: Tue May 17 11:41:12 2011
New Revision: 1104168
URL: http://svn.apache.org/viewvc?rev=1104168view=rev
Log:
Add infinity timeout to couch_ref_counter calls
After compacting a very large database, the updater calls the couch_db
gen_server with
a db record that contains a new
Author: fdmanana
Date: Tue May 17 19:16:31 2011
New Revision: 1104476
URL: http://svn.apache.org/viewvc?rev=1104476view=rev
Log:
Fix and test for COUCHDB-885, replication of attachments causing conflicts
Modified:
couchdb/branches/1.0.x/share/www/script/test/replication.js
couchdb
Author: fdmanana
Date: Tue May 17 19:18:57 2011
New Revision: 1104478
URL: http://svn.apache.org/viewvc?rev=1104478view=rev
Log:
Added extra assertions to the test for COUCHDB-885
This is to verify the attachments really exist in the target and
have the right data and metadata.
Modified
Author: fdmanana
Date: Tue May 17 19:24:56 2011
New Revision: 1104481
URL: http://svn.apache.org/viewvc?rev=1104481view=rev
Log:
Add missing doc open option to the test for COUCHDB-885
These were forgotten when backporting the attachment related assertions from
1.0.x.
Modified:
couchdb
Author: fdmanana
Date: Tue May 17 19:41:02 2011
New Revision: 1104490
URL: http://svn.apache.org/viewvc?rev=1104490view=rev
Log:
Backport test for COUCHDB-885 from 1.1.x and 1.0.x
Modified:
couchdb/trunk/share/www/script/test/replication.js
Modified: couchdb/trunk/share/www/script/test
Author: fdmanana
Date: Sun May 15 02:35:25 2011
New Revision: 1103266
URL: http://svn.apache.org/viewvc?rev=1103266view=rev
Log:
Bug fix in couch_work_queue: state's size not decremented
When dequeing some items from the queue (that is, not taking all the queued
items)
the size field
Author: fdmanana
Date: Fri May 13 11:17:35 2011
New Revision: 1102676
URL: http://svn.apache.org/viewvc?rev=1102676view=rev
Log:
Merged revision 1102137 from trunk
Make sure view group shutdowns when database is deleted or dies
Added more assertions to test 200-view-group-no-db-leaks.t
Author: fdmanana
Date: Fri May 13 11:18:37 2011
New Revision: 1102678
URL: http://svn.apache.org/viewvc?rev=1102678view=rev
Log:
Merged revision 1102137 from trunk
Make sure view group shutdowns when database is deleted or dies
Added more assertions to test 200-view-group-no-db-leaks.t
Author: fdmanana
Date: Fri May 13 11:44:22 2011
New Revision: 1102684
URL: http://svn.apache.org/viewvc?rev=1102684view=rev
Log:
Configurable database and view compaction parameters
These parameters are now configurable as byte quantities.
Larger buffer sizes can significantly decrease final
201 - 300 of 697 matches
Mail list logo