History log of /5.5.2/couchdb/test/python/ (Results 1 - 25 of 44)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: v4.6.0, v4.5.0
dc00c4ee08-Apr-2014 Trond Norbye <trond.norbye@gmail.com>

Remove obsolete Makefile.am

We don't use GNU automake anymore

Change-Id: I52d6a2f7d0e3d6105d9d77ef1a26b17d1f6c539d
Reviewed-on: http://review.couchbase.org/35450
Tested-by:

Remove obsolete Makefile.am

We don't use GNU automake anymore

Change-Id: I52d6a2f7d0e3d6105d9d77ef1a26b17d1f6c539d
Reviewed-on: http://review.couchbase.org/35450
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

c6a2900617-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Build using CMake

Change-Id: If0f29acdd08ff8b148a5362f3a6fb4d6a5be901c
Reviewed-on: http://review.couchbase.org/32799
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: T

Build using CMake

Change-Id: If0f29acdd08ff8b148a5362f3a6fb4d6a5be901c
Reviewed-on: http://review.couchbase.org/32799
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

Revision tags: 2.1.1r, 2.1.0r, 2.0.2r, 2.0.1-linux, 2.0.0-couchbase
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 ...

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 ...

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 ...

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 ...

7ac246f118-Feb-2012 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

MB-4800 Handle view queries with limit=0.

Change-Id: I49ea3e381a5ce352103442a2fc38014f309980c1
Reviewed-on: http://review.couchbase.org/13346
Tested-by: Aliaksey Artamonau <aliaksiej

MB-4800 Handle view queries with limit=0.

Change-Id: I49ea3e381a5ce352103442a2fc38014f309980c1
Reviewed-on: http://review.couchbase.org/13346
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>

show more ...

5f2c52f114-Feb-2012 Filipe David Borba Manana <fdmanana@apache.org>

Fix map view queries with ?include_docs=true

The test view_merge.py was not detecting the error.
Remember: verify the length of the rows array received.

Change-Id: Ibda7b07411b1

Fix map view queries with ?include_docs=true

The test view_merge.py was not detecting the error.
Remember: verify the length of the rows array received.

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

show more ...

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

Add # inserted/deleted KVs/IDs to updater stats

These are now kept in the view group's stats and
accessible when querying the view group with
?debug=true.

Change-Id: Icbadcd

Add # inserted/deleted KVs/IDs to updater stats

These are now kept in the view group's stats and
accessible when querying the view group with
?debug=true.

Change-Id: Icbadcd7117db9873cd9a3f73d4f81130df2ad2f7
Reviewed-on: http://review.couchbase.org/12998
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: buildbot <qe@couchbase.com>

show more ...

b08417ae31-Jan-2012 Filipe David Borba Manana <fdmanana@apache.org>

Show partition IDs for map view queries with ?debug=true

Change-Id: I4558c635a1fc53e4181833592edde578c94f1b63
Reviewed-on: http://review.couchbase.org/12818
Tested-by: buildbot <qe@c

Show partition IDs for map view queries with ?debug=true

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

show more ...

2c1469d830-Jan-2012 Filipe David Borba Manana <fdmanana@apache.org>

Add ?debug=true paramater to merged views

Example output:

{
"rows": [
{
"key": null,
"value": 100020000
}
],

Add ?debug=true paramater to merged views

Example output:

{
"rows": [
{
"key": null,
"value": 100020000
}
],
"debug_info": {
"http://localhost:5984/_view_merge/": {
"active_partitions": [
0,
1,
2,
3
],
"cleanup_partitions": [],
"indexed_seqs": {
"0000": 1250,
"0001": 1250,
"0002": 1250,
"0003": 1250
},
"original_active_partitions": [
0,
1,
2,
3
],
"original_passive_partitions": [],
"passive_partitions": [],
"stats": {
"cleanup_history": [],
"cleanup_stops": 0,
"cleanups": 0,
"compaction_history": [],
"compactions": 0,
"update_history": [
{
"duration": 0.803463
}
],
"updater_stops": 0,
"updates": 1
}
},
"local": {
"active_partitions": [
0,
1,
2,
3
],
"cleanup_partitions": [],
"indexed_seqs": {
"0000": 1250,
"0001": 1250,
"0002": 1250,
"0003": 1250
},
"original_active_partitions": [
0,
1,
2,
3
],
"original_passive_partitions": [],
"passive_partitions": [],
"stats": {
"cleanup_history": [],
"cleanup_stops": 0,
"cleanups": 0,
"compaction_history": [],
"compactions": 0,
"update_history": [
{
"duration": 0.851139
}
],
"updater_stops": 0,
"updates": 1
}
}
}
}

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

show more ...

4a74452917-Jan-2012 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

Use stale=update_after by default for non-spatial views.

Change-Id: I780f79233b4b6aabceb3185eaccdf670420341ce
Reviewed-on: http://review.couchbase.org/12464
Tested-by: Aliaksey Artam

Use stale=update_after by default for non-spatial views.

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

show more ...

ef2f0c9519-Jan-2012 Filipe David Borba Manana <fdmanana@apache.org>

Fix test compaction_transitions.py

After recent change such as the synchronous shutdown of the
set view compactor process, this test was failing often.
This change makes it pass and

Fix test compaction_transitions.py

After recent change such as the synchronous shutdown of the
set view compactor process, this test was failing often.
This change makes it pass and is a more reliable aproach to
find out if the compaction was running when the partition
states were updated - the compactor process is restarted
when such request is made and therefore there's a tiny
window of time where there's no task in _active_tasks.

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

show more ...

1b86ce4d05-Jan-2012 Volker Mische <vmx@couchbase.com>

Throw error when connection_timeout is a string. MB-4610

Validate the type of the connection_timeout parameter
when view merges are done.

Fixes MB-4610: view merge fails if conn

Throw error when connection_timeout is a string. MB-4610

Validate the type of the connection_timeout parameter
when view merges are done.

Fixes MB-4610: view merge fails if connection_timeout
is passed as string.

JavaScript and Python tests included.

Change-Id: I6118a190050976b79de5cdf5596c45c7f40691a8
Reviewed-on: http://review.couchbase.org/12078
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>

show more ...

502646e310-Jan-2012 Filipe David Borba Manana <fdmanana@apache.org>

Fix test view_merge.py

It should verify the length of the rows array and not rely
on the total_rows attribute. The later is always the number
of rows in the view, not necessarily the

Fix test view_merge.py

It should verify the length of the rows array and not rely
on the total_rows attribute. The later is always the number
of rows in the view, not necessarily the number of rows
returned in the response (length(rows) != total_rows).
If the view response returned 0 rows, due to an error, the
test thought we got the right anwser.

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

show more ...

ab3d83b004-Jan-2012 Filipe David Borba Manana <fdmanana@apache.org>

Hook set view tests into autotools config

Now the tests can be run from any directory, there's
no need anymore to cd into test/etap/python in order
to execute run.py.

Change

Hook set view tests into autotools config

Now the tests can be run from any directory, there's
no need anymore to cd into test/etap/python in order
to execute run.py.

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

show more ...

54e9608503-Jan-2012 Filipe David Borba Manana <fdmanana@apache.org>

Make set view tests work with Python 2.6

Previously it required at least Python 2.7, which is too
new for many GNU/Linux distributions or other environments.

Change-Id: I3b5b465

Make set view tests work with Python 2.6

Previously it required at least Python 2.7, which is too
new for many GNU/Linux distributions or other environments.

Change-Id: I3b5b465caf2c6886720701aed9974a36f4931cc6
Reviewed-on: http://review.couchbase.org/12020
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

455fd21301-Dec-2011 Filipe David Borba Manana <fdmanana@apache.org>

Add replica index support to set views

Its purpose is to reduce view access/rebuild time after
failovers in a cluster. It's an optional feature and
disabled by default.

Chan

Add replica index support to set views

Its purpose is to reduce view access/rebuild time after
failovers in a cluster. It's an optional feature and
disabled by default.

Change-Id: I8e4802aca2d65a8092be74b3db9b7eb5f2bf98d9
Reviewed-on: http://review.couchbase.org/11341
Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

7dd33bd130-Dec-2011 Damien Katz <damien@couchbase.com>

Change test script bang pattern to use python default

Change-Id: I68651e4a19f01b095c62f22ebc582da3192124dd
Reviewed-on: http://review.couchbase.org/11981
Tested-by: Filipe David Borb

Change test script bang pattern to use python default

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

show more ...

5dd1d54428-Nov-2011 Damien Katz <damien@couchbase.com>

Removal of CouchDB revision tree support for efficiency

XDCR is broken. Otherwise ready for testing.

Change-Id: I25a929e1fc66904a455c5d49c2c1cf70f6bd00d0
Reviewed-on: http://rev

Removal of CouchDB revision tree support for efficiency

XDCR is broken. Otherwise ready for testing.

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

show more ...

f14d6ce405-Dec-2011 Filipe David Borba Manana <fdmanana@apache.org>

Fix merging of set view queries with ?reduce=false

Change-Id: I49b8994dc5e7e8af8e7f036ce8a03ae92fa1a123
Reviewed-on: http://review.couchbase.org/11422
Tested-by: Filipe David Borba M

Fix merging of set view queries with ?reduce=false

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

show more ...

87420d0f11-Nov-2011 Volker Mische <vmx@couchbase.com>

Add minimum Python version error.

The test suite needs at least Python 2.7 to work
properly. If it is run with a version lower than
that, it exits and prints out a message that
v

Add minimum Python version error.

The test suite needs at least Python 2.7 to work
properly. If it is run with a version lower than
that, it exits and prints out a message that
version 2.7 or higher is needed.

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

show more ...

a235343209-Nov-2011 Volker Mische <vmx@couchbase.com>

Improve set view merging tests.

The set view merging was missing tests for reduce with certain group
levels.

Change-Id: Ic14aaa9bab39eb1882ba91cfa85d32b697ed3bb0
Reviewed-on

Improve set view merging tests.

The set view merging was missing tests for reduce with certain group
levels.

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

show more ...

12