Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Write batch#56

Open
kkoser wants to merge 2 commits into
nhachicha:masterfrom
kkoser:WriteBatch
Open

Write batch#56
kkoser wants to merge 2 commits into
nhachicha:masterfrom
kkoser:WriteBatch

Conversation

@kkoser
Copy link
Copy Markdown

@kkoser kkoser commented Jun 26, 2015

Feature implementation for #47. This provides the ability to create and commit WriteBatches to the DB by wrapping the native leveled WriteBatch class.

kkoser and others added 2 commits June 25, 2015 15:04
Added a new WriteBatch class that wraps the native leveldb implementation. It allows for batching multiple requests together and then committing all of those actions at the same time. Also added tests for the new WriteBatch feature.
@nhachicha
Copy link
Copy Markdown
Owner

Hi @kkoser thanks for the PR (&@littledot for the initial review), it looks neat

I'll give it a full review & work on it probably next week-end

There are couple of aspect we need to check

  • Thread safety & race condition

  • Holding a long running open WriteBatch & the impact on read

  • Find a way to reduce code duplication with DBImpl

  • Some minor naming conventions

    Watch this space!
    Cheers,

@nhachicha nhachicha added the wip label Jun 27, 2015
@nhachicha nhachicha added this to the 0.6.0 milestone Jun 27, 2015
@kkoser
Copy link
Copy Markdown
Author

kkoser commented Jul 8, 2015

Hi @nhachicha is there anything I can do to help get this merged? Thanks!!

@nhachicha
Copy link
Copy Markdown
Owner

The general idea LGTM, although we need to find a way to reduce code duplication for DBImpl & we need to assess the impact on holding long running write on read ops.

been very busy with work lately, but hopefully I'll have the chance to review in more details probably this WE.

Cheers,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants