Skip to content

Commit

Permalink
proper ascii art markdown for DESIGN.md
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyen committed Jul 23, 2015
1 parent 0027abe commit 187d202
Showing 1 changed file with 24 additions and 27 deletions.
51 changes: 24 additions & 27 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,33 +354,30 @@ look for the return of the shunned node.
add cmd-line tools/params for outside systems (like ns-server) to
add/remove nodes?

From rebalance-flow.txt on concurrency...

%% VBucket Move Scheduling
%% Time
%%
%% | /------------\
%% | | Backfill 0 | Backfills cannot happen
%% | \------------/ concurrently.
%% | | /------------\
%% | +------------+ | Backfill 1 |
%% | | Index File | \------------/
%% | | 0 | |
%% | | | +------------+ However, indexing _can_ happen
%% | | | | Index File | concurrently with backfills and
%% | | | | 1 | other indexing.
%% | | | | |
%% | +------------+ | |
%% | | | |
%% | | +------------+
%% | | |
%% | \---------+---------/
%% | |
%% | /--------------------------------\ Compaction for a set of vbucket moves
%% | | Compact both source and dest. | cannot happen concurrently with other
%% v \--------------------------------/ vbucket moves.
%%
%%
From rebalance-flow.txt, Aaron's diagram on concurrency...

VBucket Move Scheduling
Time
| /------------\
| | Backfill 0 | Backfills cannot happen
| \------------/ concurrently.
| | /------------\
| +------------+ | Backfill 1 |
| | Index File | \------------/
| | 0 | |
| | | +------------+ However, indexing _can_ happen
| | | | Index File | concurrently with backfills and
| | | | 1 | other indexing.
| | | | |
| +------------+ | |
| | | |
| | +------------+
| | |
| \---------+---------/
| |
| /--------------------------------\ Compaction for a set of vbucket moves
| | Compact both source and dest. | cannot happen concurrently with other
v \--------------------------------/ vbucket moves.

Policy ideas...

Expand Down

0 comments on commit 187d202

Please sign in to comment.