History log of /3.1.0/couchstore/ (Results 1 - 25 of 550)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: v6.0.3, v5.5.3, v5.1.2, v5.1.0, v5.0.0, v4.6.0, v4.6.0-DP, v4.5.1-MP1, v4.5.0, v4.5.1, v4.1.0, v3.1.2
e19a23db20-Apr-2015 Volker Mische <vmx@couchbase.com>

MB-14542: Exit Erlang Ports without cleanup

Each program reads from stdin to get data from Erlang. A second thread
reads from stdin in case the Erlang side transmits an exit or closes

MB-14542: Exit Erlang Ports without cleanup

Each program reads from stdin to get data from Erlang. A second thread
reads from stdin in case the Erlang side transmits an exit or closes
the stream.

In case the program would exit normally it won't terminate as the second
thread still tries to read from stdin.

The solution is to force an exit without any cleanups via `_exit()`.

Change-Id: I07cb74ada67d9854df32bc96c038a1420fb0f3c2
Reviewed-on: http://review.couchbase.org/49907
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Reviewed-on: http://review.couchbase.org/51902
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>

show more ...

a917837917-Mar-2015 Dave Rigby <daver@couchbase.com>

MB-15048 couch_dbdump: Send all normal output to stdout

Some of the normal, expected output was printed to stderr, which could
cause it to appear in the middle of the normal output in

MB-15048 couch_dbdump: Send all normal output to stdout

Some of the normal, expected output was printed to stderr, which could
cause it to appear in the middle of the normal output in
cbcollect_info (as there is no guarantee of the relative ordering of
stdout and stderr.

Change so this output is directed to stdout.

Change-Id: If0c349466bb2590a2aa52464a816c902a653dc10
Reviewed-on: http://review.couchbase.org/48387
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-on: http://review.couchbase.org/51901

show more ...

3d79d54a11-Mar-2015 Nimish Gupta <nimish@couchbase.com>

MB-15049 Fix the initial tree building with large node size

If the KP node size is large (e.g. due to large reduce value),
while building the btree, we may be flushing that node only to

MB-15049 Fix the initial tree building with large node size

If the KP node size is large (e.g. due to large reduce value),
while building the btree, we may be flushing that node only to
disk and creating one parent node for that.This will not reduce
the number of nodes in the upper level of the tree, and the
tree building will never finish. In this fix, we make sure that
we flush at least 2 KP nodes.

Change-Id: I9832a232c724fc4dd8ff5218b5217b485374d783
Reviewed-on: http://review.couchbase.org/48072
Reviewed-by: Nimish Gupta <nimish@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>
Reviewed-on: http://review.couchbase.org/51852

show more ...

Revision tags: v3.0.3
c2c6bd7207-Jan-2015 Chris Hillery <ceej@couchbase.com>

MB-12967: Fix Unicode conversion

This change partly reverts commmit
ca31670ffdb51a6bcac7f44ed955ba7687ec9b07 [1].

The supplied length for the conversion was off by one.

MB-12967: Fix Unicode conversion

This change partly reverts commmit
ca31670ffdb51a6bcac7f44ed955ba7687ec9b07 [1].

The supplied length for the conversion was off by one.

[1]: https://github.com/couchbase/couchstore/commit/ca31670ffdb51a6bcac7f44ed955ba7687ec9b07

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

show more ...

Revision tags: v3.0.2
ddaf89e720-Nov-2014 abhinavdangeti <abhinav@couchbase.com>

MB-12690: GetLastError returning 0 inspite of File not found

In Windows 2012, GetLastError returned a zero for some
reason even when the file wasn't found.

Change-Id: I312162f68

MB-12690: GetLastError returning 0 inspite of File not found

In Windows 2012, GetLastError returned a zero for some
reason even when the file wasn't found.

Change-Id: I312162f687d2c11e61743676b88d7a6aecbd87cd
Reviewed-on: http://review.couchbase.org/43430
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

a7ac189019-Nov-2014 Trond Norbye <trond.norbye@gmail.com>

Enable cmake policy to fix @rpath

Change-Id: I39be049ed6ab0f0ca26f0013ebe06d4935188044
Reviewed-on: http://review.couchbase.org/43399
Tested-by: buildbot <build@couchbase.com>
Re

Enable cmake policy to fix @rpath

Change-Id: I39be049ed6ab0f0ca26f0013ebe06d4935188044
Reviewed-on: http://review.couchbase.org/43399
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>

show more ...

783a1c5105-Nov-2014 Volker Mische <vmx@couchbase.com>

File sorter is no longer needed

The file sorting now happens in the incremental updater. No extra
executable is needed anymore.

Change-Id: Ie639763a59fadb31c48fc4a0ec3ab66d87918

File sorter is no longer needed

The file sorting now happens in the incremental updater. No extra
executable is needed anymore.

Change-Id: Ie639763a59fadb31c48fc4a0ec3ab66d87918a18
Reviewed-on: http://review.couchbase.org/42829
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>

show more ...

2af5afa805-Nov-2014 Trond Norbye <trond.norbye@gmail.com>

MB-12554: Don't blow the stack

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

MB-12554: Don't blow the stack

Change-Id: I52e89ceb60ca41a80a703b1d94b1f561b23482bf
Reviewed-on: http://review.couchbase.org/42836
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

Revision tags: v3.0.1
c0ea8ac818-Sep-2014 Nimish Gupta <nimish@couchbase.com>

MB-12138 Add function for generating temporary filename

mkstemp was not generating a unique file name on windows and
it was causing problem in sorting the data while using temporary file

MB-12138 Add function for generating temporary filename

mkstemp was not generating a unique file name on windows and
it was causing problem in sorting the data while using temporary files.
Due to which index building was failing. Added a new function to
generate temporary files.

Change-Id: If87d84dacbfe931e6ef1f0217405c0d6b63359d9
Reviewed-on: http://review.couchbase.org/41480
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

c8f9171916-Sep-2014 abhinavdangeti <abhinav@couchbase.com>

DbDump to print datatype if exists in revMeta

Also, snappy_uncompress document if document's
datatype indicates that document is compressed, as
content_meta will not carry COUCH_DOC_

DbDump to print datatype if exists in revMeta

Also, snappy_uncompress document if document's
datatype indicates that document is compressed, as
content_meta will not carry COUCH_DOC_IS_COMPRESSED
flag.

Change-Id: I90e824e29bd2fb89e65a1370f45f4b4b00570360
Reviewed-on: http://review.couchbase.org/41426
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>

show more ...

d3652d8002-Sep-2014 Sriram Ganesan <sriram@couchbase.com>

MB-12091: Remove usage of unlink in merge sort

Remove the usage of unlink in the merge sort function
as the behavior of unlink is not consistent across all
platforms.

Change

MB-12091: Remove usage of unlink in merge sort

Remove the usage of unlink in the merge sort function
as the behavior of unlink is not consistent across all
platforms.

Change-Id: Ib0d9f2514272ce81c5807746e0cbbf1561912883
Reviewed-on: http://review.couchbase.org/41181
Tested-by: Sriram Ganesan <sriram@couchbase.com>
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>

show more ...

Revision tags: v3.0.0
ab4276bc15-Aug-2014 Trond Norbye <trond.norbye@gmail.com>

MSVC don't support %zu

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

MSVC don't support %zu

Change-Id: Id5ab4848a65de747cf48635e993ea4461549895c
Reviewed-on: http://review.couchbase.org/40651
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

744ff40022-Jul-2014 Volker Mische <vmx@couchbase.com>

MB-8746: Implementation of the spatial view initial index build

This commit adds the initial index build for the spatial views. It's the
same bottom-up approach as for the mapreduce view

MB-8746: Implementation of the spatial view initial index build

This commit adds the initial index build for the spatial views. It's the
same bottom-up approach as for the mapreduce views. They even share a lot
of code.

The records are first sorted based on a space filling curce (Z-order curve).
Then they are paritioned into equal chunks which form the leaf level. In the
future the partitioning will be optimized for faster querying.

Change-Id: I48cf797b407ae2ee902986b028eb7a35ff0eafdb
Reviewed-on: http://review.couchbase.org/39637
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>

show more ...

9a8beb9721-Jul-2014 Volker Mische <vmx@couchbase.com>

Add spatial helper functions

Add some functions including tests that will be used in the subsequent
commits.

Change-Id: I07b9f9410cfc41709c50d33df5241742e892eff4
Reviewed-on

Add spatial helper functions

Add some functions including tests that will be used in the subsequent
commits.

Change-Id: I07b9f9410cfc41709c50d33df5241742e892eff4
Reviewed-on: http://review.couchbase.org/39636
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...

33bc61bf28-Jul-2014 Volker Mische <vmx@couchbase.com>

Assert doesn't apply to spatial views

For the spatial views, the incremental updater is only used for processing
the ID b-tree. The information about the views gets removed prior to call

Assert doesn't apply to spatial views

For the spatial views, the incremental updater is only used for processing
the ID b-tree. The information about the views gets removed prior to calling
it and added later on again. Hence the number of views doesn't match the
header information.
Change-Id: I0f73e163f17aff82f7fafac21f00f9bb854ba625
Reviewed-on: http://review.couchbase.org/40112
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>

show more ...

ea765eb930-Jul-2014 Nimish Gupta <nimish@couchbase.com>

MB-11849 Fix the error_info after sort failure in updater

Change-Id: I13a2e8bdd21e90fa5ac440bf5bae68cd57917fd0
Reviewed-on: http://review.couchbase.org/40052
Tested-by: buildbot <bui

MB-11849 Fix the error_info after sort failure in updater

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

show more ...

7554131510-Jul-2014 Volker Mische <vmx@couchbase.com>

Parse spatial view information

The supplied information for spatial views is different from the mapreduce
views. Insted of getting reduce functions, we receive the bounding box
that

Parse spatial view information

The supplied information for spatial views is different from the mapreduce
views. Insted of getting reduce functions, we receive the bounding box
that encloses the current view.

Change-Id: Ic8fe1a80366a2cd881d2264f6ca8f441b50b8ec3
Reviewed-on: http://review.couchbase.org/39631
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>

show more ...

8fe9bd3b21-Jul-2014 Volker Mische <vmx@couchbase.com>

Make it possible to unit test static functions

In order to be able to test static functions, use the `STATIC` macro
instead of `static`. This way the static will be removed when the file

Make it possible to unit test static functions

In order to be able to test static functions, use the `STATIC` macro
instead of `static`. This way the static will be removed when the file
is compiled for the testapp.

Change-Id: I6175e24c07494bbed0e8456ac857b4d91f5b0949
Reviewed-on: http://review.couchbase.org/39635
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>

show more ...

1109401021-Jul-2014 Volker Mische <vmx@couchbase.com>

Make sort_spatial_kvs_file suitable as record file sorter

When building the intitial index, the records are written into a
single file that then gets sorted. This commit makes the
`s

Make sort_spatial_kvs_file suitable as record file sorter

When building the intitial index, the records are written into a
single file that then gets sorted. This commit makes the
`sort_spatial_kvs_file` function comply to the API of the record
file sorted callback.

Change-Id: I6898db1eb05d108102858119a96f449d83ca0242
Reviewed-on: http://review.couchbase.org/39634
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>

show more ...

fcb5a9c621-Jul-2014 Volker Mische <vmx@couchbase.com>

Reduce max number of numbers in the MBB to 16-bit

In order to make the on-disk file format of the spatial views more
along the lines of the mapreduce views, reduce the number of numbers

Reduce max number of numbers in the MBB to 16-bit

In order to make the on-disk file format of the spatial views more
along the lines of the mapreduce views, reduce the number of numbers
in the MBB from 32-bit to 16-bit.

Change-Id: Ia00f88df33d2ab1b1bd2f6f39348072f7d617f4e
Reviewed-on: http://review.couchbase.org/39633
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>

show more ...

1b5905aa10-Jul-2014 Volker Mische <vmx@couchbase.com>

Introduce a union for the views

Views can be either a B-tree for the mapreduce views or an R-tree for
the spatial views. Hence they need a different kind of processing. This
commit p

Introduce a union for the views

Views can be either a B-tree for the mapreduce views or an R-tree for
the spatial views. Hence they need a different kind of processing. This
commit prepares couchstore to support it.

Change-Id: I208e9a1c9d7a6981645f08e551fdda328379ba71
Reviewed-on: http://review.couchbase.org/39630
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>

show more ...

d5d5b3ad11-Jul-2014 Volker Mische <vmx@couchbase.com>

Change from number of numbers to dimension

Instead of counting the total number of numbers in a bounding box,
use the dimension (which is half of the total numbers).

Change-Id:

Change from number of numbers to dimension

Instead of counting the total number of numbers in a bounding box,
use the dimension (which is half of the total numbers).

Change-Id: I13b02477663bf71b6ac626c0756c2b1c61c78d62
Reviewed-on: http://review.couchbase.org/39632
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>

show more ...

5271fd5329-Jul-2014 abhinavdangeti <abhinav@couchbase.com>

MB-11845: Handle couchstore_open_db_ex's failure scenario

Context: couchstore_compact_db_ex
If couchstore_open_db_ex were to fail in this context,
then in the cleanup couchstore_clos

MB-11845: Handle couchstore_open_db_ex's failure scenario

Context: couchstore_compact_db_ex
If couchstore_open_db_ex were to fail in this context,
then in the cleanup couchstore_close_db(Db* ) would fail
as the Db pointer is NULL.

Change-Id: I0e843972a680c677be5e6d72bfe3308efa2d547e
Reviewed-on: http://review.couchbase.org/40031
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...

79a21b2810-Jul-2014 Volker Mische <vmx@couchbase.com>

Make couchstore read the view type from couchdb

Couchstore deals with mapreduce as well as spatial views. In order to
know which view it currently processes, we need pass on the view typ

Make couchstore read the view type from couchdb

Couchstore deals with mapreduce as well as spatial views. In order to
know which view it currently processes, we need pass on the view type.

0 stands for mapreduce view
1 stands for spatial view

Change-Id: I7b19789d600d9497cf5314209fa37f12227ca469
Reviewed-on: http://review.couchbase.org/39629
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Tested-by: Sarath Lakshman <sarath@couchbase.com>

show more ...

b0ed321f10-Jul-2014 Volker Mische <vmx@couchbase.com>

Refactor the processing of the view group btree information

De-clutter the code a bit and move the processing of the btree
specific parsing into its own function.

Change-Id: Iab

Refactor the processing of the view group btree information

De-clutter the code a bit and move the processing of the btree
specific parsing into its own function.

Change-Id: Iaba910e94dd1b923dd7e4c8b5c4e981bd4d1ad93
Reviewed-on: http://review.couchbase.org/39628
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>

show more ...

12345678910>>...22