roma 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +42 -2
- data/Gemfile +1 -15
- data/LICENSE +1 -1
- data/README.md +78 -0
- data/Rakefile +1 -62
- data/bin/chg_redundancy +10 -0
- data/bin/cpdb +7 -0
- data/bin/key_access +7 -0
- data/bin/key_list +7 -0
- data/bin/log_merger +7 -0
- data/{ruby/server/bin → bin}/mkconfig +3 -1
- data/bin/mkrecent +7 -0
- data/bin/mkroute +7 -0
- data/{ruby/server/bin → bin}/multi_commander +4 -3
- data/bin/recoverlost +11 -0
- data/bin/recoverlost_alist +10 -0
- data/bin/recoverlost_alist_all +10 -0
- data/bin/recoverlost_alist_keys +10 -0
- data/bin/roma_watcher +10 -0
- data/{ruby/server/bin → bin}/romad +3 -2
- data/bin/safecopy_integration_test +10 -0
- data/bin/safecopy_test +10 -0
- data/bin/sample_watcher +10 -0
- data/bin/sample_watcher2 +10 -0
- data/bin/sample_watcher3 +10 -0
- data/bin/simple_bench +11 -0
- data/bin/ssroute +10 -0
- data/bin/tc_data_restore.rb +123 -0
- data/bin/test-scenario +11 -0
- data/bin/tribunus +7 -0
- data/{ruby/server/lib → lib}/roma/async_process.rb +105 -26
- data/{ruby/server/lib → lib}/roma/command/bg_command_receiver.rb +0 -0
- data/{ruby/server/lib → lib}/roma/command/command_definition.rb +12 -12
- data/{ruby/server/lib → lib}/roma/command/mh_command_receiver.rb +4 -4
- data/{ruby/server/lib → lib}/roma/command/receiver.rb +0 -0
- data/{ruby/server/lib → lib}/roma/command/rt_command_receiver.rb +7 -0
- data/{ruby/server/lib → lib}/roma/command/sys_command_receiver.rb +68 -3
- data/{ruby/server/lib → lib}/roma/command/util_command_receiver.rb +0 -0
- data/{ruby/server/lib → lib}/roma/command/vn_command_receiver.rb +0 -0
- data/{ruby/server/lib → lib}/roma/command_plugin.rb +0 -0
- data/{ruby/server/lib → lib}/roma/config.rb +4 -1
- data/{ruby/server/lib → lib}/roma/dns_cache.rb +0 -0
- data/{ruby/server/lib → lib}/roma/event/con_pool.rb +0 -0
- data/{ruby/server/lib → lib}/roma/event/handler.rb +0 -0
- data/{ruby/server/lib → lib}/roma/logging/rlogger.rb +61 -2
- data/{ruby/server/lib → lib}/roma/messaging/con_pool.rb +14 -0
- data/{ruby/server/lib → lib}/roma/plugin/plugin_alist.rb +0 -0
- data/{ruby/server/lib → lib}/roma/plugin/plugin_cmd_aliases.rb +0 -0
- data/{ruby/server/lib → lib}/roma/plugin/plugin_debug.rb +0 -0
- data/{ruby/server/lib → lib}/roma/plugin/plugin_gui.rb +12 -13
- data/{ruby/server/lib → lib}/roma/plugin/plugin_map.rb +0 -0
- data/{ruby/server/lib → lib}/roma/plugin/plugin_mapcount.rb +0 -0
- data/{ruby/server/lib → lib}/roma/plugin/plugin_storage.rb +11 -11
- data/{ruby/server/lib → lib}/roma/plugin/plugin_test.rb +0 -0
- data/{ruby/server/lib → lib}/roma/romad.rb +25 -1
- data/{ruby/server/lib → lib}/roma/routing/cb_rttable.rb +0 -0
- data/{ruby/server/lib → lib}/roma/routing/merkle_tree.rb +0 -0
- data/{ruby/server/lib → lib}/roma/routing/random_balancer.rb +0 -0
- data/{ruby/server/lib → lib}/roma/routing/random_partitioner.rb +0 -0
- data/{ruby/server/lib → lib}/roma/routing/routing_data.rb +0 -0
- data/{ruby/server/lib → lib}/roma/routing/rttable.rb +0 -0
- data/{ruby/server/lib → lib}/roma/stats.rb +11 -0
- data/{ruby/server/lib → lib}/roma/storage/basic_storage.rb +3 -0
- data/{ruby/server/lib → lib}/roma/storage/dbm_storage.rb +0 -0
- data/{ruby/server/lib → lib}/roma/storage/dummy_storage.rb +0 -0
- data/lib/roma/storage/groonga_storage.rb +101 -0
- data/{ruby/server/lib → lib}/roma/storage/rh_storage.rb +0 -0
- data/{ruby/server/lib → lib}/roma/storage/sqlite3_storage.rb +0 -0
- data/{ruby/server/lib → lib}/roma/storage/tc_storage.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/chg_redundancy.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/cpdb.rb +13 -2
- data/{ruby/server/lib → lib}/roma/tools/key_access.rb +1 -1
- data/{ruby/server/lib → lib}/roma/tools/key_list.rb +1 -1
- data/{ruby/server/lib → lib}/roma/tools/log_merger.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/mkconfig.rb +1 -1
- data/{ruby/server/lib → lib}/roma/tools/mkrecent.rb +1 -1
- data/{ruby/server/lib → lib}/roma/tools/mkroute.rb +5 -1
- data/{ruby/server/lib → lib}/roma/tools/multi_commander.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/recoverlost.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/recoverlost_alist.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/recoverlost_alist_all.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/recoverlost_alist_keys.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/recoverlost_lib.rb +1 -1
- data/{ruby/server/lib → lib}/roma/tools/roma_watcher.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/roma_watcher_config.yml.example +0 -0
- data/{ruby/server/lib → lib}/roma/tools/safecopy_integration_test.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/safecopy_test.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/sample_watcher.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/sample_watcher2.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/sample_watcher3.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/simple_bench.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/simple_bench2.rb +0 -0
- data/{ruby/server/lib → lib}/roma/tools/ssroute.rb +1 -1
- data/{ruby/server/lib → lib}/roma/tools/test-scenario.rb +3 -3
- data/{ruby/server/lib → lib}/roma/tools/tribunus.rb +1 -1
- data/lib/roma/version.rb +4 -0
- data/{ruby/server/lib → lib}/roma/write_behind.rb +0 -0
- data/{ruby/server/test → test}/config4mhash.rb +0 -0
- data/{ruby/server/test → test}/config4storage_error.rb +0 -0
- data/{ruby/server/test → test}/config4test.rb +0 -0
- data/{ruby/server/test → test}/rcirb.rb +0 -0
- data/{ruby/server/test → test}/roma-test-utils.rb +10 -14
- data/test/run-test.rb +20 -0
- data/{ruby/server/test → test}/storage_error_storage.rb +0 -0
- data/{ruby/server/test → test}/t_command_definition.rb +10 -10
- data/{ruby/server/test → test}/t_cpdata.rb +0 -0
- data/{ruby/server/test → test}/t_eventmachine.rb +0 -0
- data/{ruby/server/test → test}/t_listplugin.rb +9 -3
- data/{ruby/server/test → test}/t_mapcountplugin.rb +0 -0
- data/{ruby/server/test → test}/t_mapplugin.rb +9 -3
- data/{ruby/server/test → test}/t_mhash.rb +7 -7
- data/{ruby/server/test → test}/t_protocol.rb +0 -0
- data/{ruby/server/test → test}/t_rclient.rb +8 -2
- data/{ruby/server/test → test}/t_routing_data.rb +0 -0
- data/{ruby/server/test → test}/t_storage.rb +58 -26
- data/{ruby/server/test → test}/t_storage_error.rb +5 -3
- data/{ruby/server/test → test}/t_writebehind.rb +17 -17
- metadata +225 -122
- data/README +0 -17
- data/ruby/server/bin/chg_redundancy +0 -10
- data/ruby/server/bin/cpdb +0 -6
- data/ruby/server/bin/key_access +0 -7
- data/ruby/server/bin/key_list +0 -7
- data/ruby/server/bin/log_merger +0 -6
- data/ruby/server/bin/mkrecent +0 -6
- data/ruby/server/bin/mkroute +0 -6
- data/ruby/server/bin/recoverlost +0 -10
- data/ruby/server/bin/recoverlost_alist +0 -10
- data/ruby/server/bin/recoverlost_alist_all +0 -10
- data/ruby/server/bin/recoverlost_alist_keys +0 -10
- data/ruby/server/bin/roma_watcher +0 -7
- data/ruby/server/bin/safecopy_integration_test +0 -10
- data/ruby/server/bin/safecopy_test +0 -10
- data/ruby/server/bin/sample_watcher +0 -7
- data/ruby/server/bin/sample_watcher2 +0 -7
- data/ruby/server/bin/sample_watcher3 +0 -7
- data/ruby/server/bin/simple_bench +0 -11
- data/ruby/server/bin/ssroute +0 -6
- data/ruby/server/bin/test-scenario +0 -11
- data/ruby/server/bin/tribunus +0 -6
- data/ruby/server/lib/roma/version.rb +0 -4
- data/ruby/server/test/run-test.rb +0 -17
metadata
CHANGED
@@ -1,24 +1,123 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roma
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Junji Torii
|
8
8
|
- Hiroki Matsue
|
9
|
+
- Hiroaki Iwase
|
9
10
|
autorequire:
|
10
|
-
bindir:
|
11
|
+
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date:
|
13
|
+
date: 2015-03-30 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: eventmachine
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - "~>"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 1.0.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - "~>"
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: 1.0.0
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: tokyocabinet
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - "~>"
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 1.29.1
|
36
|
+
type: :development
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 1.29.1
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: ffi
|
16
45
|
requirement: !ruby/object:Gem::Requirement
|
17
46
|
requirements:
|
18
47
|
- - ">="
|
19
48
|
- !ruby/object:Gem::Version
|
20
49
|
version: '0'
|
21
|
-
type: :
|
50
|
+
type: :development
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: gdbm
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
64
|
+
type: :development
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: sqlite3
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: rroonga
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
type: :development
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: test-unit
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
type: :development
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: rake
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ">="
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
120
|
+
type: :development
|
22
121
|
prerelease: false
|
23
122
|
version_requirements: !ruby/object:Gem::Requirement
|
24
123
|
requirements:
|
@@ -26,7 +125,7 @@ dependencies:
|
|
26
125
|
- !ruby/object:Gem::Version
|
27
126
|
version: '0'
|
28
127
|
description: |2
|
29
|
-
ROMA
|
128
|
+
ROMA is one of the data storing systems for distributed key-value stores. It is a completely decentralized distributed system that consists of multiple processes, called nodes, on several machines. It is based on pure P2P architecture like a distributed hash table, thus it provides high availability and scalability.
|
30
129
|
email:
|
31
130
|
executables:
|
32
131
|
- tribunus
|
@@ -38,6 +137,7 @@ executables:
|
|
38
137
|
- mkconfig
|
39
138
|
- safecopy_integration_test
|
40
139
|
- simple_bench
|
140
|
+
- tc_data_restore.rb
|
41
141
|
- mkrecent
|
42
142
|
- recoverlost
|
43
143
|
- mkroute
|
@@ -52,141 +152,144 @@ executables:
|
|
52
152
|
- romad
|
53
153
|
extensions: []
|
54
154
|
extra_rdoc_files:
|
55
|
-
- README
|
155
|
+
- README.md
|
56
156
|
- CHANGELOG
|
57
157
|
files:
|
58
158
|
- CHANGELOG
|
59
159
|
- Gemfile
|
60
160
|
- LICENSE
|
61
|
-
- README
|
161
|
+
- README.md
|
62
162
|
- Rakefile
|
63
|
-
-
|
64
|
-
-
|
65
|
-
-
|
66
|
-
-
|
67
|
-
-
|
68
|
-
-
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
79
|
-
-
|
80
|
-
-
|
81
|
-
-
|
82
|
-
-
|
83
|
-
-
|
84
|
-
-
|
85
|
-
-
|
86
|
-
-
|
87
|
-
-
|
88
|
-
-
|
89
|
-
-
|
90
|
-
-
|
91
|
-
-
|
92
|
-
-
|
93
|
-
-
|
94
|
-
-
|
95
|
-
-
|
96
|
-
-
|
97
|
-
-
|
98
|
-
-
|
99
|
-
-
|
100
|
-
-
|
101
|
-
-
|
102
|
-
-
|
103
|
-
-
|
104
|
-
-
|
105
|
-
-
|
106
|
-
-
|
107
|
-
-
|
108
|
-
-
|
109
|
-
-
|
110
|
-
-
|
111
|
-
-
|
112
|
-
-
|
113
|
-
-
|
114
|
-
-
|
115
|
-
-
|
116
|
-
-
|
117
|
-
-
|
118
|
-
-
|
119
|
-
-
|
120
|
-
-
|
121
|
-
-
|
122
|
-
-
|
123
|
-
-
|
124
|
-
-
|
125
|
-
-
|
126
|
-
-
|
127
|
-
-
|
128
|
-
-
|
129
|
-
-
|
130
|
-
-
|
131
|
-
-
|
132
|
-
-
|
133
|
-
-
|
134
|
-
-
|
135
|
-
-
|
136
|
-
-
|
137
|
-
-
|
138
|
-
-
|
139
|
-
-
|
140
|
-
-
|
141
|
-
-
|
142
|
-
-
|
143
|
-
-
|
144
|
-
-
|
145
|
-
-
|
146
|
-
-
|
147
|
-
-
|
148
|
-
-
|
149
|
-
-
|
150
|
-
-
|
151
|
-
-
|
152
|
-
-
|
153
|
-
-
|
154
|
-
-
|
155
|
-
-
|
156
|
-
-
|
157
|
-
-
|
158
|
-
-
|
159
|
-
-
|
160
|
-
-
|
161
|
-
-
|
162
|
-
-
|
163
|
-
-
|
164
|
-
-
|
165
|
-
-
|
166
|
-
-
|
167
|
-
-
|
168
|
-
-
|
169
|
-
-
|
170
|
-
-
|
171
|
-
-
|
172
|
-
-
|
173
|
-
|
174
|
-
|
163
|
+
- bin/chg_redundancy
|
164
|
+
- bin/cpdb
|
165
|
+
- bin/key_access
|
166
|
+
- bin/key_list
|
167
|
+
- bin/log_merger
|
168
|
+
- bin/mkconfig
|
169
|
+
- bin/mkrecent
|
170
|
+
- bin/mkroute
|
171
|
+
- bin/multi_commander
|
172
|
+
- bin/recoverlost
|
173
|
+
- bin/recoverlost_alist
|
174
|
+
- bin/recoverlost_alist_all
|
175
|
+
- bin/recoverlost_alist_keys
|
176
|
+
- bin/roma_watcher
|
177
|
+
- bin/romad
|
178
|
+
- bin/safecopy_integration_test
|
179
|
+
- bin/safecopy_test
|
180
|
+
- bin/sample_watcher
|
181
|
+
- bin/sample_watcher2
|
182
|
+
- bin/sample_watcher3
|
183
|
+
- bin/simple_bench
|
184
|
+
- bin/ssroute
|
185
|
+
- bin/tc_data_restore.rb
|
186
|
+
- bin/test-scenario
|
187
|
+
- bin/tribunus
|
188
|
+
- lib/roma/async_process.rb
|
189
|
+
- lib/roma/command/bg_command_receiver.rb
|
190
|
+
- lib/roma/command/command_definition.rb
|
191
|
+
- lib/roma/command/mh_command_receiver.rb
|
192
|
+
- lib/roma/command/receiver.rb
|
193
|
+
- lib/roma/command/rt_command_receiver.rb
|
194
|
+
- lib/roma/command/sys_command_receiver.rb
|
195
|
+
- lib/roma/command/util_command_receiver.rb
|
196
|
+
- lib/roma/command/vn_command_receiver.rb
|
197
|
+
- lib/roma/command_plugin.rb
|
198
|
+
- lib/roma/config.rb
|
199
|
+
- lib/roma/dns_cache.rb
|
200
|
+
- lib/roma/event/con_pool.rb
|
201
|
+
- lib/roma/event/handler.rb
|
202
|
+
- lib/roma/logging/rlogger.rb
|
203
|
+
- lib/roma/messaging/con_pool.rb
|
204
|
+
- lib/roma/plugin/plugin_alist.rb
|
205
|
+
- lib/roma/plugin/plugin_cmd_aliases.rb
|
206
|
+
- lib/roma/plugin/plugin_debug.rb
|
207
|
+
- lib/roma/plugin/plugin_gui.rb
|
208
|
+
- lib/roma/plugin/plugin_map.rb
|
209
|
+
- lib/roma/plugin/plugin_mapcount.rb
|
210
|
+
- lib/roma/plugin/plugin_storage.rb
|
211
|
+
- lib/roma/plugin/plugin_test.rb
|
212
|
+
- lib/roma/romad.rb
|
213
|
+
- lib/roma/routing/cb_rttable.rb
|
214
|
+
- lib/roma/routing/merkle_tree.rb
|
215
|
+
- lib/roma/routing/random_balancer.rb
|
216
|
+
- lib/roma/routing/random_partitioner.rb
|
217
|
+
- lib/roma/routing/routing_data.rb
|
218
|
+
- lib/roma/routing/rttable.rb
|
219
|
+
- lib/roma/stats.rb
|
220
|
+
- lib/roma/storage/basic_storage.rb
|
221
|
+
- lib/roma/storage/dbm_storage.rb
|
222
|
+
- lib/roma/storage/dummy_storage.rb
|
223
|
+
- lib/roma/storage/groonga_storage.rb
|
224
|
+
- lib/roma/storage/rh_storage.rb
|
225
|
+
- lib/roma/storage/sqlite3_storage.rb
|
226
|
+
- lib/roma/storage/tc_storage.rb
|
227
|
+
- lib/roma/tools/chg_redundancy.rb
|
228
|
+
- lib/roma/tools/cpdb.rb
|
229
|
+
- lib/roma/tools/key_access.rb
|
230
|
+
- lib/roma/tools/key_list.rb
|
231
|
+
- lib/roma/tools/log_merger.rb
|
232
|
+
- lib/roma/tools/mkconfig.rb
|
233
|
+
- lib/roma/tools/mkrecent.rb
|
234
|
+
- lib/roma/tools/mkroute.rb
|
235
|
+
- lib/roma/tools/multi_commander.rb
|
236
|
+
- lib/roma/tools/recoverlost.rb
|
237
|
+
- lib/roma/tools/recoverlost_alist.rb
|
238
|
+
- lib/roma/tools/recoverlost_alist_all.rb
|
239
|
+
- lib/roma/tools/recoverlost_alist_keys.rb
|
240
|
+
- lib/roma/tools/recoverlost_lib.rb
|
241
|
+
- lib/roma/tools/roma_watcher.rb
|
242
|
+
- lib/roma/tools/roma_watcher_config.yml.example
|
243
|
+
- lib/roma/tools/safecopy_integration_test.rb
|
244
|
+
- lib/roma/tools/safecopy_test.rb
|
245
|
+
- lib/roma/tools/sample_watcher.rb
|
246
|
+
- lib/roma/tools/sample_watcher2.rb
|
247
|
+
- lib/roma/tools/sample_watcher3.rb
|
248
|
+
- lib/roma/tools/simple_bench.rb
|
249
|
+
- lib/roma/tools/simple_bench2.rb
|
250
|
+
- lib/roma/tools/ssroute.rb
|
251
|
+
- lib/roma/tools/test-scenario.rb
|
252
|
+
- lib/roma/tools/tribunus.rb
|
253
|
+
- lib/roma/version.rb
|
254
|
+
- lib/roma/write_behind.rb
|
255
|
+
- test/config4mhash.rb
|
256
|
+
- test/config4storage_error.rb
|
257
|
+
- test/config4test.rb
|
258
|
+
- test/rcirb.rb
|
259
|
+
- test/roma-test-utils.rb
|
260
|
+
- test/run-test.rb
|
261
|
+
- test/storage_error_storage.rb
|
262
|
+
- test/t_command_definition.rb
|
263
|
+
- test/t_cpdata.rb
|
264
|
+
- test/t_eventmachine.rb
|
265
|
+
- test/t_listplugin.rb
|
266
|
+
- test/t_mapcountplugin.rb
|
267
|
+
- test/t_mapplugin.rb
|
268
|
+
- test/t_mhash.rb
|
269
|
+
- test/t_protocol.rb
|
270
|
+
- test/t_rclient.rb
|
271
|
+
- test/t_routing_data.rb
|
272
|
+
- test/t_storage.rb
|
273
|
+
- test/t_storage_error.rb
|
274
|
+
- test/t_writebehind.rb
|
275
|
+
homepage: http://roma-kvs.org/
|
276
|
+
licenses:
|
277
|
+
- GPL-3.0
|
175
278
|
metadata: {}
|
176
279
|
post_install_message:
|
177
280
|
rdoc_options:
|
178
281
|
- "--line-numbers"
|
179
282
|
- "--inline-source"
|
180
283
|
- "--main"
|
181
|
-
- README
|
284
|
+
- README.md
|
182
285
|
- "-c UTF-8"
|
183
286
|
require_paths:
|
184
|
-
-
|
287
|
+
- lib
|
185
288
|
required_ruby_version: !ruby/object:Gem::Requirement
|
186
289
|
requirements:
|
187
290
|
- - ">="
|
188
291
|
- !ruby/object:Gem::Version
|
189
|
-
version:
|
292
|
+
version: 2.1.0
|
190
293
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
294
|
requirements:
|
192
295
|
- - ">="
|
data/README
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
================================================================
|
2
|
-
ROMA: A Distributed Key-Value Store in Ruby
|
3
|
-
Copyright (C) 2009 Rakuten, Inc.
|
4
|
-
================================================================
|
5
|
-
|
6
|
-
ROMA is one of the data storing systems for distributed key-value
|
7
|
-
stores. It is a completely decentralized distributed system that
|
8
|
-
consists of multiple processes, called nodes, on several machines. It
|
9
|
-
is based on pure P2P architecture like a distributed hash table, thus
|
10
|
-
it provides high availability and scalability.
|
11
|
-
|
12
|
-
ROMA is written in Ruby. However, following choices are available to
|
13
|
-
access to ROMA.
|
14
|
-
|
15
|
-
* Client libraries of Ruby and Java are available.
|
16
|
-
* ROMA protocol is compatible with memcached text-based one so that
|
17
|
-
any memcached client libraries allows users to interact with ROMA.
|
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'pathname'
|
3
|
-
|
4
|
-
base_path = Pathname(__FILE__).dirname.parent.parent.expand_path
|
5
|
-
$LOAD_PATH.unshift("#{base_path}/server/lib")
|
6
|
-
|
7
|
-
client_base_path = Pathname(__FILE__).dirname.parent.parent.parent.parent.expand_path
|
8
|
-
$LOAD_PATH.unshift("#{client_base_path}/roma-ruby-client/lib")
|
9
|
-
|
10
|
-
require 'roma/tools/chg_redundancy'
|
data/ruby/server/bin/cpdb
DELETED
data/ruby/server/bin/key_access
DELETED
data/ruby/server/bin/key_list
DELETED
data/ruby/server/bin/log_merger
DELETED
data/ruby/server/bin/mkrecent
DELETED
data/ruby/server/bin/mkroute
DELETED
data/ruby/server/bin/recoverlost
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'pathname'
|
3
|
-
|
4
|
-
base_path = Pathname(__FILE__).dirname.parent.parent.expand_path
|
5
|
-
$LOAD_PATH.unshift("#{base_path}/server/lib")
|
6
|
-
|
7
|
-
client_base_path = Pathname(__FILE__).dirname.parent.parent.parent.parent.expand_path
|
8
|
-
$LOAD_PATH.unshift("#{client_base_path}/roma-ruby-client/lib")
|
9
|
-
|
10
|
-
require 'roma/tools/recoverlost'
|
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'pathname'
|
3
|
-
|
4
|
-
base_path = Pathname(__FILE__).dirname.parent.parent.expand_path
|
5
|
-
$LOAD_PATH.unshift("#{base_path}/server/lib")
|
6
|
-
|
7
|
-
client_base_path = Pathname(__FILE__).dirname.parent.parent.parent.parent.expand_path
|
8
|
-
$LOAD_PATH.unshift("#{client_base_path}/roma-ruby-client/lib")
|
9
|
-
|
10
|
-
require 'roma/tools/recoverlost_alist'
|
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'pathname'
|
3
|
-
|
4
|
-
base_path = Pathname(__FILE__).dirname.parent.parent.expand_path
|
5
|
-
$LOAD_PATH.unshift("#{base_path}/server/lib")
|
6
|
-
|
7
|
-
client_base_path = Pathname(__FILE__).dirname.parent.parent.parent.parent.expand_path
|
8
|
-
$LOAD_PATH.unshift("#{client_base_path}/roma-ruby-client/lib")
|
9
|
-
|
10
|
-
require 'roma/tools/recoverlost_alist_all'
|
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'pathname'
|
3
|
-
|
4
|
-
base_path = Pathname(__FILE__).dirname.parent.parent.expand_path
|
5
|
-
$LOAD_PATH.unshift("#{base_path}/server/lib")
|
6
|
-
|
7
|
-
client_base_path = Pathname(__FILE__).dirname.parent.parent.parent.parent.expand_path
|
8
|
-
$LOAD_PATH.unshift("#{client_base_path}/roma-ruby-client/lib")
|
9
|
-
|
10
|
-
require 'roma/tools/recoverlost_alist_keys'
|
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'pathname'
|
3
|
-
|
4
|
-
base_path = Pathname(__FILE__).dirname.parent.parent.expand_path
|
5
|
-
$LOAD_PATH.unshift("#{base_path}/server/lib")
|
6
|
-
|
7
|
-
client_base_path = Pathname(__FILE__).dirname.parent.parent.parent.parent.expand_path
|
8
|
-
$LOAD_PATH.unshift("#{client_base_path}/roma-ruby-client/lib")
|
9
|
-
|
10
|
-
require 'roma/tools/safecopy_integration_test'
|
@@ -1,10 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'pathname'
|
3
|
-
|
4
|
-
base_path = Pathname(__FILE__).dirname.parent.parent.expand_path
|
5
|
-
$LOAD_PATH.unshift("#{base_path}/server/lib")
|
6
|
-
|
7
|
-
client_base_path = Pathname(__FILE__).dirname.parent.parent.parent.parent.expand_path
|
8
|
-
$LOAD_PATH.unshift("#{client_base_path}/roma-ruby-client/lib")
|
9
|
-
|
10
|
-
require 'roma/tools/safecopy_test'
|
@@ -1,11 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'pathname'
|
3
|
-
|
4
|
-
base_path = Pathname(__FILE__).dirname.parent.parent.expand_path
|
5
|
-
$LOAD_PATH.unshift("#{base_path}/server/lib")
|
6
|
-
|
7
|
-
client_base_path = Pathname(__FILE__).dirname.parent.parent.parent.parent.expand_path
|
8
|
-
$LOAD_PATH.unshift("#{client_base_path}/roma-ruby-client/lib")
|
9
|
-
|
10
|
-
require 'roma/tools/simple_bench'
|
11
|
-
|
data/ruby/server/bin/ssroute
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'pathname'
|
3
|
-
|
4
|
-
base_path = Pathname(__FILE__).dirname.parent.parent.expand_path
|
5
|
-
$LOAD_PATH.unshift("#{base_path}/server/lib")
|
6
|
-
|
7
|
-
client_base_path = Pathname(__FILE__).dirname.parent.parent.parent.parent.expand_path
|
8
|
-
$LOAD_PATH.unshift("#{client_base_path}/roma-ruby-client/lib")
|
9
|
-
|
10
|
-
require 'roma/tools/test-scenario'
|
11
|
-
|
data/ruby/server/bin/tribunus
DELETED