History log of /5.5.2/couchdb/test/ (Results 51 - 75 of 373)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
cc29f25730-Aug-2012 Filipe David Borba Manana <fdmanana@apache.org>

MB-6492 Fix race condition in test 200-view-group-no-db-leaks.t

Only check db ref counters after the compactor process died,
otherwise they might not yet have been decremented.

MB-6492 Fix race condition in test 200-view-group-no-db-leaks.t

Only check db ref counters after the compactor process died,
otherwise they might not yet have been decremented.

Change-Id: I6dec4e89ecfa1bd4f67a0f09c4345cc1136dcb49
Reviewed-on: http://review.couchbase.org/20359
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

4930e3ea16-Aug-2012 Aliaksey Kandratsenka <alk@tut.by>

MB-100: got rid of max_dbs_open

Because we don't need it at all.

Change-Id: I3f384d284e619476a58df41e3ead31c43026bad0
Reviewed-on: http://review.couchbase.org/19737
Tested-b

MB-100: got rid of max_dbs_open

Because we don't need it at all.

Change-Id: I3f384d284e619476a58df41e3ead31c43026bad0
Reviewed-on: http://review.couchbase.org/19737
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

b935f38e25-Jun-2012 Chris Anderson <jchris@couchbase.com>

CBD-456 Separate document body and meta arguments to map function

Sends non-JSON values as byte arrays for the 'doc' argument.
Numbers and ascii text can be decoded trivially from this c

CBD-456 Separate document body and meta arguments to map function

Sends non-JSON values as byte arrays for the 'doc' argument.
Numbers and ascii text can be decoded trivially from this capability,
extending our support for legacy applications.

The document JSON format on the wire for bulk docs operations
now looks like this:

{
"json":{"user":"data","_anything":"goes"},
"meta":{"id":"mydocid"}
}

Or like this:

{
"base64":"bXliYXNlNjRiaW5hcnlkYXRh",
"meta":{"id":"mydocid"}
}

There can be additional data in the metadata object. Specification is on
the Jira ticket.

This change off support for _id lookups in include_docs queries, although
with server level include docs going away as well, this change should
be of little consequence. Include_docs is not removed as it is used
heavily by tests, in the future it will be renamed to x_include_docs
across both tests and query parser, in order to reflect the non-
supported nature.

Ticket with the specifications documentation:
http://www.couchbase.com/issues/browse/CBD-456

Admin UI and ns_server changes are in this change:
http://review.couchbase.org/#change,18028

Depends on this change in testrunner for view tests:
http://review.couchbase.org/#change,17768

Squashed in an old patch: http://review.couchbase.org/#change,18111

TODO: EP engine doesn't need to check for _fields when setting JSON
flag. This can be accomplished in a future patch.

Related issue (not addressed by this patch): views and _all_docs
output (as well as XDCR JSON format) needs to understand non-UTF8
keys: http://www.couchbase.com/issues/browse/CBD-453

Change-Id: I0fc2364b16251f74bb53c9e6a185046b0ae68791
Reviewed-on: http://review.couchbase.org/18992
Reviewed-by: Chris Anderson <jchris@couchbase.com>
Tested-by: Chris Anderson <jchris@couchbase.com>

show more ...

79c3607429-Jul-2012 Filipe David Borba Manana <fdmanana@apache.org>

MB-100 Add missing test file flush calls

Causing sporadic failures on slower hardware (buildbot).

Change-Id: If80b18fde81e6545d84db6c9d0bc5d6deee53bfc
Reviewed-on: http://review

MB-100 Add missing test file flush calls

Causing sporadic failures on slower hardware (buildbot).

Change-Id: If80b18fde81e6545d84db6c9d0bc5d6deee53bfc
Reviewed-on: http://review.couchbase.org/19003
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

fc1d11d503-Jul-2012 Filipe David Borba Manana <fdmanana@apache.org>

MB-5768 Fix make target 'dist'

Change-Id: I5bd03434279641cd83af1c82fa1cbba3b7c1f953
Reviewed-on: http://review.couchbase.org/17841
Reviewed-by: Volker Mische <volker.mische@gmail.com

MB-5768 Fix make target 'dist'

Change-Id: I5bd03434279641cd83af1c82fa1cbba3b7c1f953
Reviewed-on: http://review.couchbase.org/17841
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

2222edf002-Jul-2012 Filipe David Borba Manana <fdmanana@apache.org>

CBD-417 Ability to skip btree branches when folding it

Based on the reduction value of a non-leaf node and a user
callback, it's now possible to skip entire btree branches
efficientl

CBD-417 Ability to skip btree branches when folding it

Based on the reduction value of a non-leaf node and a user
callback, it's now possible to skip entire btree branches
efficiently.

Change-Id: Icb8cfae75b6c8e6dc07cdf8c8fc41fb04f87e135
Reviewed-on: http://review.couchbase.org/17812
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...

767de84e12-Jun-2012 Filipe David Borba Manana <fdmanana@apache.org>

CBD-32 Faster view merging and parsing

Change-Id: Ic80456651dc25baead3b24c74bd731a15f245548
Reviewed-on: http://review.couchbase.org/17464
Reviewed-by: Volker Mische <volker.mische@g

CBD-32 Faster view merging and parsing

Change-Id: Ic80456651dc25baead3b24c74bd731a15f245548
Reviewed-on: http://review.couchbase.org/17464
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...

99e3aaac12-Jun-2012 Filipe David Borba Manana <fdmanana@apache.org>

MB-100 Add missing file flush calls to test/etap/022-btree-copy.t

Change-Id: Ib25b0b9dcf9cd4d2d91e7d86b8efc2e0c9ad2a00
Reviewed-on: http://review.couchbase.org/17118
Tested-by: build

MB-100 Add missing file flush calls to test/etap/022-btree-copy.t

Change-Id: Ib25b0b9dcf9cd4d2d91e7d86b8efc2e0c9ad2a00
Reviewed-on: http://review.couchbase.org/17118
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

04fae92431-May-2012 Filipe David Borba Manana <fdmanana@apache.org>

CBD-312 Move view merger source into separate directory

The goal here is to provide better organization and easy
the build process for the upcoming changes for CBD-32.

Change-Id

CBD-312 Move view merger source into separate directory

The goal here is to provide better organization and easy
the build process for the upcoming changes for CBD-32.

Change-Id: Ia0c91b865254a7fdded8a2ca374b1b32343d3142
Reviewed-on: http://review.couchbase.org/16586
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

3911620c02-May-2012 Aaron Miller <apage43@ninjawhale.com>

CBD-45 Use couchstore compactor

Change-Id: Id66cccb3873bb40d2d594f5148f19244e07b5b3d
Reviewed-on: http://review.couchbase.org/15585
Tested-by: buildbot <build@couchbase.com>
Revi

CBD-45 Use couchstore compactor

Change-Id: Id66cccb3873bb40d2d594f5148f19244e07b5b3d
Reviewed-on: http://review.couchbase.org/15585
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>

show more ...

d6f2743527-May-2012 Filipe David Borba Manana <fdmanana@apache.org>

CBD-294 Simplify/cleanup httpd layer for performance

Removed all the features not used in Couchbase Server
(vhosts, url rewriting, access log, etc).
These were increasing, very signi

CBD-294 Simplify/cleanup httpd layer for performance

Removed all the features not used in Couchbase Server
(vhosts, url rewriting, access log, etc).
These were increasing, very significantly, query response
times/latencies.

Tests repeated on Linux and Mac OS X, 2 and 4 nodes clusters,
with evperf and the erlang script view_query_perf.

Some sample results with view_query_perf below.

$ ./run --queries 25000 --workers 1 --query-url 'http://localhost:9500/default/_design/test2/_view/view1?limit=10' --output-times before
Spawning 1 workers, each will perform 25000 view queries
View query URL is: http://localhost:9500/default/_design/test2/_view/view1?limit=10

Waiting for workers to finish...

All workers finished. Final statistics are:

Average response time: 6.4329149200000275ms
Highest response time: 168.963ms
Lowest response time: 5.382ms
Response time std dev: 1.4596464282289152ms
# of errors: 0

Saving query response times to file before

$ ./run --queries 25000 --workers 1 --query-url 'http://localhost:9500/default/_design/test2/_view/view1?limit=10' --output-times after
Spawning 1 workers, each will perform 25000 view queries
View query URL is: http://localhost:9500/default/_design/test2/_view/view1?limit=10

Waiting for workers to finish...

All workers finished. Final statistics are:

Average response time: 5.704996960000008ms
Highest response time: 161.67ms
Lowest response time: 4.836ms
Response time std dev: 1.463934100590158ms
# of errors: 0

Saving query response times to file after

$ cat before | perl -MStatistics::Histogram -e '@data = <>; chomp @data; print get_histogram(\@data);'
Count: 25000
Range: 5.382 - 168.963; Mean: 6.433; Median: 6.310; Stddev: 1.460
Percentiles: 90th: 6.987; 95th: 7.342; 99th: 8.240
5.382 - 7.861: 24472 #####################################################
7.861 - 11.304: 486 #
11.304 - 16.083: 28 |
16.083 - 22.720: 3 |
22.720 - 31.935: 7 |
31.935 - 44.729: 1 |
44.729 - 87.161: 1 |
87.161 - 121.409: 1 |
121.409 - 168.963: 1 |

$ cat after | perl -MStatistics::Histogram -e '@data = <>; chomp @data; print get_histogram(\@data);'
Count: 25000
Range: 4.836 - 161.670; Mean: 5.705; Median: 5.602; Stddev: 1.464
Percentiles: 90th: 6.191; 95th: 6.499; 99th: 7.333
4.836 - 7.140: 24633 #####################################################
7.140 - 10.354: 336 #
10.354 - 14.837: 24 |
14.837 - 29.811: 3 |
29.811 - 41.976: 1 |
41.976 - 58.945: 1 |
58.945 - 161.670: 2 |

Change-Id: I7c029c334df5b2322837e1b213efabe4818b0361
Reviewed-on: http://review.couchbase.org/16460
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

e651f9cf11-May-2012 Filipe David Borba Manana <fdmanana@apache.org>

CBD-104 Checkpoint indexing progress in the updater

When building/updating an index, do the checkpoints (header writes)
through the updater process, and only send a new group snapshot

CBD-104 Checkpoint indexing progress in the updater

When building/updating an index, do the checkpoints (header writes)
through the updater process, and only send a new group snapshot
when a checkpoint is performed (every 5 seconds). This reduces
contention in the main view group process and avoids the overhead
of copying group snapshot terms after every batch is written to
the index.

Change-Id: I4af0b5c7be076bc41313e1593969bb4b0d5a59d2
Reviewed-on: http://review.couchbase.org/15914
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

ad151b0511-Apr-2012 Filipe David Borba Manana <fdmanana@apache.org>

More efficient index partition state transitions

If a request to make one (or more) partitions active/passive comes
and the partition is still under cleanup, don't block the caller
u

More efficient index partition state transitions

If a request to make one (or more) partitions active/passive comes
and the partition is still under cleanup, don't block the caller
until the cleanup finishes. Instead reply immediately to caller and
apply the requested state transition later. This new approach
also offers more chances of avoiding unnecessary transitions/IO if
the caller later asks to cleanup the partition that it previously
asked to mark as active/passive and before this later transition
got applied.

This new behaviour, like the old behaviour, also guarantees that if
the caller gets a positive reply, there's no state information loss
if the server crashes after replying to the caller. The pending state
transition is written to the index header and fsync'ed before replying
to the caller.

Change-Id: I0704d66a33856e540e50f2f4f14f623e881acbe7
Reviewed-on: http://review.couchbase.org/14765
Tested-by: buildbot <build@couchbase.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Damien Katz <damien@couchbase.com>

show more ...

ce625bf705-Apr-2012 Filipe David Borba Manana <fdmanana@apache.org>

Remove test test/etap/220-compaction-daemon.t

Not useful. Couchbase Server uses another compaction daemon
module which is part of ns_server component.

Change-Id: Ib7bd5d41c93d9a

Remove test test/etap/220-compaction-daemon.t

Not useful. Couchbase Server uses another compaction daemon
module which is part of ns_server component.

Change-Id: Ib7bd5d41c93d9add7fb0491ec43ecf761a9f0c1c
Reviewed-on: http://review.couchbase.org/14599
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...

b852af0905-Apr-2012 Filipe David Borba Manana <fdmanana@apache.org>

Remove ibrowse library

This is not needed anymore, lhttpc is now used everywhere else.

Change-Id: I4cdd3a023a514e4495c8ce3cb7538e9b1fcb88ac
Reviewed-on: http://review.couchbase.

Remove ibrowse library

This is not needed anymore, lhttpc is now used everywhere else.

Change-Id: I4cdd3a023a514e4495c8ce3cb7538e9b1fcb88ac
Reviewed-on: http://review.couchbase.org/14598
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...

8604405c05-Apr-2012 Filipe David Borba Manana <fdmanana@apache.org>

Remove couch_httpd_proxy

This is not used for Couchbase Server, and would need
some work in order to make it use lhttpc instead of
ibrowse.

Change-Id: Ib83cdb45826ecc1afdddd

Remove couch_httpd_proxy

This is not used for Couchbase Server, and would need
some work in order to make it use lhttpc instead of
ibrowse.

Change-Id: Ib83cdb45826ecc1afdddd328d6d5656c8dfc364e
Reviewed-on: http://review.couchbase.org/14578
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...

7a63d76f05-Apr-2012 Filipe David Borba Manana <fdmanana@apache.org>

Replicator now uses lhttpc instead of ibrowse

Change-Id: I9c920c8b350c8d2234253103696eb4b16b981527
Reviewed-on: http://review.couchbase.org/14577
Tested-by: buildbot <build@couchbase

Replicator now uses lhttpc instead of ibrowse

Change-Id: I9c920c8b350c8d2234253103696eb4b16b981527
Reviewed-on: http://review.couchbase.org/14577
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...

5a3fdc9305-Apr-2012 Filipe David Borba Manana <fdmanana@apache.org>

Add lhttpc, a lightweight HTTP client library

Change-Id: I4a42e7d5c690b53a257e60bd804bb5a3a75caa20
Reviewed-on: http://review.couchbase.org/14576
Tested-by: buildbot <build@couchbase

Add lhttpc, a lightweight HTTP client library

Change-Id: I4a42e7d5c690b53a257e60bd804bb5a3a75caa20
Reviewed-on: http://review.couchbase.org/14576
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...

e109f76305-Apr-2012 Filipe David Borba Manana <fdmanana@apache.org>

Add missing flush call to test/etap/010-file-basics.t

Change-Id: I64d78f48f78591a887c0fd24cd9f11301cd3bd89
Reviewed-on: http://review.couchbase.org/14584
Tested-by: Damien Katz <dami

Add missing flush call to test/etap/010-file-basics.t

Change-Id: I64d78f48f78591a887c0fd24cd9f11301cd3bd89
Reviewed-on: http://review.couchbase.org/14584
Tested-by: Damien Katz <damien@couchbase.com>
Reviewed-by: Damien Katz <damien@couchbase.com>

show more ...

7a9bd63e23-Feb-2012 Damien Katz <damien@couchbase.com>

New storage file format that uses no erlang terms.

For better integration with Couchstore, the core storage engine
no longer uses Erlang terms for persisting data to disk, but instead

New storage file format that uses no erlang terms.

For better integration with Couchstore, the core storage engine
no longer uses Erlang terms for persisting data to disk, but instead
uses a pure binary format that is more easily used non-erlang storage
libraries, so that they no longer have any dependencies on Erlang term
conversion.

Change-Id: I121885b487d71966672a8f2a1e86875effcd3842
Reviewed-on: http://review.couchbase.org/13557
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...

eaa3f3be20-Mar-2012 Filipe David Borba Manana <fdmanana@apache.org>

Use new MapReduce component everywhere

This removes the need for CouchJS, and therefore to link against
Spidermonkey, to use plain old couch views and for rereducing
values when doin

Use new MapReduce component everywhere

This removes the need for CouchJS, and therefore to link against
Spidermonkey, to use plain old couch views and for rereducing
values when doing view merging.

Change-Id: I9d1f4d749d490ac3fd33db4d74b9e5e69b6908c1
Reviewed-on: http://review.couchbase.org/14112
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...

c065fadf10-Mar-2012 Filipe David Borba Manana <fdmanana@apache.org>

Make set view component use the V8 based MapReduce subsystem

Change-Id: I90b26eeb78f50a6bac4f71e7ff90cbe0e92b8f42
Reviewed-on: http://review.couchbase.org/13857
Reviewed-by: Damien K

Make set view component use the V8 based MapReduce subsystem

Change-Id: I90b26eeb78f50a6bac4f71e7ff90cbe0e92b8f42
Reviewed-on: http://review.couchbase.org/13857
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...

25cb7b1c29-Feb-2012 Filipe David Borba Manana <fdmanana@apache.org>

Avoid function_clause error for queries with ?debug=true

When merging the results of the local main and replica indexes
and the query has ?debug=true, the merge would fail with a
fun

Avoid function_clause error for queries with ?debug=true

When merging the results of the local main and replica indexes
and the query has ?debug=true, the merge would fail with a
function_clause error. The solution is just to ignore debug
information in the callback used by the view merger.
We're only interested in the debug information from the view
merging step done at a higher level (multiple nodes, triggered
by ns_server).

Change-Id: I16778154a415b39ce308cbdb5cf7b401da8f66ca
Reviewed-on: http://review.couchbase.org/13677
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

3824027b25-Feb-2012 Damien Katz <damien@couchbase.com>

Flush headers to disk, fix sporadic test failures

Production code keeps headers in memory, but the tests needs them
flushed to ensure to proper external write testing, which reads them b

Flush headers to disk, fix sporadic test failures

Production code keeps headers in memory, but the tests needs them
flushed to ensure to proper external write testing, which reads them back
from disk.

Change-Id: Id97491766efe08ac840b0971abfe7e2ba52c7a76
Reviewed-on: http://review.couchbase.org/13616
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Damien Katz <damien@couchbase.com>
Reviewed-by: Damien Katz <damien@couchbase.com>

show more ...

3da5e64925-Feb-2012 Damien Katz <damien@couchbase.com>

Fix to allow compaction of files updated externally

Previous commit prevents writing to files, but breaks compaction.

Change-Id: I7980de408348ef3a6fbe44505387dca48d96cf1b
Review

Fix to allow compaction of files updated externally

Previous commit prevents writing to files, but breaks compaction.

Change-Id: I7980de408348ef3a6fbe44505387dca48d96cf1b
Reviewed-on: http://review.couchbase.org/13608
Tested-by: Damien Katz <damien@couchbase.com>
Reviewed-by: Damien Katz <damien@couchbase.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

12345678910>>...15