Scott Lystig Fritchie
3bd575899f
WIP: narrowing in on repair problems due to double-write errors 2
2016-02-10 16:39:57 +09:00
Scott Lystig Fritchie
a7f42d636e
WIP: narrowing in on repair problems due to double-write errors
2016-02-09 01:27:58 +09:00
Scott Lystig Fritchie
fbb0203f67
WIP: most eunit tests fixed, chain repair intermittently broken
2016-02-08 22:04:09 +09:00
Scott Lystig Fritchie
a3fc1c3d68
Add namespace info to wedge_status API call; add namespace enforcement @ machi_flu1_net_server
2015-12-31 14:34:15 +09:00
Scott Lystig Fritchie
c65424569d
Use 'bool' type in PB spec where feasible
2015-12-29 19:17:18 +09:00
Scott Lystig Fritchie
3c6f1be5d0
Change read_chunk options to use new #read_opts{}
2015-12-29 18:47:08 +09:00
Scott Lystig Fritchie
e24acb7246
Clean up internal protocol<->tuple mappings for correct epoch checking
2015-12-29 17:26:09 +09:00
Scott Lystig Fritchie
5a65a164c3
Remove straggler CoC items in code
2015-12-29 16:01:52 +09:00
Scott Lystig Fritchie
3d730ea215
write_chunk API refactoring; all tests pass; todo tasks remain
2015-12-29 14:13:33 +09:00
Scott Lystig Fritchie
6089ee6851
read_chunk API refactoring; all tests pass; todo tasks remain
2015-12-29 14:13:33 +09:00
Scott Lystig Fritchie
2932a17ea6
append_chunk API refactoring; all tests pass; todo tasks remain
2015-12-29 14:13:29 +09:00
Scott Lystig Fritchie
70d42a3fb5
Merge pull request #55 from basho/ss/flu1-factorization2
...
Ss/flu1 factorization2
2015-12-18 17:19:17 +09:00
Scott Lystig Fritchie
c49ccafdc6
Merge slf/flu-config-rcd-style
2015-12-18 15:41:02 +09:00
Shunichi Shinohara
dffb73330d
Dialyzer and eunit fix
2015-12-16 17:56:17 +09:00
Shunichi Shinohara
3a0086afb2
Change listen port to avoid eaddrinuse on Linux
2015-12-16 17:38:28 +09:00
Scott Lystig Fritchie
463d20a9fd
Add 'quick admin' config management tool/hack
2015-12-16 16:41:11 +09:00
Scott Lystig Fritchie
6f077fbb62
New machi_lifecycle_mgr_test, AST spec -> running FLUs & chains works!
2015-12-11 19:07:00 +09:00
Scott Lystig Fritchie
e55115fdba
All EUnit tests in machi_lifecycle_mgr_test pass!
2015-12-11 17:28:27 +09:00
Scott Lystig Fritchie
009bad230f
WIP: change internal types for most strings -> atom to match chmgr internal use
2015-12-11 16:36:18 +09:00
Scott Lystig Fritchie
6b7d871ada
WIP: diff in progress 2
2015-12-11 16:26:13 +09:00
Scott Lystig Fritchie
1db232db1b
WIP: diff in progress
2015-12-11 15:33:31 +09:00
Scott Lystig Fritchie
3826af8ee2
WIP: dict -> gb_trees, 2 of 2
2015-12-11 13:17:33 +09:00
Scott Lystig Fritchie
df8eea8c10
WIP: dict -> gb_trees, 1 of 2
2015-12-11 12:54:54 +09:00
Scott Lystig Fritchie
61eae1300f
WIP: finish basic 'run', add negative tests
2015-12-11 12:43:38 +09:00
Shunichi Shinohara
436c308db2
Merge pull request #46 from basho/ss/flu1-factorization1-ranch
...
FLU1 Factorization 1/N: Introduce ranch and factor out socket handling process
2015-12-11 10:16:10 +09:00
Scott Lystig Fritchie
3ee3de1aaf
WIP: end of day
2015-12-10 23:44:27 +09:00
Scott Lystig Fritchie
6a5c590ad1
WIP: AST change {chain,...} thingie
2015-12-10 23:05:08 +09:00
Scott Lystig Fritchie
c37f23d97a
WIP: 'Run' AST thingie ha, take that, wheel!
2015-12-10 22:53:17 +09:00
Scott Lystig Fritchie
9cec53eea6
Yet another strawman AST
2015-12-10 19:18:25 +09:00
Scott Lystig Fritchie
9472bad37b
Clean up test errors
2015-12-10 15:57:35 +09:00
Scott Lystig Fritchie
cb706f0d23
Add test/machi_lifecycle_mgr_test.erl
2015-12-10 15:20:56 +09:00
Shunichi Shinohara
2e2d282afc
Use outside of ephemeral port range to listen on
...
When there is TCP_WAIT connection whose local part has
port to be listened, listen (bind) will fail by eaddrinuse
_on Linux_ (won't on Mac OS X).
This commit also adds some logs and pattern matches.
Reference
- Ephemeral port - Wikipedia, the free encyclopedia
https://en.wikipedia.org/wiki/Ephemeral_port
"Many Linux kernels use the port range 32768 to 61000.[note 2]
FreeBSD has used the IANA port range since release 4.6. Previous
versions, including the Berkeley Software Distribution (BSD), use
ports 1024 to 5000 as ephemeral ports.[2]"
- Demostration of collision between already-closed ephemeral port
and listen port on Linux (Mac OS X allows)
https://gist.github.com/shino/36ae1e01608366d52236
2015-12-09 18:04:50 +09:00
Scott Lystig Fritchie
b243a9b863
Avoid TCP port # reuse in machi_flu_psup_test tests
2015-12-09 12:29:59 +09:00
Shunichi Shinohara
ade4430d30
More cleaner clean up
2015-12-09 10:29:45 +09:00
Shunichi Shinohara
aa0a0413d1
Cosmetics of comments, specs, whitespaces and unit tests refactoring
2015-12-09 09:58:34 +09:00
Shunichi Shinohara
a1f5a6ce62
Fix unit test cases around flu1 startup
2015-12-09 09:58:34 +09:00
Shunichi Shinohara
a8785e44b1
Set longer timeout for hyooge binary write test case
2015-12-09 09:46:11 +09:00
Shunichi Shinohara
83b4466a85
Merge pull request #50 from basho/slf/doc-name-game2
...
Review & merge slf/doc-name-game2
2015-12-09 09:45:11 +09:00
Scott Lystig Fritchie
3391c89818
Clean up verbosity of nonunanimous_setup_and_fix_test2()
2015-12-08 16:29:56 +09:00
Scott Lystig Fritchie
e27a59e20f
Merge pull request #51 from basho/ku/eleveldb
...
LevelDB introduction
2015-12-08 16:04:52 +09:00
Scott Lystig Fritchie
27e8a31307
Fix fitness timing problem with short-circuit +trigger_early_adjustment/2
2015-12-08 15:27:47 +09:00
Scott Lystig Fritchie
ef10ebed22
WIP: now trying to diagnose fitness server bug?
2015-12-08 14:50:16 +09:00
Scott Lystig Fritchie
1bc9033076
Yay, all tests pass!
2015-12-07 22:15:23 +09:00
Scott Lystig Fritchie
38e63e8181
Add & remove, mostly working (2 eunit tests broken)
2015-12-07 21:52:27 +09:00
Scott Lystig Fritchie
5aeaf872d9
WIP: machi_chain_manager1:set_chain_members() API change, all tests pass, yay
2015-12-07 14:41:56 +09:00
UENISHI Kota
89e80a8862
Fix GC not running
2015-12-07 12:07:46 +09:00
UENISHI Kota
07c2b97918
Change checksum_list API to return a t2b list
2015-12-07 10:55:45 +09:00
Scott Lystig Fritchie
1d3d121d83
Simple fix for #52 : file size matters
2015-12-07 10:24:19 +09:00
UENISHI Kota
befa776685
Fix several new bugs
2015-12-04 17:38:36 +09:00
UENISHI Kota
8528567954
Add eleveldb with sext to use it as metadata storage
...
First step is to use as checksum table. It will also used for file
names store and *ALL* other persistent metadata than files.
2015-12-04 16:38:57 +09:00