History log of /2.1.1/couchdb/ (Results 1 - 25 of 3270)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: v4.6.0, v4.5.0, 2.1.1r
1969a70007-Jun-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-8357 Don't merge view log files

During the view compaction retry phase, don't merge the
log files, as these can result in stale and no longer valid
KV pairs in the view btrees in

MB-8357 Don't merge view log files

During the view compaction retry phase, don't merge the
log files, as these can result in stale and no longer valid
KV pairs in the view btrees in some circumstances.

This issue happens only when during the initial view compaction
phase multiple view updates happen, each update gets a new
version of the same documents and each document version produces
a different key than before. Because btree operations are sorted
by key and then by operation (insert or remove), this results
in stale (no longer valid) and current KV pairs to end up in view
btrees. For example, lets say there's 2 log files for a view btree,
each with the following contents:

File 1: [ {insert, {Key1, DocId_A}, Value1} ]
File 2: [ {remove, {Key1, DocId_A}}, {insert, {Key2, DocId_A}, Value2} ]

After those 2 files are merged, we ended up with a file having the
following operations:

[ {remove, {Key1, DocId_A}}, {insert, {Key1, DocId_A}, Value1}, {insert, {Key2, DocId_A}, Value2} ]

Which would cause the corresponding view btree to have stale data
besides current and valid data.

Change-Id: I19a71bfa7dd754376500361b1ea76afb57e22ece
Reviewed-on: http://review.couchbase.org/26821
Reviewed-by: Chris Anderson <jchris@couchbase.com>
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...

Revision tags: 2.1.0r
db9f48e904-Jun-2013 Phil Labee <philip@couchbase.com>

2.1.0 branch at build 2.0.2-824

Change-Id: I1028097de25635a1684f9567faffe991a79e898e
Reviewed-on: http://review.couchbase.org/26701
Reviewed-by: Philip Labee <philip@couchbase.com>

2.1.0 branch at build 2.0.2-824

Change-Id: I1028097de25635a1684f9567faffe991a79e898e
Reviewed-on: http://review.couchbase.org/26701
Reviewed-by: Philip Labee <philip@couchbase.com>
Tested-by: Philip Labee <philip@couchbase.com>

show more ...


33abbffb03-Jun-2013 Aaron Miller <apage43@ninjawhale.com>

Revert "MB-8348: implemented option for compactor's --evict flag"

This reverts commit fd5240abb641f8c636d879abc3872968f78a2d73.

Change-Id: I274a5177805c15d65d03a6ee6f0a80e641c82548

Revert "MB-8348: implemented option for compactor's --evict flag"

This reverts commit fd5240abb641f8c636d879abc3872968f78a2d73.

Change-Id: I274a5177805c15d65d03a6ee6f0a80e641c82548
Reviewed-on: http://review.couchbase.org/26679
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Aaron Miller <apage43@ninjawhale.com>

show more ...

842f0fb331-May-2013 Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>

MB-7058 Don't create /var/{log,lib,run}/couchdb directories.

Change-Id: If3ff61ec7131392548809689f96b09dfa08febd6
Reviewed-on: http://review.couchbase.org/26648
Tested-by: Aliaksey A

MB-7058 Don't create /var/{log,lib,run}/couchdb directories.

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

show more ...

Revision tags: 2.0.2r
fd5240ab24-May-2013 Aliaksey Kandratsenka <alk@tut.by>

MB-8348: implemented option for compactor's --evict flag

Change-Id: I505a21e2e1d8a517c4cd47de02fa82b6c8199874
Reviewed-on: http://review.couchbase.org/26526
Reviewed-by: Filipe David

MB-8348: implemented option for compactor's --evict flag

Change-Id: I505a21e2e1d8a517c4cd47de02fa82b6c8199874
Reviewed-on: http://review.couchbase.org/26526
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Aaron Miller <apage43@ninjawhale.com>
Tested-by: Aaron Miller <apage43@ninjawhale.com>

show more ...

3d9a23c417-May-2013 Bin Cui <bin.cui@gmail.com>

MB-8010: update couchbase logo

Change-Id: I48df0ab2a53b859b67ea2126bdd4d846e749cbee
Reviewed-on: http://review.couchbase.org/26369
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Tested

MB-8010: update couchbase logo

Change-Id: I48df0ab2a53b859b67ea2126bdd4d846e749cbee
Reviewed-on: http://review.couchbase.org/26369
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>

show more ...

586e4bb717-Apr-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-8109 Set pending transition for outdated updater groups

This was missing in MB-7522, commit ac82c60302422747e8804d566211a20684ec78fb.

Change-Id: I7a17b90b0aa4500956661fcd468e4978

MB-8109 Set pending transition for outdated updater groups

This was missing in MB-7522, commit ac82c60302422747e8804d566211a20684ec78fb.

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

show more ...

390eb78402-Apr-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-7989 Add missing check for pending transition's contents

If a partition is requested to move into the active or passive
state and it's currently already in that desired state and

MB-7989 Add missing check for pending transition's contents

If a partition is requested to move into the active or passive
state and it's currently already in that desired state and
marked as unindexable, check if it's already in that state
in the pending transition as well - when it is, don't raise
an error, just accept it as it's a noop.

This fixes commit 01d7e11255f8fb2d984604e2383b5b88c5e0a507 and
adds a specific test for this case.

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

show more ...

94d2593a28-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-7978 Remove list reversal

Missed in commit 912b8667560a275a652a2ff0d9d9264ed38e9328.
Just a mirror of couch_set_view_mapreduce.erl until
development views, single partition, use s

MB-7978 Remove list reversal

Missed in commit 912b8667560a275a652a2ff0d9d9264ed38e9328.
Just a mirror of couch_set_view_mapreduce.erl until
development views, single partition, use set views.

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

show more ...

656c1bf328-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

Remove --check_plt flag passed to dialyzer

Accidently added in 88623b53aa94bd4ce8293b9c5c71f9578e9fc816.

Change-Id: Ic77c4a635bbf8cd2ffce75294aeec499d4c0d041
Reviewed-on: http:/

Remove --check_plt flag passed to dialyzer

Accidently added in 88623b53aa94bd4ce8293b9c5c71f9578e9fc816.

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

show more ...

02278c4728-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-7882 Binary optimize remove_block_prefixes/2

Using the +bin_opt_info flag, the Erlang compiler told the
remove_block_prefixes/2 function was not binary optimized:

/opt/r14b04

MB-7882 Binary optimize remove_block_prefixes/2

Using the +bin_opt_info flag, the Erlang compiler told the
remove_block_prefixes/2 function was not binary optimized:

/opt/r14b04/bin/erlc -I../../src +bin_opt_info couch_file.erl;
./couch_file.erl:564: Warning: INFO: matching anything else but a plain variable to the left of binary pattern will prevent delayed sub binary optimization; SUGGEST changing argument order

After this change, the compiler now tells us it is optimized:

/opt/r14b04/bin/erlc -I../../src +bin_opt_info couch_file.erl;
./couch_file.erl:564: Warning: OPTIMIZED: creation of sub binary delayed
./couch_file.erl:570: Warning: OPTIMIZED: creation of sub binary delayed

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

show more ...

a4be7e1928-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-7882 Optimize btree node decoding

Using the +bin_opt_info flag, the Erlang compiler told the
decode function was not binary optimized:

/opt/r14b04/bin/erlc -I../../src +bin_o

MB-7882 Optimize btree node decoding

Using the +bin_opt_info flag, the Erlang compiler told the
decode function was not binary optimized:

/opt/r14b04/bin/erlc -I../../src +bin_opt_info couch_btree.erl;
./couch_btree.erl:70: Warning: NOT OPTIMIZED: sub binary used by binary:copy/1
./couch_btree.erl:433: Warning: NOT OPTIMIZED: called function decode_node/3 does not begin with a suitable binary matching instruction
./couch_btree.erl:442: Warning: NOT OPTIMIZED: called function decode_node/3 does not begin with a suitable binary matching instruction

After this change, the compiler tells it is now optimized:

/opt/r14b04/bin/erlc -I../../src +bin_opt_info couch_btree.erl;
./couch_btree.erl:73: Warning: NOT OPTIMIZED: sub binary used by binary:copy/1
./couch_btree.erl:436: Warning: OPTIMIZED: creation of sub binary delayed
./couch_btree.erl:447: Warning: OPTIMIZED: creation of sub binary delayed

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

show more ...

912b866727-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-7978 Fixes to view tree with multiple reducers

A view tree with multiple reducers where not all of them
are native (_count, _sum, _stats) or custom (JavaScript)
was not working an

MB-7978 Fixes to view tree with multiple reducers

A view tree with multiple reducers where not all of them
are native (_count, _sum, _stats) or custom (JavaScript)
was not working anymore since the termless storage format,
and it became undetected for so long due to the fact that
old JavaScript testsuite (Futon) was removed (commit
304cbbd93400abfcb07ca70eecb4e1ccf3f3b485) and no equivalent
etap tests existed.

A view tree with multiple reducers only exists when 2 or
more views in the same design document have exactly the same
map function, on a byte by byte basis, and different reduce
functions (builtin or custom).

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

show more ...

fbb7831027-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

Log decoded KV list on reduce failure

So that we don't need to decode it when debugging failures.
This was not the case before support for termless format
storage was added.

Log decoded KV list on reduce failure

So that we don't need to decode it when debugging failures.
This was not the case before support for termless format
storage was added.

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

show more ...

b2549c8d27-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-7882 Simple btree optimizations

This change removes some inefficiencies in the btree module:

1) Building unnecessary tuples when the extract and assemble
functions are the

MB-7882 Simple btree optimizations

This change removes some inefficiencies in the btree module:

1) Building unnecessary tuples when the extract and assemble
functions are the default ones (as is the case for views).
For this case, just don't build any tuples nor do any
assemble/extract function calls;

2) Traversing a list of KVs and applying the assemble function
to build a new list - this is waste of time and cpu when
the assemble function is the default one (as in the case for
views);

3) Traversing the same list 2 times and reversing an accumulator
when encoding a kp node. This can be done in a single pass
with the list comprehension expression and avoiding the need
to keep a list accumulator and reverse it at the end.

This was found it profiling data from fprof. Nearly no impact on
view updates (due to existing pipelining), however view compaction
had gains of about 6% regarding time. Very small impact as well
on query response time.

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

show more ...

88623b5327-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

Change dialyzer file path

So that it guarantees there's no dialyzer plt file versioning
issues when the same bot is used to run dialyzer for different
branches of couchdb.

C

Change dialyzer file path

So that it guarantees there's no dialyzer plt file versioning
issues when the same bot is used to run dialyzer for different
branches of couchdb.

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

show more ...

a104cbfc07-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

CBD-790 Build and run on Erlang OTP R16B

Upgraded mochiweb to version 2.4.2, so that it doesn't
require parametrized modules (removed from R16B) and
remove the unused etap_web and et

CBD-790 Build and run on Erlang OTP R16B

Upgraded mochiweb to version 2.4.2, so that it doesn't
require parametrized modules (removed from R16B) and
remove the unused etap_web and etap_request modules,
because they used parametrized modules.

This change still allows to build and run with Erlang
versions R14x and R15x.

Change-Id: Ib108468334b08aa0a29605d22c28a347fb5577d5
Reviewed-on: http://review.couchbase.org/25265
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...

24d1a7a315-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

Revert "MB-7569 Ignore eacces errors on delete dir init"

This reverts commit dc873ddd49d011dd927a847212aa25c71f5ad69b.
Turns out to be a problem, found in MB-7772, and was not really

Revert "MB-7569 Ignore eacces errors on delete dir init"

This reverts commit dc873ddd49d011dd927a847212aa25c71f5ad69b.
Turns out to be a problem, found in MB-7772, and was not really
a solution for the problem, but more of a workaround to reduce
the frequency of the issue. CBD-790 is the ultimate solution.

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

show more ...

Revision tags: 2.0.1-linux
891668bf16-Jan-2013 Trond Norbye <trond.norbye@gmail.com>

[bp] CBD-774: Add support for automake 1.13

Change-Id: I881af884d4d2bd383a18f9c81099c2e5e7411c14
Original-Reviewed-on: http://review.couchbase.org/23969
Reviewed-on: http://review.co

[bp] CBD-774: Add support for automake 1.13

Change-Id: I881af884d4d2bd383a18f9c81099c2e5e7411c14
Original-Reviewed-on: http://review.couchbase.org/23969
Reviewed-on: http://review.couchbase.org/25180
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

37acc04307-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-7882 No id btree lookups for dynamically added partitions

If a partition is dynamically added to the updater while
it's running, add it to the list of new partitions, so
that id b

MB-7882 No id btree lookups for dynamically added partitions

If a partition is dynamically added to the updater while
it's running, add it to the list of new partitions, so
that id btree lookups aren't performed for documents
comming from that partition - just like what is done for
new partitions that were added before the updater started.

This only has impact under high memory pressure scenarios,
because the same btree nodes will end up being visited
later by the pipeline stage which updates the btree.

This should have been included as part of the MB-7522,
commit ac82c60302422747e8804d566211a20684ec78fb:

"Optimize index state transitions (rebalance)"

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

show more ...

c02fc33e06-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-7873 Ensure blocked indexer tasks die if updater dies

If the updater process dies (shutdown by view group for e.g.),
ensure the corresponding blocked indexer active task will die

MB-7873 Ensure blocked indexer tasks die if updater dies

If the updater process dies (shutdown by view group for e.g.),
ensure the corresponding blocked indexer active task will die
as well. This is ensured by keeping both processes linked all
the time.

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

show more ...

2995b40f29-Jan-2013 Filipe David Borba Manana <fdmanana@apache.org>

More precise compaction time calculation

When measuring the duration of view compaction, account for
the initial step of coordinating with the updater if the
updater is running in pa

More precise compaction time calculation

When measuring the duration of view compaction, account for
the initial step of coordinating with the updater if the
updater is running in parallel. Normally this is very fast,
but for some edge cases it can take a significant amount of
time, as it did in MB-7280 (Windows environment).

Change-Id: I666c0d418c6eeda14fee92a89dc2b599b1b48355
Reviewed-on: http://review.couchbase.org/24255
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-on: http://review.couchbase.org/25013
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...

441cd50f06-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

Simplify max seq numbers calculation

Merging 2 lists of sequence numbers (by maximum) is
already performed by the function process_map_results/3.

Change-Id: I1728dc55ce2a34d3c14

Simplify max seq numbers calculation

Merging 2 lists of sequence numbers (by maximum) is
already performed by the function process_map_results/3.

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

show more ...

30a784ea06-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

Remove no longer used checkpoint logic

This is not longer useful as of MB-7413. After each large batch
is applied a checkpoint is always performed.

Change-Id: I203c6192b9e2a763c

Remove no longer used checkpoint logic

This is not longer useful as of MB-7413. After each large batch
is applied a checkpoint is always performed.

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

show more ...

1821deeb01-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-7467 Reset task start time after being interrupted

So that there's no re-attempt to terminate an idle isolate
if the same mapreduce context is not re-used within the
next terminat

MB-7467 Reset task start time after being interrupted

So that there's no re-attempt to terminate an idle isolate
if the same mapreduce context is not re-used within the
next termination period.

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

show more ...

12345678910>>...131