roma 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +42 -2
  3. data/Gemfile +1 -15
  4. data/LICENSE +1 -1
  5. data/README.md +78 -0
  6. data/Rakefile +1 -62
  7. data/bin/chg_redundancy +10 -0
  8. data/bin/cpdb +7 -0
  9. data/bin/key_access +7 -0
  10. data/bin/key_list +7 -0
  11. data/bin/log_merger +7 -0
  12. data/{ruby/server/bin → bin}/mkconfig +3 -1
  13. data/bin/mkrecent +7 -0
  14. data/bin/mkroute +7 -0
  15. data/{ruby/server/bin → bin}/multi_commander +4 -3
  16. data/bin/recoverlost +11 -0
  17. data/bin/recoverlost_alist +10 -0
  18. data/bin/recoverlost_alist_all +10 -0
  19. data/bin/recoverlost_alist_keys +10 -0
  20. data/bin/roma_watcher +10 -0
  21. data/{ruby/server/bin → bin}/romad +3 -2
  22. data/bin/safecopy_integration_test +10 -0
  23. data/bin/safecopy_test +10 -0
  24. data/bin/sample_watcher +10 -0
  25. data/bin/sample_watcher2 +10 -0
  26. data/bin/sample_watcher3 +10 -0
  27. data/bin/simple_bench +11 -0
  28. data/bin/ssroute +10 -0
  29. data/bin/tc_data_restore.rb +123 -0
  30. data/bin/test-scenario +11 -0
  31. data/bin/tribunus +7 -0
  32. data/{ruby/server/lib → lib}/roma/async_process.rb +105 -26
  33. data/{ruby/server/lib → lib}/roma/command/bg_command_receiver.rb +0 -0
  34. data/{ruby/server/lib → lib}/roma/command/command_definition.rb +12 -12
  35. data/{ruby/server/lib → lib}/roma/command/mh_command_receiver.rb +4 -4
  36. data/{ruby/server/lib → lib}/roma/command/receiver.rb +0 -0
  37. data/{ruby/server/lib → lib}/roma/command/rt_command_receiver.rb +7 -0
  38. data/{ruby/server/lib → lib}/roma/command/sys_command_receiver.rb +68 -3
  39. data/{ruby/server/lib → lib}/roma/command/util_command_receiver.rb +0 -0
  40. data/{ruby/server/lib → lib}/roma/command/vn_command_receiver.rb +0 -0
  41. data/{ruby/server/lib → lib}/roma/command_plugin.rb +0 -0
  42. data/{ruby/server/lib → lib}/roma/config.rb +4 -1
  43. data/{ruby/server/lib → lib}/roma/dns_cache.rb +0 -0
  44. data/{ruby/server/lib → lib}/roma/event/con_pool.rb +0 -0
  45. data/{ruby/server/lib → lib}/roma/event/handler.rb +0 -0
  46. data/{ruby/server/lib → lib}/roma/logging/rlogger.rb +61 -2
  47. data/{ruby/server/lib → lib}/roma/messaging/con_pool.rb +14 -0
  48. data/{ruby/server/lib → lib}/roma/plugin/plugin_alist.rb +0 -0
  49. data/{ruby/server/lib → lib}/roma/plugin/plugin_cmd_aliases.rb +0 -0
  50. data/{ruby/server/lib → lib}/roma/plugin/plugin_debug.rb +0 -0
  51. data/{ruby/server/lib → lib}/roma/plugin/plugin_gui.rb +12 -13
  52. data/{ruby/server/lib → lib}/roma/plugin/plugin_map.rb +0 -0
  53. data/{ruby/server/lib → lib}/roma/plugin/plugin_mapcount.rb +0 -0
  54. data/{ruby/server/lib → lib}/roma/plugin/plugin_storage.rb +11 -11
  55. data/{ruby/server/lib → lib}/roma/plugin/plugin_test.rb +0 -0
  56. data/{ruby/server/lib → lib}/roma/romad.rb +25 -1
  57. data/{ruby/server/lib → lib}/roma/routing/cb_rttable.rb +0 -0
  58. data/{ruby/server/lib → lib}/roma/routing/merkle_tree.rb +0 -0
  59. data/{ruby/server/lib → lib}/roma/routing/random_balancer.rb +0 -0
  60. data/{ruby/server/lib → lib}/roma/routing/random_partitioner.rb +0 -0
  61. data/{ruby/server/lib → lib}/roma/routing/routing_data.rb +0 -0
  62. data/{ruby/server/lib → lib}/roma/routing/rttable.rb +0 -0
  63. data/{ruby/server/lib → lib}/roma/stats.rb +11 -0
  64. data/{ruby/server/lib → lib}/roma/storage/basic_storage.rb +3 -0
  65. data/{ruby/server/lib → lib}/roma/storage/dbm_storage.rb +0 -0
  66. data/{ruby/server/lib → lib}/roma/storage/dummy_storage.rb +0 -0
  67. data/lib/roma/storage/groonga_storage.rb +101 -0
  68. data/{ruby/server/lib → lib}/roma/storage/rh_storage.rb +0 -0
  69. data/{ruby/server/lib → lib}/roma/storage/sqlite3_storage.rb +0 -0
  70. data/{ruby/server/lib → lib}/roma/storage/tc_storage.rb +0 -0
  71. data/{ruby/server/lib → lib}/roma/tools/chg_redundancy.rb +0 -0
  72. data/{ruby/server/lib → lib}/roma/tools/cpdb.rb +13 -2
  73. data/{ruby/server/lib → lib}/roma/tools/key_access.rb +1 -1
  74. data/{ruby/server/lib → lib}/roma/tools/key_list.rb +1 -1
  75. data/{ruby/server/lib → lib}/roma/tools/log_merger.rb +0 -0
  76. data/{ruby/server/lib → lib}/roma/tools/mkconfig.rb +1 -1
  77. data/{ruby/server/lib → lib}/roma/tools/mkrecent.rb +1 -1
  78. data/{ruby/server/lib → lib}/roma/tools/mkroute.rb +5 -1
  79. data/{ruby/server/lib → lib}/roma/tools/multi_commander.rb +0 -0
  80. data/{ruby/server/lib → lib}/roma/tools/recoverlost.rb +0 -0
  81. data/{ruby/server/lib → lib}/roma/tools/recoverlost_alist.rb +0 -0
  82. data/{ruby/server/lib → lib}/roma/tools/recoverlost_alist_all.rb +0 -0
  83. data/{ruby/server/lib → lib}/roma/tools/recoverlost_alist_keys.rb +0 -0
  84. data/{ruby/server/lib → lib}/roma/tools/recoverlost_lib.rb +1 -1
  85. data/{ruby/server/lib → lib}/roma/tools/roma_watcher.rb +0 -0
  86. data/{ruby/server/lib → lib}/roma/tools/roma_watcher_config.yml.example +0 -0
  87. data/{ruby/server/lib → lib}/roma/tools/safecopy_integration_test.rb +0 -0
  88. data/{ruby/server/lib → lib}/roma/tools/safecopy_test.rb +0 -0
  89. data/{ruby/server/lib → lib}/roma/tools/sample_watcher.rb +0 -0
  90. data/{ruby/server/lib → lib}/roma/tools/sample_watcher2.rb +0 -0
  91. data/{ruby/server/lib → lib}/roma/tools/sample_watcher3.rb +0 -0
  92. data/{ruby/server/lib → lib}/roma/tools/simple_bench.rb +0 -0
  93. data/{ruby/server/lib → lib}/roma/tools/simple_bench2.rb +0 -0
  94. data/{ruby/server/lib → lib}/roma/tools/ssroute.rb +1 -1
  95. data/{ruby/server/lib → lib}/roma/tools/test-scenario.rb +3 -3
  96. data/{ruby/server/lib → lib}/roma/tools/tribunus.rb +1 -1
  97. data/lib/roma/version.rb +4 -0
  98. data/{ruby/server/lib → lib}/roma/write_behind.rb +0 -0
  99. data/{ruby/server/test → test}/config4mhash.rb +0 -0
  100. data/{ruby/server/test → test}/config4storage_error.rb +0 -0
  101. data/{ruby/server/test → test}/config4test.rb +0 -0
  102. data/{ruby/server/test → test}/rcirb.rb +0 -0
  103. data/{ruby/server/test → test}/roma-test-utils.rb +10 -14
  104. data/test/run-test.rb +20 -0
  105. data/{ruby/server/test → test}/storage_error_storage.rb +0 -0
  106. data/{ruby/server/test → test}/t_command_definition.rb +10 -10
  107. data/{ruby/server/test → test}/t_cpdata.rb +0 -0
  108. data/{ruby/server/test → test}/t_eventmachine.rb +0 -0
  109. data/{ruby/server/test → test}/t_listplugin.rb +9 -3
  110. data/{ruby/server/test → test}/t_mapcountplugin.rb +0 -0
  111. data/{ruby/server/test → test}/t_mapplugin.rb +9 -3
  112. data/{ruby/server/test → test}/t_mhash.rb +7 -7
  113. data/{ruby/server/test → test}/t_protocol.rb +0 -0
  114. data/{ruby/server/test → test}/t_rclient.rb +8 -2
  115. data/{ruby/server/test → test}/t_routing_data.rb +0 -0
  116. data/{ruby/server/test → test}/t_storage.rb +58 -26
  117. data/{ruby/server/test → test}/t_storage_error.rb +5 -3
  118. data/{ruby/server/test → test}/t_writebehind.rb +17 -17
  119. metadata +225 -122
  120. data/README +0 -17
  121. data/ruby/server/bin/chg_redundancy +0 -10
  122. data/ruby/server/bin/cpdb +0 -6
  123. data/ruby/server/bin/key_access +0 -7
  124. data/ruby/server/bin/key_list +0 -7
  125. data/ruby/server/bin/log_merger +0 -6
  126. data/ruby/server/bin/mkrecent +0 -6
  127. data/ruby/server/bin/mkroute +0 -6
  128. data/ruby/server/bin/recoverlost +0 -10
  129. data/ruby/server/bin/recoverlost_alist +0 -10
  130. data/ruby/server/bin/recoverlost_alist_all +0 -10
  131. data/ruby/server/bin/recoverlost_alist_keys +0 -10
  132. data/ruby/server/bin/roma_watcher +0 -7
  133. data/ruby/server/bin/safecopy_integration_test +0 -10
  134. data/ruby/server/bin/safecopy_test +0 -10
  135. data/ruby/server/bin/sample_watcher +0 -7
  136. data/ruby/server/bin/sample_watcher2 +0 -7
  137. data/ruby/server/bin/sample_watcher3 +0 -7
  138. data/ruby/server/bin/simple_bench +0 -11
  139. data/ruby/server/bin/ssroute +0 -6
  140. data/ruby/server/bin/test-scenario +0 -11
  141. data/ruby/server/bin/tribunus +0 -6
  142. data/ruby/server/lib/roma/version.rb +0 -4
  143. 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.0.0
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: ruby/server/bin
11
+ bindir: bin
11
12
  cert_chain: []
12
- date: 2014-09-30 00:00:00.000000000 Z
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: :runtime
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 server
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
- - ruby/server/bin/chg_redundancy
64
- - ruby/server/bin/cpdb
65
- - ruby/server/bin/key_access
66
- - ruby/server/bin/key_list
67
- - ruby/server/bin/log_merger
68
- - ruby/server/bin/mkconfig
69
- - ruby/server/bin/mkrecent
70
- - ruby/server/bin/mkroute
71
- - ruby/server/bin/multi_commander
72
- - ruby/server/bin/recoverlost
73
- - ruby/server/bin/recoverlost_alist
74
- - ruby/server/bin/recoverlost_alist_all
75
- - ruby/server/bin/recoverlost_alist_keys
76
- - ruby/server/bin/roma_watcher
77
- - ruby/server/bin/romad
78
- - ruby/server/bin/safecopy_integration_test
79
- - ruby/server/bin/safecopy_test
80
- - ruby/server/bin/sample_watcher
81
- - ruby/server/bin/sample_watcher2
82
- - ruby/server/bin/sample_watcher3
83
- - ruby/server/bin/simple_bench
84
- - ruby/server/bin/ssroute
85
- - ruby/server/bin/test-scenario
86
- - ruby/server/bin/tribunus
87
- - ruby/server/lib/roma/async_process.rb
88
- - ruby/server/lib/roma/command/bg_command_receiver.rb
89
- - ruby/server/lib/roma/command/command_definition.rb
90
- - ruby/server/lib/roma/command/mh_command_receiver.rb
91
- - ruby/server/lib/roma/command/receiver.rb
92
- - ruby/server/lib/roma/command/rt_command_receiver.rb
93
- - ruby/server/lib/roma/command/sys_command_receiver.rb
94
- - ruby/server/lib/roma/command/util_command_receiver.rb
95
- - ruby/server/lib/roma/command/vn_command_receiver.rb
96
- - ruby/server/lib/roma/command_plugin.rb
97
- - ruby/server/lib/roma/config.rb
98
- - ruby/server/lib/roma/dns_cache.rb
99
- - ruby/server/lib/roma/event/con_pool.rb
100
- - ruby/server/lib/roma/event/handler.rb
101
- - ruby/server/lib/roma/logging/rlogger.rb
102
- - ruby/server/lib/roma/messaging/con_pool.rb
103
- - ruby/server/lib/roma/plugin/plugin_alist.rb
104
- - ruby/server/lib/roma/plugin/plugin_cmd_aliases.rb
105
- - ruby/server/lib/roma/plugin/plugin_debug.rb
106
- - ruby/server/lib/roma/plugin/plugin_gui.rb
107
- - ruby/server/lib/roma/plugin/plugin_map.rb
108
- - ruby/server/lib/roma/plugin/plugin_mapcount.rb
109
- - ruby/server/lib/roma/plugin/plugin_storage.rb
110
- - ruby/server/lib/roma/plugin/plugin_test.rb
111
- - ruby/server/lib/roma/romad.rb
112
- - ruby/server/lib/roma/routing/cb_rttable.rb
113
- - ruby/server/lib/roma/routing/merkle_tree.rb
114
- - ruby/server/lib/roma/routing/random_balancer.rb
115
- - ruby/server/lib/roma/routing/random_partitioner.rb
116
- - ruby/server/lib/roma/routing/routing_data.rb
117
- - ruby/server/lib/roma/routing/rttable.rb
118
- - ruby/server/lib/roma/stats.rb
119
- - ruby/server/lib/roma/storage/basic_storage.rb
120
- - ruby/server/lib/roma/storage/dbm_storage.rb
121
- - ruby/server/lib/roma/storage/dummy_storage.rb
122
- - ruby/server/lib/roma/storage/rh_storage.rb
123
- - ruby/server/lib/roma/storage/sqlite3_storage.rb
124
- - ruby/server/lib/roma/storage/tc_storage.rb
125
- - ruby/server/lib/roma/tools/chg_redundancy.rb
126
- - ruby/server/lib/roma/tools/cpdb.rb
127
- - ruby/server/lib/roma/tools/key_access.rb
128
- - ruby/server/lib/roma/tools/key_list.rb
129
- - ruby/server/lib/roma/tools/log_merger.rb
130
- - ruby/server/lib/roma/tools/mkconfig.rb
131
- - ruby/server/lib/roma/tools/mkrecent.rb
132
- - ruby/server/lib/roma/tools/mkroute.rb
133
- - ruby/server/lib/roma/tools/multi_commander.rb
134
- - ruby/server/lib/roma/tools/recoverlost.rb
135
- - ruby/server/lib/roma/tools/recoverlost_alist.rb
136
- - ruby/server/lib/roma/tools/recoverlost_alist_all.rb
137
- - ruby/server/lib/roma/tools/recoverlost_alist_keys.rb
138
- - ruby/server/lib/roma/tools/recoverlost_lib.rb
139
- - ruby/server/lib/roma/tools/roma_watcher.rb
140
- - ruby/server/lib/roma/tools/roma_watcher_config.yml.example
141
- - ruby/server/lib/roma/tools/safecopy_integration_test.rb
142
- - ruby/server/lib/roma/tools/safecopy_test.rb
143
- - ruby/server/lib/roma/tools/sample_watcher.rb
144
- - ruby/server/lib/roma/tools/sample_watcher2.rb
145
- - ruby/server/lib/roma/tools/sample_watcher3.rb
146
- - ruby/server/lib/roma/tools/simple_bench.rb
147
- - ruby/server/lib/roma/tools/simple_bench2.rb
148
- - ruby/server/lib/roma/tools/ssroute.rb
149
- - ruby/server/lib/roma/tools/test-scenario.rb
150
- - ruby/server/lib/roma/tools/tribunus.rb
151
- - ruby/server/lib/roma/version.rb
152
- - ruby/server/lib/roma/write_behind.rb
153
- - ruby/server/test/config4mhash.rb
154
- - ruby/server/test/config4storage_error.rb
155
- - ruby/server/test/config4test.rb
156
- - ruby/server/test/rcirb.rb
157
- - ruby/server/test/roma-test-utils.rb
158
- - ruby/server/test/run-test.rb
159
- - ruby/server/test/storage_error_storage.rb
160
- - ruby/server/test/t_command_definition.rb
161
- - ruby/server/test/t_cpdata.rb
162
- - ruby/server/test/t_eventmachine.rb
163
- - ruby/server/test/t_listplugin.rb
164
- - ruby/server/test/t_mapcountplugin.rb
165
- - ruby/server/test/t_mapplugin.rb
166
- - ruby/server/test/t_mhash.rb
167
- - ruby/server/test/t_protocol.rb
168
- - ruby/server/test/t_rclient.rb
169
- - ruby/server/test/t_routing_data.rb
170
- - ruby/server/test/t_storage.rb
171
- - ruby/server/test/t_storage_error.rb
172
- - ruby/server/test/t_writebehind.rb
173
- homepage: http://code.google.com/p/roma-prj/
174
- licenses: []
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
- - ruby/server/lib
287
+ - lib
185
288
  required_ruby_version: !ruby/object:Gem::Requirement
186
289
  requirements:
187
290
  - - ">="
188
291
  - !ruby/object:Gem::Version
189
- version: '0'
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
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- path = File.dirname(File.expand_path($PROGRAM_NAME))
4
- $LOAD_PATH << path + "/../lib"
5
-
6
- require 'roma/tools/cpdb'
@@ -1,7 +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
- require 'roma/tools/key_access'
@@ -1,7 +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
- require 'roma/tools/key_list'
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- path = File.dirname(File.expand_path($PROGRAM_NAME))
4
- $LOAD_PATH << path + "/../lib"
5
-
6
- require 'roma/tools/log_merger'
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- path = File.dirname(File.expand_path($PROGRAM_NAME))
4
- $LOAD_PATH << path + "/../lib"
5
-
6
- require 'roma/tools/mkrecent'
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- path = File.dirname(File.expand_path($PROGRAM_NAME))
4
- $LOAD_PATH << path + "/../lib"
5
-
6
- require 'roma/tools/mkroute'
@@ -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,7 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- path = File.dirname(File.expand_path($PROGRAM_NAME))
4
- $LOAD_PATH << path + "/../lib"
5
- $LOAD_PATH << path + "/../../client/lib"
6
-
7
- require 'roma/tools/roma_watcher'
@@ -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,7 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- path = File.dirname(File.expand_path($PROGRAM_NAME))
4
- $LOAD_PATH << path + "/../lib"
5
- $LOAD_PATH << path + "/../../client/lib"
6
-
7
- require 'roma/tools/sample_watcher'
@@ -1,7 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- path = File.dirname(File.expand_path($PROGRAM_NAME))
4
- $LOAD_PATH << path + "/../lib"
5
- $LOAD_PATH << path + "/../../client/lib"
6
-
7
- require 'roma/tools/sample_watcher2'
@@ -1,7 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- path = File.dirname(File.expand_path($PROGRAM_NAME))
4
- $LOAD_PATH << path + "/../lib"
5
- $LOAD_PATH << path + "/../../client/lib"
6
-
7
- require 'roma/tools/sample_watcher3'
@@ -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
-
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- path = File.dirname(File.expand_path($PROGRAM_NAME))
4
- $LOAD_PATH << path + "/../lib"
5
-
6
- require 'roma/tools/ssroute'
@@ -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
-
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- path = File.dirname(File.expand_path($PROGRAM_NAME))
4
- $LOAD_PATH << path + "/../lib"
5
-
6
- require 'roma/tools/tribunus'
@@ -1,4 +0,0 @@
1
-
2
- module Roma
3
- VERSION = "1.0.0"
4
- end