History log of /5.5.2/couchdb/test/ (Results 76 - 100 of 373)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
fc4f6a9825-Feb-2012 Damien Katz <damien@couchbase.com>

Update the file size when updated by external writer.

Make sure that whenever we are updated by an external writer and
asked to read a new header position, we also update to the file siz

Update the file size when updated by external writer.

Make sure that whenever we are updated by an external writer and
asked to read a new header position, we also update to the file size.

Also, disable the writer to prevent couchdb from also updating the
database file, since 2 process should not write to the file.

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

show more ...

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

API to allow external process updates to file.

This will allow external processes to create and update couch files.

Change-Id: I67e88700f4295d96c51e42d95dfd96fc9e4a81a6
Reviewed

API to allow external process updates to file.

This will allow external processes to create and update couch files.

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

show more ...

ff29e13220-Feb-2012 Gerrit <gerrit@couchbase.com>

Merge branch 'branch-20dp4'

* branch-20dp4:
Fix propagation of startkey_docid/endkey_docid
Set call request_group_info timeout to infinity
Fix fold reduce with pagination

Merge branch 'branch-20dp4'

* branch-20dp4:
Fix propagation of startkey_docid/endkey_docid
Set call request_group_info timeout to infinity
Fix fold reduce with pagination
Avoid view group ref counter leak when supporting replicas

Change-Id: I04df50e0d5f1ed603d04bd05530b4bae51c76974

show more ...


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

Fix fold reduce with pagination

Paginated fold reduce, with inclusive_end=false and one
of startkey_docid or endkey_docid was producing wrong
reduce values.
For views, it ignored

Fix fold reduce with pagination

Paginated fold reduce, with inclusive_end=false and one
of startkey_docid or endkey_docid was producing wrong
reduce values.
For views, it ignored completely the doc ID component of the
keys.

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

show more ...

fab8182e18-Feb-2012 Gerrit <gerrit@couchbase.com>

Merge branch 'branch-20dp4'

* branch-20dp4:
MB-4800 Handle view queries with limit=0.

Change-Id: If70189771e9b220c676e6fb8eacfcd77123143a5


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

26f8974014-Feb-2012 Aliaksey Kandratsenka <alk@tut.by>

Merge remote-tracking branch 'couchbase/branch-20dp4' into couchdb-work

* couchbase/branch-20dp4:
Fix map view queries with ?include_docs=true

Change-Id: I2005c4dbcca7d88e4c75

Merge remote-tracking branch 'couchbase/branch-20dp4' into couchdb-work

* couchbase/branch-20dp4:
Fix map view queries with ?include_docs=true

Change-Id: I2005c4dbcca7d88e4c75cefa65ed6ffea4ea0c78

show more ...


0baa8d8308-Feb-2012 Damien Katz <damien@couchbase.com>

Making doc_info and body info simpler, for use by couchstore

Simplifying the storage to only store a single body, with content_meta
type to determine if json or raw binary (and why it's

Making doc_info and body info simpler, for use by couchstore

Simplifying the storage to only store a single body, with content_meta
type to determine if json or raw binary (and why it's not json), and if compressed.

We are now snappy compressing all persisted erlang terms, doc bodies must be
compressed in a separate step.

Removing couch_btree_nif, as we will be using a native updater in ep-engine.

Change-Id: I6822bbc271861748049bca5ebac7ca0f5fe816d4
Reviewed-on: http://review.couchbase.org/13090
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.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 ...

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

Parallelize set view tests

And becoming Aliaksey Kandratsenka's hero.

Change-Id: I54954560da29e539cc1d688cd28b9ca8539dfb17
Reviewed-on: http://review.couchbase.org/13087
Tes

Parallelize set view tests

And becoming Aliaksey Kandratsenka's hero.

Change-Id: I54954560da29e539cc1d688cd28b9ca8539dfb17
Reviewed-on: http://review.couchbase.org/13087
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Steve Yen <steve.yen@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 ...

11e28b5731-Jan-2012 Damien Katz <damien@couchbase.com>

Remove code obsoleted by versioned file names.

This code was useful before we had versioned file name extentions, now
it's unnecessary and just complicates things.

Change-Id: I3

Remove code obsoleted by versioned file names.

This code was useful before we had versioned file name extentions, now
it's unnecessary and just complicates things.

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

show more ...

8becde7631-Jan-2012 Damien Katz <damien@couchbase.com>

Remove unreliable timing based test.

Change-Id: I25fa6ce65443f1761a30c7767fdded4b7272f40a
Reviewed-on: http://review.couchbase.org/12808
Reviewed-by: Filipe David Borba Manana <fdman

Remove unreliable timing based test.

Change-Id: I25fa6ce65443f1761a30c7767fdded4b7272f40a
Reviewed-on: http://review.couchbase.org/12808
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@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 ...

1b06a65d31-Jan-2012 Damien Katz <damien@couchbase.com>

Remove revs_limit support from database and db header

Change-Id: Idc2a45a056933141c80e89ecf7368b89110162ca
Reviewed-on: http://review.couchbase.org/12804
Reviewed-by: Damien Katz <da

Remove revs_limit support from database and db header

Change-Id: Idc2a45a056933141c80e89ecf7368b89110162ca
Reviewed-on: http://review.couchbase.org/12804
Reviewed-by: Damien Katz <damien@couchbase.com>
Reviewed-by: Aaron Miller <apage43@ninjawhale.com>
Tested-by: Damien Katz <damien@couchbase.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 ...

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

Fix btree guided purge function

When the guide function asked to stop and it was in
the middle of a kp node, it would return a new kp
node with unsorted keys. This made subsequent bt

Fix btree guided purge function

When the guide function asked to stop and it was in
the middle of a kp node, it would return a new kp
node with unsorted keys. This made subsequent btree
operations to fail or have unpredictable behaviour.

This relates to MB-4518

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

show more ...

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

Make check target verbose mode optional

The verbose output is now enabled only if an
environment variable named 'ETAP_VERBOSE' is set.
For example:

$ ETAP_VERBOSE=1 make che

Make check target verbose mode optional

The verbose output is now enabled only if an
environment variable named 'ETAP_VERBOSE' is set.
For example:

$ ETAP_VERBOSE=1 make check

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

show more ...

6e6631a227-Jan-2012 Damien Katz <damien@couchbase.com>

Fix for race condition in etap test.

It's possible to main test process to test item_count before it's set by
producer process. This reorders to the ping timeout to give it 3 secs to

Fix for race condition in etap test.

It's possible to main test process to test item_count before it's set by
producer process. This reorders to the ping timeout to give it 3 secs to
complete before testing.

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

show more ...

5b60bb3a25-Jan-2012 Damien Katz <damien@couchbase.com>

Add -v option for make check etap tests for debugging.

Change-Id: Ic2b436be874dab8acd83e1181710188716ae5ba7
Reviewed-on: http://review.couchbase.org/12651
Tested-by: Farshid Ghods <f

Add -v option for make check etap tests for debugging.

Change-Id: Ic2b436be874dab8acd83e1181710188716ae5ba7
Reviewed-on: http://review.couchbase.org/12651
Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
Reviewed-by: Farshid Ghods <farshid.ghods@gmail.com>

show more ...

0511f8c504-Jan-2012 Damien Katz <damien@couchbase.com>

Storage files to use monotonically versioned numbering.

When compacting couchdb storage files, instead of renaming new files
to old filename, instead increment version by one. Example:

Storage files to use monotonically versioned numbering.

When compacting couchdb storage files, instead of renaming new files
to old filename, instead increment version by one. Example:
foo.couch.1 -> foo.couch.2 -> foo.couch.3

Old files versions are still deleted. This makes it easier to keep the file
descriptor count low, so we don't need keep Fds open to know which version of
a file is current being reference after a compaction.

Change-Id: I1e06c827736ca3f8e5b84a8a6d03947748605bcc
Reviewed-on: http://review.couchbase.org/12048
Tested-by: Farshid Ghods <farshid.ghods@gmail.com>
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Damien Katz <damien@couchbase.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 ...

0bd5d22417-Jan-2012 Damien Katz <damien@couchbase.com>

couch_file_write_guard to prevent multiple writers to the same file.

Change-Id: If36e38ce1a75e91272d21f84f9885377003ca097
Reviewed-on: http://review.couchbase.org/12423
Reviewed-by:

couch_file_write_guard to prevent multiple writers to the same file.

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

show more ...

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

Return items' byte size on work queue dequeue

Change-Id: Ied08c23c76db2e5e2a06b3079854b4f7d948273d
Reviewed-on: http://review.couchbase.org/12408
Reviewed-by: Damien Katz <damien@cou

Return items' byte size on work queue dequeue

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

show more ...

12345678910>>...15