roma 0.8.11 → 0.8.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +31 -0
- data/ruby/server/bin/simple_bench +0 -15
- data/ruby/server/lib/roma/async_process.rb +214 -332
- data/ruby/server/lib/roma/command/bg_command_receiver.rb +19 -122
- data/ruby/server/lib/roma/command/vn_command_receiver.rb +33 -45
- data/ruby/server/lib/roma/config.rb +2 -0
- data/ruby/server/lib/roma/event/handler.rb +6 -1
- data/ruby/server/lib/roma/plugin/plugin_alist.rb +29 -3
- data/ruby/server/lib/roma/plugin/plugin_storage.rb +23 -2
- data/ruby/server/lib/roma/romad.rb +26 -20
- data/ruby/server/lib/roma/routing/cb_rttable.rb +28 -1
- data/ruby/server/lib/roma/routing/random_partitioner.rb +95 -0
- data/ruby/server/lib/roma/routing/routing_data.rb +1 -0
- data/ruby/server/lib/roma/stats.rb +24 -5
- data/ruby/server/lib/roma/storage/basic_storage.rb +21 -20
- data/ruby/server/lib/roma/storage/rh_storage.rb +15 -17
- data/ruby/server/lib/roma/storage/sqlite3_storage.rb +3 -0
- data/ruby/server/lib/roma/tools/simple_bench.rb +67 -18
- data/ruby/server/lib/roma/version.rb +1 -1
- data/ruby/server/test/t_cpdata.rb +1 -50
- data/ruby/server/test/t_eventmachine.rb +23 -0
- data/ruby/server/test/t_mhash.rb +0 -17
- data/ruby/server/test/t_protocol.rb +131 -0
- data/ruby/server/test/t_routing_data.rb +9 -0
- metadata +127 -132
data/CHANGELOG
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
+
*0.8.12 (Feb 12 2013)*
|
|
2
|
+
|
|
3
|
+
* refactor: for protocol [Hiroki Matsue] a6f9152
|
|
4
|
+
* Add test for context switch with eventmachine. [Hiroki Matsue] 50d0a84
|
|
5
|
+
* bugfix : Fixed when null is included in a list. [junji torii] 5436d3a
|
|
6
|
+
* Delete duplicated tests. [Hiroki Matsue] 3ba6a12
|
|
7
|
+
* refactor:for balance command [junji torii] 2216d61
|
|
8
|
+
* Modify each_vn_dump method. [Hiroki Matsue] 267fed9
|
|
9
|
+
* Delete sync command. [junji torii] 51daf17
|
|
10
|
+
* Delete dumpfile command. [junji torii] a6d8697
|
|
11
|
+
* refactor:Delete old command. [junji torii] 5595060
|
|
12
|
+
* refactor: for spushv_protection flag [junji torii] d6eaece
|
|
13
|
+
* Add spushv_protection flag [junji torii] e9efa79
|
|
14
|
+
* refactor:for release process [junji torii] 076228b
|
|
15
|
+
* refactor:join process [junji torii] f920dbc
|
|
16
|
+
* Add recover function in the partitioner module. [junji torii] 6a79cff
|
|
17
|
+
* refactor:Add alias. [junji torii] 7f31cb3
|
|
18
|
+
* fix:Protects the 'reqpushv' request in the join process. [junji torii] 0f7f106
|
|
19
|
+
* Delete a deprecated option and method in recover command. [junji torii] 8490094
|
|
20
|
+
* fix:run_iterate_storage flag is used in one thread. [junji torii] c273bcc
|
|
21
|
+
* refactor:Add new functions. [junji torii] debb5f6
|
|
22
|
+
* refactor:Delete a unused method. [junji torii] 5aae744
|
|
23
|
+
* refactor:Use the __method__ in log messages. [junji torii] a36fa0c
|
|
24
|
+
* refactor:Starting and stopping timing of cleanup process. [junji torii] 307bf73
|
|
25
|
+
* refactor:Unused code deleted. [junji torii] 7e4bbe7
|
|
26
|
+
* fix:Starting and stopping timing of cleanup process [junji torii] 0e1fc0d
|
|
27
|
+
* add random partitioner [junji torii] 190f58e
|
|
28
|
+
* add join_process [junji torii] 7879674
|
|
29
|
+
* Modify set command safer. [Hiroki Matsue] 91de5a8
|
|
30
|
+
* fix:for a problem of encording on 1.9.3 [junji torii] 0c68a58
|
|
31
|
+
|
|
1
32
|
*0.8.11 (Aug 8 2012)*
|
|
2
33
|
|
|
3
34
|
* Allocate cmd_aliases plugin. [firejun] f7555c2
|
|
@@ -9,18 +9,3 @@ $LOAD_PATH.unshift("#{client_base_path}/roma-ruby-client/lib")
|
|
|
9
9
|
|
|
10
10
|
require 'roma/tools/simple_bench'
|
|
11
11
|
|
|
12
|
-
if ARGV.length == 0
|
|
13
|
-
STDERR.puts "usage:simple_bench addr:port"
|
|
14
|
-
exit
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
tn=10
|
|
18
|
-
t=[]
|
|
19
|
-
tn.times{
|
|
20
|
-
t << Thread.new{
|
|
21
|
-
random_rquest_sender(ARGV)
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
t[0].join
|
|
26
|
-
|