History log of /3.0.3-GA/ep-engine/src/mutation_log.cc (Results 1 - 25 of 42)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v4.6.5, v4.6.3, v4.6.4, v4.6.2, v4.6.1, v4.6.0, v4.6.0-DP, v4.5.1, v4.1.2, v3.1.6, v4.5.0, v4.1.1, v3.1.5, v3.1.4, v3.1.3, v4.1.0, v3.1.2, v3.1.1, v4.0.0, v3.1.0, v3.0.2, v3.0.0
# 8c4953bb 16-May-2014 Trond Norbye <trond.norbye@gmail.com>

Remove compiler warning from comparison

warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (blockSize < seek_result) {

Change-Id: Ia014

Remove compiler warning from comparison

warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (blockSize < seek_result) {

Change-Id: Ia014128a362cc192401c411e926e2661071ea178
Reviewed-on: http://review.couchbase.org/37168
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 9e11a4ab 15-May-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

Merge branch '2.5.0'

* 2.5.0:
Truncate last unaligned bytes of access log
Conflicts:
src/mutation_log.cc
Change-Id: I021c75f32918d945d06643537e12e7102cab4113
Review

Merge branch '2.5.0'

* 2.5.0:
Truncate last unaligned bytes of access log
Conflicts:
src/mutation_log.cc
Change-Id: I021c75f32918d945d06643537e12e7102cab4113
Reviewed-on: http://review.couchbase.org/37128
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 386a1f7f 12-May-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

Truncate last unaligned bytes of access log

Truncating unaligned bytes of access log allows use of access log
even if last bytes are unaligned to blocksize.
Avoid throwing a ShortRea

Truncate last unaligned bytes of access log

Truncating unaligned bytes of access log allows use of access log
even if last bytes are unaligned to blocksize.
Avoid throwing a ShortReadException which just disables the access log
Change-Id: I6e82fb0aa4b62e892e092c98654df71bee3f16d6
Reviewed-on: http://review.couchbase.org/36995
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...


# fbdcd635 09-Apr-2014 abhinavdangeti <abhinav@couchbase.com>

Fix the check for a corrupt access log

Change-Id: I9ae7704a33f91a7a27858ff0170e467712468af3
Reviewed-on: http://review.couchbase.org/35508
Reviewed-by: Sundararaman Sridharan <sundar

Fix the check for a corrupt access log

Change-Id: I9ae7704a33f91a7a27858ff0170e467712468af3
Reviewed-on: http://review.couchbase.org/35508
Reviewed-by: Sundararaman Sridharan <sundar@couchbase.com>
Tested-by: Sundararaman Sridharan <sundar@couchbase.com>

show more ...


# 3f7ff9c8 04-Apr-2014 abhinavdangeti <abhinav@couchbase.com>

MB-10755: Handle the exception rather than assert

- Corrupting the access log caused LOG_VERSION
to mismatch

Change-Id: Iaf1fa6c028b72202c3cfec78db3cf433143614df
Reviewed-on

MB-10755: Handle the exception rather than assert

- Corrupting the access log caused LOG_VERSION
to mismatch

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

show more ...


# c649b2d9 17-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

MB-10476: Use cb_assert instead of assert

If compiled with -DNDEBUG assert is an empty macro

Change-Id: I266ddf8a8fe3f1a388a9d8ce3d21f28614c35315
Reviewed-on: http://review.couc

MB-10476: Use cb_assert instead of assert

If compiled with -DNDEBUG assert is an empty macro

Change-Id: I266ddf8a8fe3f1a388a9d8ce3d21f28614c35315
Reviewed-on: http://review.couchbase.org/34579
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 93ef3f98 17-Mar-2014 Junyi Xie <junyi.couchbase@gmail.com>

MB-100: fix a couple of compilation warnings

The warnings of comparison between signed and unsigned integers
come out everytime I recompile ep_engine code, not critical but
a bit ann

MB-100: fix a couple of compilation warnings

The warnings of comparison between signed and unsigned integers
come out everytime I recompile ep_engine code, not critical but
a bit annoying, thus probably it is better to fix it.

Change-Id: I82525f68edabbeec7060bbe986a40a1d3a6c9ce4
Reviewed-on: http://review.couchbase.org/34568
Reviewed-by: Junyi Xie <junyi.couchbase@gmail.com>
Tested-by: Junyi Xie <junyi.couchbase@gmail.com>

show more ...


# f48e1c23 11-Mar-2014 Trond Norbye <trond.norbye@gmail.com>

Remove compile warnings

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

Remove compile warnings

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

show more ...


Revision tags: v2.5.1
# a5ebd028 17-Feb-2014 Chiyoung Seo <chiyoung.seo@gmail.com>

Stop the access log loading task if the warmup threshold reached

If any of warmup thresholds (i.e., memory, num of items loaded),
reached while loading items through the access log, then

Stop the access log loading task if the warmup threshold reached

If any of warmup thresholds (i.e., memory, num of items loaded),
reached while loading items through the access log, then the
warmup task should be terminated immediately.

Change-Id: If34f06fa86303592378737723a7eef09514c43b0
Reviewed-on: http://review.couchbase.org/33686
Reviewed-by: abhinav dangeti <abhinav@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# ded01154 27-Jan-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-9893: delete and recreate corrupted access log

if attempting to open an access log whose size is less than
the minimum header size, simply delete the access log and
recreate it in

MB-9893: delete and recreate corrupted access log

if attempting to open an access log whose size is less than
the minimum header size, simply delete the access log and
recreate it instead of returning ShortReadExceptions later

Change-Id: I62ed2c120341ff0ba30c2ca7d096cd76fdf6e039
Reviewed-on: http://review.couchbase.org/32868
Reviewed-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>
Tested-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>

show more ...


# d2a6b753 21-Jan-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

[BP] MB-9692 Handle MutationLog lseek errors gracefully

Instead of asserting throw appropriate exception with logs.

Change-Id: Ib64b5bea506e2524cada118287e9e2d300b970e0
Reviewed

[BP] MB-9692 Handle MutationLog lseek errors gracefully

Instead of asserting throw appropriate exception with logs.

Change-Id: Ib64b5bea506e2524cada118287e9e2d300b970e0
Reviewed-on: http://review.couchbase.org/32697
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# e7f6695f 10-Jan-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-9864: Reset access log if less then header size

sometimes an incomplete write can result in access
log header being less than header size.
Do not throw Short Read exception, rathe

MB-9864: Reset access log if less then header size

sometimes an incomplete write can result in access
log header being less than header size.
Do not throw Short Read exception, rather
simply recovery by removing and recreating the access log
Change-Id: I8d1250eb1e78dd71f57b7a30ed8d90defedde446
Reviewed-on: http://review.couchbase.org/31803
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Reviewed-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>
Tested-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>

show more ...


# 18770839 07-Jan-2014 Sundar Sridharan <sundar.sridharan@gmail.com>

coding style fixes for gerrit compatibility

gerrit does not handle lines more than 80 characters well
Also coding style dictates fixed line sizes which are
mostly followed but left o

coding style fixes for gerrit compatibility

gerrit does not handle lines more than 80 characters well
Also coding style dictates fixed line sizes which are
mostly followed but left out in a few places..
- remove trailing whitespaces from all files
- limit lines to 80 chars
- try to ensure comments fit into one line so that they can
be traced back from an error log
Change-Id: Id8f1c34c3c7cb698a1b50f5f225b4516667f5e42
Reviewed-on: http://review.couchbase.org/31639
Tested-by: Sundararaman Sridharan <sundar.sridharan@gmail.com>
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 9d8a9725 23-Dec-2013 Trond Norbye <trond.norbye@gmail.com>

Move towards using C++11 atomics

Start by renamimg all use of Atomics that doesn't "break" by
switching to std::atomic to AtomicValue (when the transition
is done we'll rename everyt

Move towards using C++11 atomics

Start by renamimg all use of Atomics that doesn't "break" by
switching to std::atomic to AtomicValue (when the transition
is done we'll rename everything back).

Change-Id: I3f694856dab498c565806c9ac1ee5baf3bc07b17
Reviewed-on: http://review.couchbase.org/31333
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 11e31c0b 17-Dec-2013 Trond Norbye <trond.norbye@gmail.com>

Add support for win32 for mutation log

Change-Id: I1c9c5125247e50e771a087a3d41a99d02eaddda2
Reviewed-on: http://review.couchbase.org/31213
Reviewed-by: Michael Wiederhold <mike@couch

Add support for win32 for mutation log

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

show more ...


# b28b7b10 07-Dec-2013 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-9692 Handle MutationLog lseek errors gracefully

Instead of asserting throw appropriate exception with logs.

Change-Id: Id84fc20bd04170d455bbb2afcfaf0790168df749
Reviewed-on:

MB-9692 Handle MutationLog lseek errors gracefully

Instead of asserting throw appropriate exception with logs.

Change-Id: Id84fc20bd04170d455bbb2afcfaf0790168df749
Reviewed-on: http://review.couchbase.org/30901
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 7c6809d2 07-Nov-2013 Trond Norbye <trond.norbye@gmail.com>

Start migrate the API for our Atomics to look like std::atomic

This patch change the Atomic class CouchbaseAtomic, and change
the API so that:
get() => load()
set() => store(

Start migrate the API for our Atomics to look like std::atomic

This patch change the Atomic class CouchbaseAtomic, and change
the API so that:
get() => load()
set() => store()
cas() => compare_exchange_strong()

and move some of methods that used to be members as
template functions.

Change-Id: I48d873fbf04f40d446444232db44f565ee4fed54
Reviewed-on: http://review.couchbase.org/30135
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 92cf41c9 29-Oct-2013 Sundar Sridharan <sundar.sridharan@gmail.com>

MB-9147: lseek can return 0 if the file has no len

This will avoid asserting incorrectly.
Backporting change from master branch into 2.5.0

Change-Id: Ibca0d69782f753e0dbb16652d5

MB-9147: lseek can return 0 if the file has no len

This will avoid asserting incorrectly.
Backporting change from master branch into 2.5.0

Change-Id: Ibca0d69782f753e0dbb16652d5591a21e514c9f9
Reviewed-on: http://review.couchbase.org/29048
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Reviewed-on: http://review.couchbase.org/29843
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Chiyoung Seo <chiyoung@couchbase.com>

show more ...


# 3877db3a 17-Sep-2013 Mike Wiederhold <mike@couchbase.com>

MB-9147: lseek can return 0 if the file has no length

This will avoid asserting incorrectly.

Change-Id: Ibca0d69782f753e0dbb16652d5591a21e514c9f9
Reviewed-on: http://review.couc

MB-9147: lseek can return 0 if the file has no length

This will avoid asserting incorrectly.

Change-Id: Ibca0d69782f753e0dbb16652d5591a21e514c9f9
Reviewed-on: http://review.couchbase.org/29048
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>

show more ...


# 05b6a071 25-Jun-2013 Mike Wiederhold <mike@couchbase.com>

MB-8516: Change id to bySeqno in StoredValue class

Since we will have two different sequence numbers in our
StoredValue class we should give each one a more specific
name to reduce c

MB-8516: Change id to bySeqno in StoredValue class

Since we will have two different sequence numbers in our
StoredValue class we should give each one a more specific
name to reduce confusion about what variables actually
represent.

Change-Id: I141d666361d7005a84884397188bcd1b7a53b894
Reviewed-on: http://review.couchbase.org/27188
Reviewed-by: Jin Lim <jin@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...


Revision tags: 2.1.1r, 2.1.0r, 2.0.2r, 2.0.1-macosx, 2.0.1-linux
# 66eb94d0 17-Jan-2013 Mike Wiederhold <mike@couchbase.com>

MB-7728: Add copyright headers to all files

This is something that our cpplint tool turns on and it makes
our product look a little bit more profesional. I have also
enabled the tool

MB-7728: Add copyright headers to all files

This is something that our cpplint tool turns on and it makes
our product look a little bit more profesional. I have also
enabled the tool to begin checking for these headers so it will
start complaining if we add a new file without a copyright header.

Change-Id: Ie956fdf7027bf56d9665ee455acd3c109fcacc76
Reviewed-on: http://review.couchbase.org/24560
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Reviewed-by: Jin Lim <jin@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...


# a1213f50 29-Jan-2013 Mike Wiederhold <mike@couchbase.com>

MB-7476: Prepend bucket name to all log messages

Change-Id: I1053494b5359c702c25e4bffa7e88959cb87be53
Reviewed-on: http://review.couchbase.org/24249
Reviewed-by: Chiyoung Seo <chiyou

MB-7476: Prepend bucket name to all log messages

Change-Id: I1053494b5359c702c25e4bffa7e88959cb87be53
Reviewed-on: http://review.couchbase.org/24249
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>

show more ...


Revision tags: 2.0.0-couchbase
# 244c0146 26-Nov-2012 Mike Wiederhold <mike@couchbase.com>

MB-7461: Alphabetize includes to conform with c++ standards

Change-Id: I71333dedada6530713b90184857bab9ac49d13df
Reviewed-on: http://review.couchbase.org/23515
Reviewed-by: Jin Lim <

MB-7461: Alphabetize includes to conform with c++ standards

Change-Id: I71333dedada6530713b90184857bab9ac49d13df
Reviewed-on: http://review.couchbase.org/23515
Reviewed-by: Jin Lim <jin@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>

show more ...


# fc9615cd 23-Nov-2012 Mike Wiederhold <mike@couchbase.com>

MB-7405: Make extension for all header files .h

Change-Id: I7badb1e71c038b6498296c2893ccdbd47c2f0f87
Reviewed-on: http://review.couchbase.org/23483
Reviewed-by: Michael Wiederhold <m

MB-7405: Make extension for all header files .h

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

show more ...


Revision tags: 1.8.1-MB-5845
# bf3b555b 15-Aug-2012 Mike Wiederhold <mike@couchbase.com>

MB-6141: Move ep-engine source files into src directory

Change-Id: I6068c3aa7bc92d45bce4dd3097079665d807ac75
Reviewed-on: http://review.couchbase.org/19664
Reviewed-by: Michael Wiede

MB-6141: Move ep-engine source files into src directory

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

show more ...


12