Switch branches/tags
Nothing to show
Commits on Jun 14, 2011
  1. Don't automatically start SASL.

    Change-Id: Iaf1d2821999ee14415e290ea30cabdb54f98dcca
    committed Jun 14, 2011
  2. Support all-vbucket dump tap streams.

    closes #11
    Change-Id: Ifcbfdc224cade010c4f0064fa05cc541e1574cfa
    committed Jun 14, 2011
  3. Fix up the vbucket list API to not be incredibly stupid.

    Change-Id: If878943951fe4ac348ae7d6dc5ead8fcc8a9c423
    committed Jun 14, 2011
  4. Make vbucket listing reusable in mc_tap.

    Change-Id: I4d86de520169e96b06b403fbebbbe8ea8510f5cc
    committed Jun 14, 2011
  5. Use supervisors to manage crashes better.

    Now crashing the FSM that manages the backend will cause the
    connections to drop instead of just be orphaned.
    closes #12
    Change-Id: I99105f8ef9abf8949049ae0e9ea63cfe117f7cdc
    committed Jun 14, 2011
  6. Fix typo (stfats -> stats)

    fdmanana committed Jun 14, 2011
  7. Return errors from setq.

    closes #10
    Change-Id: I3e51e9ff5e5c6b7e174ee41ee0b83cac9581f0f4
    committed Jun 14, 2011
  8. Some minor code cleanup.

    Change-Id: Ie4302859962bda05131321086526e46f3ee58723
    committed Jun 14, 2011
Commits on Jun 13, 2011
  1. Proper batching via setq+noop.

    closes #9
    Change-Id: I055e15f8da08ebccfa83e972d851a50d92e27c7d
    committed Jun 13, 2011
  2. Fix fsm async set invocation.

    Change-Id: I699c2d1599d65d13d114b8b2646dd98d7ffd8c06
    committed Jun 13, 2011
  3. Fix json decoder error handling.

    Change-Id: Ie3ab5d8d134c9f69786aed67111746ff21b37ce6
    committed Jun 13, 2011
  4. Don't log gets.

    Change-Id: I7fe944c80f3886c0a641730e0f87d57aec9864f4
    committed Jun 13, 2011
  5. Converted mc_daemon from a gen_server to a gen_fsm.

    Change-Id: Iaf1d46f297b1a9b46d5e20f2ffff9f36b19de6bb
    committed Jun 13, 2011
  6. Do setq async.

    This is like, too async.  NOOP doesn't do the right thing here and
    errors are lost.
    Change-Id: I50fdc5b0fde3b29105af314d52d73e69cce254a0
    committed Jun 13, 2011
  7. Handle a binary multiset.

    closes #2
    Change-Id: I0d9fe28ef7005f1aa0add1c77960ecd103653536
    committed Jun 13, 2011
  8. Decrease logging a bit.

    Change-Id: I09c2f9eefc7c37f9f9155c4e19b32d9441fa426d
    committed Jun 13, 2011
  9. Return EINVAL for commands we know with args we don't.

    closes #8
    Change-Id: I836dddf6d765ed3c30cca0574b1810f4040ac628
    committed Jun 13, 2011
  10. Read new vbucket state from the flags.

    closes #3
    Change-Id: I5616928701ca25e01c507bea1cf06a04b5703999
    committed Jun 13, 2011
Commits on Jun 12, 2011
  1. Remove superfluous couch_db:get_db_info call from tap.

    Change-Id: Ib3dbaf6ca03391cb2e8c6e5b4f98b479cf84d6ca
    committed Jun 12, 2011
  2. Return the expiration from mv_couch_kv:get (for tap)

    closes #1
    Change-Id: I4b2df5c2a86cee077baf9b925ac519dc81f44148
    committed Jun 12, 2011
  3. Don't send an 8 byte engine specific length on tap mutation.

    (I'm not sending engine-specific data)
    closes #5
    Change-Id: Iadbcfe1c0ed96b6154e4feb5a0919bf08241c88c
    committed Jun 12, 2011
  4. Avoid so many list/iolist to binary conversions

    It's tedious to convert the db name to a binary in several
    places. Also, the JSON decoder accepts IOLists as input,
    therefore there's no need to convert the JSON blob to binary.
    fdmanana committed Jun 12, 2011
  5. Simpler addRev API

    No need to pass a key (document ID) parameter as it can be
    found in the document passed to this function.
    fdmanana committed Jun 12, 2011
  6. Simpler mc_couch_kv:delete/2 implementation

    Also a bit more efficient, as it avoids loading the current
    document body and doing a small EJSON to DOC conversion.
    fdmanana committed Jun 12, 2011
Commits on Jun 10, 2011
  1. Avoid unnecessary list to binary conversions

    The iolist_size/1 BIF works for lists and binaries.
    fdmanana committed Jun 10, 2011
  2. Turn down some obnoxious logging.

    Change-Id: I249efbaacbc8e7b4a410d163df9663d4b8e10346
    committed Jun 10, 2011
  3. Basic tap support (dump + 1 vbucket).

    Change-Id: Ia8e40f76ac50f262af9876d1a6df1cc4d5e4893d
    committed Jun 10, 2011
  4. Allow sending a non-response (for tap).

    Change-Id: Ic5e2812e49a894c903b547249a26d45956212d31
    committed Jun 10, 2011
Commits on Jun 9, 2011
  1. Refactored message reading.

    Change-Id: I289fe0d4f70b0333dc93b691f438f0953a946db3
    committed Jun 9, 2011
  2. Fixes to mc_couch_kv:addRev/3

    The revision was not being properly extracted from the #doc_info record.
    fdmanana committed Jun 9, 2011
  3. Fixed JSON encoder/decoder reference.

    Change-Id: Icc6167fbe53b3d0a13cf11e836f1c7f50e007ebf
    committed Jun 9, 2011
  4. Always allow vbucket deletion.

    Previously, we would only allow vbucket deletion for vbuckets in the
    "dead" state.  This is consistent with the outward face of bucket
    engine, but for our internal usage, it just makes stuff take longer.
    Change-Id: If9b573434b488b009c88db926b3608ac235bbc9d
    committed Jun 9, 2011
Commits on May 2, 2011
  1. Minor fixups to Damien's awesome code.

    Change-Id: I3fde0932001f6e63f59bfafd78a3dfdaf7990867
    committed May 2, 2011
  2. More efficient document construction.

    Avoid base64 encoding/decoding, and loading just the doc meta info
    instead of the whole document to get the previous rev.
    Damien Katz committed with May 2, 2011