History log of /4.0.0/ep-engine/src/mutation_log.h (Results 1 - 25 of 29)
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
# ae912d85 10-Nov-2014 Sriram Ganesan <sriram@couchbase.com>

Remove extraneous rowid parameter from CouchKVStore::get()

Change-Id: Ic281ae03265ac900776bbce2b59c92918060c383
Reviewed-on: http://review.couchbase.org/43346
Reviewed-by: Chiyoung S

Remove extraneous rowid parameter from CouchKVStore::get()

Change-Id: Ic281ae03265ac900776bbce2b59c92918060c383
Reviewed-on: http://review.couchbase.org/43346
Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
Tested-by: Sriram Ganesan <sriram@couchbase.com>

show more ...


Revision tags: v3.0.0
# 042873d5 01-Apr-2014 abhinavdangeti <abhinav@couchbase.com>

MB-10681: Enable generation of mutation logs

Change-Id: I2ef6ebdd401d6e648815ab09ad28329bf0c4f16f
Reviewed-on: http://review.couchbase.org/35117
Tested-by: abhinav dangeti <abhinav@c

MB-10681: Enable generation of mutation logs

Change-Id: I2ef6ebdd401d6e648815ab09ad28329bf0c4f16f
Reviewed-on: http://review.couchbase.org/35117
Tested-by: abhinav dangeti <abhinav@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 ...


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 ...


# 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 ...


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 ...


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 ...


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

MB-7426: Fix all header defines to conform with cpplint

Change-Id: I8253b640bc49ee8a0fabbb39ece73c2efdb906d5
Reviewed-on: http://review.couchbase.org/23510
Reviewed-by: Michael Wiede

MB-7426: Fix all header defines to conform with cpplint

Change-Id: I8253b640bc49ee8a0fabbb39ece73c2efdb906d5
Reviewed-on: http://review.couchbase.org/23510
Reviewed-by: Michael Wiederhold <mike@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 ...


# 7eca7f66 27-Sep-2012 Mike Wiederhold <mike@couchbase.com>

MB-7334: Don't internally call static members with static syntax

This can cause portability issues since some compilers consider
this an error.

Change-Id: I73678fe287781c68780f7

MB-7334: Don't internally call static members with static syntax

This can cause portability issues since some compilers consider
this an error.

Change-Id: I73678fe287781c68780f79b15e90dfa23f419897
Reviewed-on: http://review.couchbase.org/23413
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 ...


Revision tags: 2.0.0r
# 1e9656aa 22-Jul-2012 Liang Guo <liang@couchbase.com>

MB-5944 Fix warmup batch read using access log

Batch read cannot use rowids (i.e. seq_id) from access log
because seq_ids might have changed since access log was generated.
Change to

MB-5944 Fix warmup batch read using access log

Batch read cannot use rowids (i.e. seq_id) from access log
because seq_ids might have changed since access log was generated.
Change to get seq_id from hashtable when filling fetches vector.

Change-Id: I1faa62fcd2744044dee8dcc3f69cd189096a1ddc
Reviewed-on: http://review.couchbase.org/18671
Reviewed-by: Jin Lim <jin@couchbase.com>
Tested-by: Liang Guo <liang@couchbase.com>

show more ...


# 80279845 17-Jul-2012 Jin Lim <jin@couchbase.com>

CBD-440 add CouchKVStore::warmup for optimized warmup data loading

CouchKVStore::warmup overrides default warmup method to use batch
read for item fetches based on access log during warm

CBD-440 add CouchKVStore::warmup for optimized warmup data loading

CouchKVStore::warmup overrides default warmup method to use batch
read for item fetches based on access log during warmup

Change-Id: I08b7b227ba095c8fbc855f809fe7736fb97af51d
Reviewed-on: http://review.couchbase.org/18406
Tested-by: Jin Lim <jin@couchbase.com>
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Chiyoung Seo <chiyoung.seo@gmail.com>

show more ...


# cb878e48 09-Jul-2012 Chiyoung Seo <chiyoung.seo@gmail.com>

CBD-376 Remove vbucket versioning implementation.

Vbucket versioning was already deprecated and not used anymore.

Change-Id: Ie52edce7664de2a56abcbec55ba980ac992f7e9c
Reviewed-o

CBD-376 Remove vbucket versioning implementation.

Vbucket versioning was already deprecated and not used anymore.

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

show more ...


Revision tags: 1.8.1
# 56c80678 15-May-2012 Sergey Avseyev <sergey.avseyev@gmail.com>

Include unistd.h for usleep(3)

Fixes compiler errors like this:

In file included from vbucket.hh:18:0,
from backfill.cc:3:
stored-value.hh: In destructor 'H

Include unistd.h for usleep(3)

Fixes compiler errors like this:

In file included from vbucket.hh:18:0,
from backfill.cc:3:
stored-value.hh: In destructor 'HashTable::~HashTable()':
stored-value.hh:973:23: error: 'usleep' was not declared in this scope

Change-Id: I7bc2c26a8e7e1fec928d51f36a78ba028a6486d7
Reviewed-on: http://review.couchbase.org/16024
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>

show more ...


# 9643613c 15-Mar-2012 Chiyoung Seo <chiyoung.seo@gmail.com>

MB-4898 Rebuild mutation log with the database if the log is empty

There is a case where the database has some data, but the mutation
log is empty when the warmup starts (e.g., cluster u

MB-4898 Rebuild mutation log with the database if the log is empty

There is a case where the database has some data, but the mutation
log is empty when the warmup starts (e.g., cluster upgrade).
In this case, the mutation log should be reconstructed from
database during warmup. Otherwise, data loss can happen when the
node is restarted, because the mutation log might not contain all
the entries.

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

show more ...


# 7483587d 28-Feb-2012 Trond Norbye <trond.norbye@gmail.com>

Add read only mode for MutationLog

Change-Id: Ib21bf5b613d31362ad8b19261dae3be3383a3e93
Reviewed-on: http://review.couchbase.org/13675
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.c

Add read only mode for MutationLog

Change-Id: Ib21bf5b613d31362ad8b19261dae3be3383a3e93
Reviewed-on: http://review.couchbase.org/13675
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...


Revision tags: 1.8-MB-4901
# 0375877c 24-Feb-2012 Chiyoung Seo <chiyoung.seo@gmail.com>

Delete uncommitted log items from hash table and data store.

If a crash happens while writing items into the underlying data
store and the mutation log, there might be uncommitted items

Delete uncommitted log items from hash table and data store.

If a crash happens while writing items into the underlying data
store and the mutation log, there might be uncommitted items from
the mutation log. For consistency, we simply delete those
uncommitted items from the hash table and underlying data store.

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

show more ...


# fa7330cf 23-Feb-2012 Chiyoung Seo <chiyoung.seo@gmail.com>

Log compactor that compacts a mutation log periodically.

This is the initial implementation of the mutation log compactor.
The compactor is scheduled periodically and checks the
foll

Log compactor that compacts a mutation log periodically.

This is the initial implementation of the mutation log compactor.
The compactor is scheduled periodically and checks the
following conditions to see if the compaction is required for the
current mutation log file:

1) current mutation log size > max log size allowed,
2) num of total logged items > max entry num allowed,
3) write queue size < queue cap allowed,

If all the above conditions are satisfied, the compactor suspends
the persistence and then dumps the entire hash table into a new
log file and finally renames it to the original log file.

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

show more ...


# f8a1bdb8 20-Feb-2012 Trond Norbye <trond.norbye@gmail.com>

Improve error handling for reading mutation log

Change-Id: I94406d85f10d4245ee7c8cc04890eaf93fb7eef9
Reviewed-on: http://review.couchbase.org/13380
Reviewed-by: Chiyoung Seo <chiyoun

Improve error handling for reading mutation log

Change-Id: I94406d85f10d4245ee7c8cc04890eaf93fb7eef9
Reviewed-on: http://review.couchbase.org/13380
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>

show more ...


Revision tags: 1.8-MB-4738
# 4d05a0cb 07-Feb-2012 Dustin Sallings <dustin@spy.net>

Some doc updates.

There are still a few completely undocumented classes -- some of which
should probably just be marked as DETAILS so they don't show up in the
docs, but it's good to

Some doc updates.

There are still a few completely undocumented classes -- some of which
should probably just be marked as DETAILS so they don't show up in the
docs, but it's good to at least get a bit captured.

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

show more ...


# 502e5ed9 27-Jan-2012 Dustin Sallings <dustin@spy.net>

Allow log warmup failures.

Change-Id: Ie3ab0f22fdbafbf1b82c2b925133a7e4044a816e
Reviewed-on: http://review.couchbase.org/12726
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

Allow log warmup failures.

Change-Id: Ie3ab0f22fdbafbf1b82c2b925133a7e4044a816e
Reviewed-on: http://review.couchbase.org/12726
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Dustin Sallings <dustin@spy.net>

show more ...


# a71b32a9 27-Jan-2012 Dustin Sallings <dustin@spy.net>

Separate log instantiation from file opening.

Change-Id: I25320c2c882ad8879428b7e2aa5c24bd4abc9149
Reviewed-on: http://review.couchbase.org/12739
Reviewed-by: Chiyoung Seo <chiyoung.

Separate log instantiation from file opening.

Change-Id: I25320c2c882ad8879428b7e2aa5c24bd4abc9149
Reviewed-on: http://review.couchbase.org/12739
Reviewed-by: Chiyoung Seo <chiyoung.seo@gmail.com>
Tested-by: Dustin Sallings <dustin@spy.net>

show more ...


12