History log of /2.1.1/couchstore/ (Results 1 - 25 of 281)
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, v3.0.3, v3.0.2, v3.0.1, v3.0.0, 2.1.1r, 2.1.0r
ee54a27904-Jun-2013 Phil Labee <philip@couchbase.com>

2.1.0 branch at build 2.0.2-824

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

2.1.0 branch at build 2.0.2-824

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

show more ...


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

Revert "MB-8066 Compactor should only evict bodies on request"

This reverts commit b7fbf10ad13bec17aa3630a94ef944d8c5240ba7.

Conflicts:
src/db_compact.c

Change-

Revert "MB-8066 Compactor should only evict bodies on request"

This reverts commit b7fbf10ad13bec17aa3630a94ef944d8c5240ba7.

Conflicts:
src/db_compact.c

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

show more ...

f48678c331-May-2013 Aaron Miller <apage43@ninjawhale.com>

Revert "MB-8020 Change compacted file layout"

This reverts commit c18c5b2a71ad5d60897bbdff6b90c4c2e7a0382e.

Conflicts:
src/db_compact.c

Change-Id: Ifa7daefd6173

Revert "MB-8020 Change compacted file layout"

This reverts commit c18c5b2a71ad5d60897bbdff6b90c4c2e7a0382e.

Conflicts:
src/db_compact.c

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

show more ...

Revision tags: 2.0.2r
b7fbf10a23-May-2013 Aaron Miller <apage43@ninjawhale.com>

MB-8066 Compactor should only evict bodies on request

Change-Id: I476bd3994dc65618af3db478c2fd74381fc4c003
Reviewed-on: http://review.couchbase.org/26504
Reviewed-by: Filipe David Bo

MB-8066 Compactor should only evict bodies on request

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

show more ...

963fc26e10-May-2013 Aaron Miller <apage43@ninjawhale.com>

MB-8030 Give explicit types for *all* numbers in couchstore.py

Change-Id: Ie41f09e20a2a6c83061c62fcdc69944c24565fb3
Reviewed-on: http://review.couchbase.org/26248
Reviewed-by: Bin Cu

MB-8030 Give explicit types for *all* numbers in couchstore.py

Change-Id: Ie41f09e20a2a6c83061c62fcdc69944c24565fb3
Reviewed-on: http://review.couchbase.org/26248
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Aaron Miller <apage43@ninjawhale.com>

show more ...

abc2af1306-May-2013 pavel-paulau <pavel.paulau@gmail.com>

MB-7879: wrap python integers into c_uint64

Using Python values as they are is not safe. We must explicitly
specify uint64_t in order to avoid problems with 32-bit platforms.

Al

MB-7879: wrap python integers into c_uint64

Using Python values as they are is not safe. We must explicitly
specify uint64_t in order to avoid problems with 32-bit platforms.

All unit tests passed (both 32-bit and 64-bit GNU/Linux).

Change-Id: Id3c9544908f2c02ac94fcdf62f222d75740f3c89
Reviewed-on: http://review.couchbase.org/26131
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Aaron Miller <apage43@ninjawhale.com>
Reviewed-by: Aaron Miller <apage43@ninjawhale.com>

show more ...

8de31a9e30-Apr-2013 Bin Cui <bin.cui@gmail.com>

MB-8131: Have to copy explicit icu dlls with version number

Change-Id: I63bab95958baf77729bf90a2288c8a8bb3591798
Reviewed-on: http://review.couchbase.org/25957
Tested-by: Bin Cui <bi

MB-8131: Have to copy explicit icu dlls with version number

Change-Id: I63bab95958baf77729bf90a2288c8a8bb3591798
Reviewed-on: http://review.couchbase.org/25957
Tested-by: Bin Cui <bin.cui@gmail.com>
Reviewed-by: Sriram Melkote <siri.couchbase@gmail.com>
Reviewed-by: Steve Yen <steve.yen@gmail.com>

show more ...

1011b9d326-Apr-2013 Bin Cui <bin.cui@gmail.com>

MB-8131: Add icu dlls to staging area during build

Change-Id: Ia9dc781ed92a8aa2903cd6f3cefe68be275fccec
Reviewed-on: http://review.couchbase.org/25913
Reviewed-by: Sriram Melkote <si

MB-8131: Add icu dlls to staging area during build

Change-Id: Ia9dc781ed92a8aa2903cd6f3cefe68be275fccec
Reviewed-on: http://review.couchbase.org/25913
Reviewed-by: Sriram Melkote <siri.couchbase@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>

show more ...

ddc4ba0523-Apr-2013 Aaron Miller <apage43@ninjawhale.com>

Update windows file_ops to v4

Change-Id: Ic4d5c861f8c9dc413791cadb9f9c347487940369
Reviewed-on: http://review.couchbase.org/25837
Reviewed-by: Michael Wiederhold <mike@couchbase.com>

Update windows file_ops to v4

Change-Id: Ic4d5c861f8c9dc413791cadb9f9c347487940369
Reviewed-on: http://review.couchbase.org/25837
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Aaron Miller <apage43@ninjawhale.com>

show more ...

Revision tags: 2.0.1-macosx
a446b43626-Feb-2013 Aaron Miller <apage43@ninjawhale.com>

MB-8020 Evict doc bodies from cache after compaction.

Change-Id: I16219540c0887e780d662b31d922cd11ee37bf43
Reviewed-on: http://review.couchbase.org/25606
Reviewed-by: Filipe David Bo

MB-8020 Evict doc bodies from cache after compaction.

Change-Id: I16219540c0887e780d662b31d922cd11ee37bf43
Reviewed-on: http://review.couchbase.org/25606
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Aaron Miller <apage43@ninjawhale.com>

show more ...

5e947eb126-Feb-2013 Aaron Miller <apage43@ninjawhale.com>

MB-8020 Add advice call to OS layer

Will be ignored outside of linux for now, and only supports EVICT
(DONTNEED).

This adds a function to and bumps the version number of the fil

MB-8020 Add advice call to OS layer

Will be ignored outside of linux for now, and only supports EVICT
(DONTNEED).

This adds a function to and bumps the version number of the file_ops
interface.

Change-Id: I6646d76c6bf72c2a3740df98e26c80902c7db3fc
Reviewed-on: http://review.couchbase.org/25605
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Aaron Miller <apage43@ninjawhale.com>

show more ...

c18c5b2a26-Feb-2013 Aaron Miller <apage43@ninjawhale.com>

MB-8020 Change compacted file layout

Compactor will now output all doc bodies, then the Sequence b-tree, then
the ID b-tree, rather than outputting the doc bodies and the sequence
b-

MB-8020 Change compacted file layout

Compactor will now output all doc bodies, then the Sequence b-tree, then
the ID b-tree, rather than outputting the doc bodies and the sequence
b-tree interleaved.

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

show more ...

fa32842122-Mar-2013 Trond Norbye <trond.norbye@gmail.com>

Merge remote-tracking branch 'couchbase/2.0.1' into update

* couchbase/2.0.1:
MB-6657: cs_off_t should be a signed variable
MB-6657: Use 64 bits type for file offsets on Windows

Merge remote-tracking branch 'couchbase/2.0.1' into update

* couchbase/2.0.1:
MB-6657: cs_off_t should be a signed variable
MB-6657: Use 64 bits type for file offsets on Windows

Conflicts:
src/couch_db.c
src/couch_file_read.c
src/couch_file_write.c
src/couch_save.c
src/internal.h

Change-Id: Ic1c1b79c79368c39806d4bf95ed347a3dce71b9d

show more ...


8172fccc21-Mar-2013 Trond Norbye <trond.norbye@gmail.com>

MB-6657: cs_off_t should be a signed variable

off_t is supposed to be signed

Change-Id: I7c30bea3d534cd01b2d576815f0841bd96e66c23
Reviewed-on: http://review.couchbase.org/25282

MB-6657: cs_off_t should be a signed variable

off_t is supposed to be signed

Change-Id: I7c30bea3d534cd01b2d576815f0841bd96e66c23
Reviewed-on: http://review.couchbase.org/25282
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...

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

MB-6657: Use 64 bits type for file offsets on Windows

Windows follows the LLP64 data model:
http://en.wikipedia.org/wiki/LLP64#64-bit_data_models

This means both the int and lon

MB-6657: Use 64 bits type for file offsets on Windows

Windows follows the LLP64 data model:
http://en.wikipedia.org/wiki/LLP64#64-bit_data_models

This means both the int and long int types have a size of 32 bits
regardless if it's a 32 or 64 bits Windows system.

And Windows defines the type off_t as being a signed long integer:
http://msdn.microsoft.com/en-us/library/323b6b3k.aspx

Therefore we can't use off_t on Windows if we deal with files that
can have a size of 2Gb or more.

By using off_t to represent offsets and doing arithmetic operations
on offsets of this type, such operations result in negative values
when they should produce a value larger than 2Gb. Such negative values
are then converted by os_win.c operations into unsigned 32 bits
integers, as 'Offset' members of a structure of type OVERLAPPED.
This means we can end up overwriting previous data from the file
because couchstore opens files in read/write mode (and not in append
only mode) and does "pwrite" operations with an offset stored in
the db record which is of type off_t and gets incremented after every
write operation.

Other databases and VMs use a custom 64 bits integer on Windows to
represent file offsets, rather than the type off_t.

References:

SQLite:

http://www2.sqlite.org/cgi/src/artifact/eabd00b813577d36bd66271cb08dd64ea0589dac
(function seekWinFile for example)

Python:

http://bugs.python.org/issue12517

Erlang:

https://github.com/erlang/otp/blob/2d03ab7ffde828d3b56f8b7738fd0c00d0f5b630/erts/emulator/drivers/win32/win_efile.c#L1048

Change-Id: Ib49ac055e3073480f696576cc17c791d0349b773
Reviewed-on: http://review.couchbase.org/25268
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Sriram Melkote <siri.couchbase@gmail.com>

show more ...

0c73ca2919-Mar-2013 Bin Cui <bin.cui@gmail.com>

CBD-913: ICU50 rename libaries

Compared to icu4.x, icu5.0 rename the following libraries:
icudata.dll -> icudt.dll
icui18n.dll -> icuin.dll

Change-Id: I932a97b3bc052c8cdfd87

CBD-913: ICU50 rename libaries

Compared to icu4.x, icu5.0 rename the following libraries:
icudata.dll -> icudt.dll
icui18n.dll -> icuin.dll

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

show more ...

2479aba514-Feb-2013 Filipe David Borba Manana <fdmanana@apache.org>

Remove reference to no longer existing file win32.c

Backport from master

Change-Id: I165c958213dd120b7fe894cc7a11a64b94698370
Reviewed-on: http://review.couchbase.org/25214

Remove reference to no longer existing file win32.c

Backport from master

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

show more ...

2d0a903e25-Feb-2013 Aaron Miller <apage43@ninjawhale.com>

Merge branch 'master' into 2.0.2

Not sure why 2.0.2 wasn't branched off of master, but I need those changes.

Change-Id: I1b95d46a16410aa6540427a8d862e666e63cd5a8


574c0c3d14-Feb-2013 Phil Labee <philip@couchbase.com>

CBD-839: create 2.0.2 branch off of 2.0.1 at 146c965a5aa5da21901209122bde60a8f3a52171

Change-Id: I562aaa5a308959ddb028b40054fdef338dd979cb
Reviewed-on: http://review.couchbase.org/24590

CBD-839: create 2.0.2 branch off of 2.0.1 at 146c965a5aa5da21901209122bde60a8f3a52171

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

show more ...


d02628aa12-Feb-2013 Aaron Miller <apage43@ninjawhale.com>

Merge branch origin/2.0.1

Conflicts:
src/db_compact.c

Change-Id: I7864694a01bf6a6cfdb039a35702e78bdd8b51a3


edf1bca606-Feb-2013 Aaron Miller <apage43@ninjawhale.com>

Keep file format documentation in the repo

The format documentation should be packaged with and versioned with the
library.

cbugg: closes bug-204

http://cbugg.hq.couchb

Keep file format documentation in the repo

The format documentation should be packaged with and versioned with the
library.

cbugg: closes bug-204

http://cbugg.hq.couchbase.com/bug/bug-204

Change-Id: If9be65f6902e16f85aa4649f2ed38d94daf42714
Reviewed-on: http://review.couchbase.org/24435
Reviewed-by: Fulu Li <fulu@couchbase.com>
Tested-by: Aaron Miller <apage43@ninjawhale.com>

show more ...

0cd3054201-Feb-2013 Aaron Miller <apage43@ninjawhale.com>

Merge indexer branch

Conflicts:
Makefile.am
include/libcouchstore/couch_db.h
src/btree_read.c
src/couch_db.c
src/couch_save.c

Merge indexer branch

Conflicts:
Makefile.am
include/libcouchstore/couch_db.h
src/btree_read.c
src/couch_db.c
src/couch_save.c
src/db_compact.c
src/dbdump.c
src/internal.h
src/node_types.h
tests/testapp.c

Change-Id: I6e154a2b9fe9e815a6a167902f357fbd065e972a

show more ...


Revision tags: 2.0.1-linux
146c965a24-Jan-2013 Aaron Miller <apage43@ninjawhale.com>

Don't segfault when tmpfile() fails.

Fixes bug-143 http://cbugg.hq.couchbase.com/bug/bug-143

If tmpfile() returns NULL, return COUCHSTORE_ERROR_OPEN_FILE. This can
happen if /tm

Don't segfault when tmpfile() fails.

Fixes bug-143 http://cbugg.hq.couchbase.com/bug/bug-143

If tmpfile() returns NULL, return COUCHSTORE_ERROR_OPEN_FILE. This can
happen if /tmp is not writable by Couchbase, as seen in JIRA MB-7587.

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

show more ...

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

Merge remote-tracking branch 'origin/2.0.1'

* origin/2.0.1:
Fix implicit pointer to integral type cast
Fix strict aliasing issue/warning

Change-Id: I476ab04812ec98b8283c

Merge remote-tracking branch 'origin/2.0.1'

* origin/2.0.1:
Fix implicit pointer to integral type cast
Fix strict aliasing issue/warning

Change-Id: I476ab04812ec98b8283cbb11e9423bfa4724dc5d

show more ...


162935b323-Jan-2013 Filipe David Borba Manana <fdmanana@apache.org>

Fix implicit pointer to integral type cast

From gcc:

src/db_compact.c:87:5: warning: passing argument 3 of 'couchstore_compact_db_ex' makes integer from pointer without a cast [enab

Fix implicit pointer to integral type cast

From gcc:

src/db_compact.c:87:5: warning: passing argument 3 of 'couchstore_compact_db_ex' makes integer from pointer without a cast [enabled by default]
src/db_compact.c:40:20: note: expected 'uint64_t' but argument is of type 'void *'

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

show more ...

12345678910>>...12