History log of /5.5.2/couchdb/ (Results 201 - 225 of 3942)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
96f3e86108-Jan-2015 Trond Norbye <trond.norbye@gmail.com>

Remove unused files.

Change-Id: Ifdc9a884736f58bd1c243e7e587ab5f426b42924
Reviewed-on: http://review.couchbase.org/45057
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Vo

Remove unused files.

Change-Id: Ifdc9a884736f58bd1c243e7e587ab5f426b42924
Reviewed-on: http://review.couchbase.org/45057
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...

e711939216-Dec-2014 Volker Mische <vmx@couchbase.com>

Add type spec for `spawn_updater_worker/3`

Change-Id: Ib40c277e0dbf43a3f287a903d79c39528c7020ac
Reviewed-on: http://review.couchbase.org/45107
Reviewed-by: Volker Mische <volker.misc

Add type spec for `spawn_updater_worker/3`

Change-Id: Ib40c277e0dbf43a3f287a903d79c39528c7020ac
Reviewed-on: http://review.couchbase.org/45107
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Nimish Gupta <nimish@couchbase.com>

show more ...

8ba2f6d608-Jan-2015 Volker Mische <vmx@couchbase.com>

CBIDXT-255 Add compaction for spatial views

It's now possible to compact spatial views. It works in a similar way
as for the mapreduce views. If no updater is running when the compaction

CBIDXT-255 Add compaction for spatial views

It's now possible to compact spatial views. It works in a similar way
as for the mapreduce views. If no updater is running when the compaction
is started it traverses the original data and builds a tree bottom up
from it.

If the updater starts during the compaction, then the updater will preserve
the temporary files it created (normally they get deleted after a successful
run). Those files will then be used by the compactor to apply those updates
to the already compacted file. It can happen that there are several updater
runs during one compaction, then all files of an index will be merged into
a single file.

The difference between the spatial and mapreduce views is that updates from
the temporary files into the already compacted files are done from within
Erlang and not from within Couchstore (though the temporary file creation
happens within Couchstore).

Change-Id: I15a1a6ad7f0b69c3610e57d43f1be468dd213da8
Reviewed-on: http://review.couchbase.org/45106
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Nimish Gupta <nimish@couchbase.com>

show more ...

262626e612-Dec-2014 Volker Mische <vmx@couchbase.com>

MB-12903 Create spatial view from tmp files

Instead of special logic, create the spatial views from the temporary files
that are created for C-based native updater.

Change-Id: I

MB-12903 Create spatial view from tmp files

Instead of special logic, create the spatial views from the temporary files
that are created for C-based native updater.

Change-Id: I212c0d1a0110558e805accecb3a5940667d60744
Reviewed-on: http://review.couchbase.org/45082
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Nimish Gupta <nimish@couchbase.com>

show more ...

765b972316-Dec-2014 Volker Mische <vmx@couchbase.com>

Revert "MB-12712 Update file pointer correctly"

This reverts commit 4db2dd7f9d0bc623d43d3dea4b83971f88a3f7bd.

In a subsequent commit the spatial views are using the temporary
fi

Revert "MB-12712 Update file pointer correctly"

This reverts commit 4db2dd7f9d0bc623d43d3dea4b83971f88a3f7bd.

In a subsequent commit the spatial views are using the temporary
files created by the C-based native updater to update the views,
hence this commit is no longer needed. This makes things more
robust and error-prone.

Change-Id: I3f518240f423a59e746be0c8acba844275c8a9cb
Reviewed-on: http://review.couchbase.org/45081
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

b8e924fa16-Dec-2014 Volker Mische <vmx@couchbase.com>

Revert "MB-12712 Use correct spatial view information"

This reverts commit de71bf9cb03760a8d0ca8daa1e1799d541018d95.

In a subsequent commit the spatial views are using the temporary

Revert "MB-12712 Use correct spatial view information"

This reverts commit de71bf9cb03760a8d0ca8daa1e1799d541018d95.

In a subsequent commit the spatial views are using the temporary
files created by the C-based native updater to update the views,
hence this commit is no longer needed. This makes things more
robust and error-prone.

Change-Id: Iccf99bf172897dc050d0c27d036053139c84ecd8
Reviewed-on: http://review.couchbase.org/45080
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

799ada0809-Jan-2015 Trond Norbye <trond.norbye@gmail.com>

Fix build break on win32

Change-Id: Ie755056f81e365f84b1d3073d5eb99fda10cb61d
Reviewed-on: http://review.couchbase.org/45135
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Revi

Fix build break on win32

Change-Id: Ie755056f81e365f84b1d3073d5eb99fda10cb61d
Reviewed-on: http://review.couchbase.org/45135
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...

ca9e1ad106-Jan-2015 harsha <hhs.couchbase@gmail.com>

MB-11612 Fix map reduce timeouts

For long running map and reduce jobs, timeout (default 5 seconds)
was set to terminate them. A terminator thread was spawned which
wakes up after tim

MB-11612 Fix map reduce timeouts

For long running map and reduce jobs, timeout (default 5 seconds)
was set to terminate them. A terminator thread was spawned which
wakes up after timeout period and checks all active map and reduce
contexts and marks long running jobs for termination.
For jobs that are close to timeout were left to continue processing
for another time slice, thus potenitally these tasks timedout after
2 timeout slices. This is fixed by sleeping for the minimum time
slice duration calculated over all the active map reduce contexts.

Change-Id: I34a54fe98553a7b253ecc83636907555ace640be
Reviewed-on: http://review.couchbase.org/44960
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

809cee2703-Dec-2014 harsha <hhs.couchbase@gmail.com>

MB-12830 Redirect mapreduce errors to mapreduce_errors.log file

Some of the errors reported from couchstore were logged in
couchdb.log instead of mapreduce_errors.log. These errors are

MB-12830 Redirect mapreduce errors to mapreduce_errors.log file

Some of the errors reported from couchstore were logged in
couchdb.log instead of mapreduce_errors.log. These errors are
now directed to mapreduce_errors.log file.

Change-Id: I7c81678aae44f08841c7ff6f3f15a4023d96a74c
Reviewed-on: http://review.couchbase.org/43896
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...

b9585dc818-Dec-2014 Volker Mische <vmx@couchbase.com>

MB-12967 Add additional Unicode collation test

The additional test is purely to prevent future regression the test
currently passes fine on Erlang >= 17.

Change-Id: I85b45be6bf5

MB-12967 Add additional Unicode collation test

The additional test is purely to prevent future regression the test
currently passes fine on Erlang >= 17.

Change-Id: I85b45be6bf5f4bac3c90620b9fa9d4b62094579e
Reviewed-on: http://review.couchbase.org/44472
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

c5bd3b4a12-Dec-2014 Volker Mische <vmx@couchbase.com>

MB-12903 Move `convert_back_index_kvs_to_binary/2` to mapreduce_view

Encoding the ID b-tree key values is indexer specific, hence move it
to the indexer specific module.

Change-

MB-12903 Move `convert_back_index_kvs_to_binary/2` to mapreduce_view

Encoding the ID b-tree key values is indexer specific, hence move it
to the indexer specific module.

Change-Id: I24d16421a3489f6127d4c72bc4c18f3382db0047
Reviewed-on: http://review.couchbase.org/44281
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

93f621f911-Dec-2014 Volker Mische <vmx@couchbase.com>

MB-12903 Move `encode/decode_key_docid` to `mapreduce_view` module

The encoding of the key is module specific. In order to be able to call
the encoding/decoding from the updater easily i

MB-12903 Move `encode/decode_key_docid` to `mapreduce_view` module

The encoding of the key is module specific. In order to be able to call
the encoding/decoding from the updater easily it makes sense to have it
in the indexer specific module.

Change-Id: Ifcc679b0c4c0553c4d98b106a2b3ebc6f5ccb746
Reviewed-on: http://review.couchbase.org/44235
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

280d639611-Dec-2014 Volker Mische <vmx@couchbase.com>

Rename `split_key_docid/1` to `decode_key_docid/1`

Rename the `split_key_docid/1` to `decode_key_docid/1` as it really
is the reverse of `encode_key_docid/2. Also make the parameter name

Rename `split_key_docid/1` to `decode_key_docid/1`

Rename the `split_key_docid/1` to `decode_key_docid/1` as it really
is the reverse of `encode_key_docid/2. Also make the parameter names
more symmetric to the encode function.

Change-Id: I26945a36e780a64569505df9f3110d81b5bf9697
Reviewed-on: http://review.couchbase.org/44234
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

756d582a11-Dec-2014 Volker Mische <vmx@couchbase.com>

Remove `decode_key_docid/1`

`decode_key_docid/2 was used only once, hence remove it to make the
API smaller.

Change-Id: I09731fcf1cb38e3991c70b9049fdaf24d3c9141a
Reviewed-on

Remove `decode_key_docid/1`

`decode_key_docid/2 was used only once, hence remove it to make the
API smaller.

Change-Id: I09731fcf1cb38e3991c70b9049fdaf24d3c9141a
Reviewed-on: http://review.couchbase.org/44233
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

f701b78209-Dec-2014 Volker Mische <vmx@couchbase.com>

Rename btree_op functions

The btree_op functions can also be used for the spatial views, hence
rename them to a name, not referring to "btree".

This is a pure refactoring withou

Rename btree_op functions

The btree_op functions can also be used for the spatial views, hence
rename them to a name, not referring to "btree".

This is a pure refactoring without any functional change.

Change-Id: I8e20189e2cd733711d76935f6d012c1f5908f0d8
Reviewed-on: http://review.couchbase.org/44232
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

f2990e0608-Dec-2014 Volker Mische <vmx@couchbase.com>

CBIDXT-255 Use module specific function

Remove the hard-coded reference for b-trees in the compactor, use the
indexer module specific version instead.

Change-Id: Idff29413f883ef

CBIDXT-255 Use module specific function

Remove the hard-coded reference for b-trees in the compactor, use the
indexer module specific version instead.

Change-Id: Idff29413f883eff58530664142ad3ff7bac6ad89
Reviewed-on: http://review.couchbase.org/44231
Tested-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

78cba15802-Dec-2014 Volker Mische <vmx@couchbase.com>

MB-12048 Make mapreduce view signature calculation clearer

The view signature calculations shouldn't ever change so that views
don't get re-created after an upgrade. In Couchbase it was

MB-12048 Make mapreduce view signature calculation clearer

The view signature calculations shouldn't ever change so that views
don't get re-created after an upgrade. In Couchbase it was just using
the #set_view{} record as a basis for the calculation. As the record
changed in 3.0, there needs to be a backwards compatible calculation
of the signature.

The existing code was a bit misleading as it seemed it would take the
b-tree and the view reference into account. But those record fields
have their initial value when the signature calculation is done. This
commit makes this fact more explicit.

Change-Id: I5ebb1d9e9d5041266b2335a7877f764d52e2dd52
Reviewed-on: http://review.couchbase.org/43833
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

de71bf9c01-Dec-2014 Volker Mische <vmx@couchbase.com>

MB-12712 Use correct spatial view information

The spatial views use the native updater to update the ID b-tree and
and Erlang based updater to update the views. The native updater is

MB-12712 Use correct spatial view information

The spatial views use the native updater to update the ID b-tree and
and Erlang based updater to update the views. The native updater is
running concurrently, hence it contains outdated information about the
spatial views once it's done. Therefore are the updated views from
the Erlang based updater are used in the view group, once the native
updater is done.

Change-Id: Ic2cc53e1435c0673ddbf01d808c7638fd8de92a0
Reviewed-on: http://review.couchbase.org/43830
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Nimish Gupta <nimish@couchbase.com>

show more ...

4db2dd7f27-Nov-2014 Volker Mische <vmx@couchbase.com>

MB-12712 Update file pointer correctly

The spatial views use the native updater to update the ID b-tree. The spatial
views are *not* using the native updater, but are updated from within

MB-12712 Update file pointer correctly

The spatial views use the native updater to update the ID b-tree. The spatial
views are *not* using the native updater, but are updated from within Erlang.

This means that both, the native updater in C as well as Erlang writes into
the same spatial view file. Hence the writing needs to be coordinated so that
they don't write to the file, while the other side is writing to the file.

The Erlang side is therefore waiting until the native updater is done with
processing the updates.

Change-Id: Ie3fbb78a3c9d2abf5abfe613d7b8f2b21a82dfd2
Reviewed-on: http://review.couchbase.org/43683
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Nimish Gupta <nimish@couchbase.com>

show more ...

19551d2b26-Nov-2014 harsha <hhs.couchbase@gmail.com>

Revert "MB-11917 Async couch_view_parser implementation"

This reverts commit 3bf0b23892a11299ff5cc25e3d1ebf83e3beec9f.
Reverting async couch_view_parser implementation as it is
resul

Revert "MB-11917 Async couch_view_parser implementation"

This reverts commit 3bf0b23892a11299ff5cc25e3d1ebf83e3beec9f.
Reverting async couch_view_parser implementation as it is
resulting in lexical error and also not helping in resolving
erlang scheduler collapse issue.

Change-Id: I94f1cc5c0eb78bcbd95e321b0ed4d43870cc439b
Reviewed-on: http://review.couchbase.org/43633
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Nimish Gupta <nimish@couchbase.com>

show more ...

44d4d9b226-Nov-2014 harsha <hhs.couchbase@gmail.com>

Revert "MB-12697 Serialize parse_json requests chunks per query context"

This reverts commit cede9fe0761aa36eec2488103485c7b985e08f77.

Change-Id: Ieee9ccf680b1e627c4d6e0d30377ca8600

Revert "MB-12697 Serialize parse_json requests chunks per query context"

This reverts commit cede9fe0761aa36eec2488103485c7b985e08f77.

Change-Id: Ieee9ccf680b1e627c4d6e0d30377ca860040f7de
Reviewed-on: http://review.couchbase.org/43632
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Nimish Gupta <nimish@couchbase.com>

show more ...

cede9fe021-Nov-2014 harsha <hhs.couchbase@gmail.com>

MB-12697 Serialize parse_json requests chunks per query context

The order of processing json parsing request chunks
was assigned randomly to an execution thread which
resulted in lex

MB-12697 Serialize parse_json requests chunks per query context

The order of processing json parsing request chunks
was assigned randomly to an execution thread which
resulted in lexical error while processing json
parsing request during view querying. It is now
serialized, such that the request chunks per query
is processed in the same order of their arrival by
queueing every chunk to same execution thread.
However different query requests are assigned
randomly to a thread in the thread pool.

Change-Id: I16c89f7d4d422e9521ffc2a98d1d035b40e9b0fa
Reviewed-on: http://review.couchbase.org/43494
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-by: Sriram Melkote <siri@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...

6f2f1af218-Nov-2014 Artem Stemkovski <artem@couchbase.com>

do not return url in the "from" field of view_merger error record

because it can contain user:pasword@ and overall contains too much
internal info for user to know

return host:p

do not return url in the "from" field of view_merger error record

because it can contain user:pasword@ and overall contains too much
internal info for user to know

return host:port instead so the user knows which node had a problem

Change-Id: Ia7d401ba70161cf79afabe899b0e24e6331c30a2
Reviewed-on: http://review.couchbase.org/43382
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...

3bf0b23805-Nov-2014 harsha <hhs.couchbase@gmail.com>

MB-11917 Async couch_view_parser implementation

Scheduler collapse in Erlang R16 is observed due to changes made
in R16 version with regard to erlang thread scheduler in general
and

MB-11917 Async couch_view_parser implementation

Scheduler collapse in Erlang R16 is observed due to changes made
in R16 version with regard to erlang thread scheduler in general
and to scheduling NIF threads in particular. couch_view_parser is
a json stream parser NIF and takes variable amount of time to parse
incoming data depending on the incoming stream length. This resulted
in reporting improper reduction count to erlang scheduler, which in
turn caused scheduler collapse. This NIF is now implemented in
asynchronous fashion, where NIF queues the incoming tasks and returns
to erlang world immediately.

Change-Id: I9e87fe63b78b10a31aba70aba31913d60331b5d7
Reviewed-on: http://review.couchbase.org/42821
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: Harsha H S <hhs.couchbase@gmail.com>

show more ...

7f6f0e2810-Nov-2014 Nimish Gupta <nimish@couchbase.com>

MB-12572 Sync the view group after upgrade

During offline upgrade of couchbase, if seqs are empty([]) in the
group, initial build will happen after upgrade and that will set
partitio

MB-12572 Sync the view group after upgrade

During offline upgrade of couchbase, if seqs are empty([]) in the
group, initial build will happen after upgrade and that will set
partition version list to nil.We should sync the group after upgrading
the header, so that partition version list will not be nil after
initial build.

Change-Id: I3eb5114d69dc2c8087310b59d28ff3e01e6ef5e2
Reviewed-on: http://review.couchbase.org/43048
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

12345678910>>...158