diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2010-05-30 04:41:50 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2010-05-30 04:41:50 +0000 |
commit | 4bfc868fa38694920f916a2d7b3f93f1c5cab28a (patch) | |
tree | 0007c480d3b7f900c96e2915c058559fe2b01dc8 /databases/flare/files/patch-flared-flared.cc | |
parent | fix typo failing install (diff) |
Add flare 1.0.9, is distributed, and persistent key-value storage
compatible / memcached, and has more features(as follows):
* persistent storage (you can use flare as persistent memcached)
* pluggable storage (currently only Tokyo Cabinet is available, though:)
* data replication (synchronous or asynchronous)
* data partitioning (automatically partitioned according to # of master
servers (clients do not have to care about it))
* dynamic reconstruction, and partitioning (you can dynamically (I mean,
without any service interruption) add slave servers and partition
master servers)
* node monitoring and failover (if any server is down, the server is
automatically isolated from active servers and another slave server
is promoted to master server)
* request proxy (you can always get same result regardless of servers
you connect to. so you can think flare servers as one big key-value
storage)
* over 256 bytes keys, and over 1M bytes values are available
WWW: http://labs.gree.jp/Top/OpenSource/Flare-en.html
Notes
Notes:
svn path=/head/; revision=255301
Diffstat (limited to 'databases/flare/files/patch-flared-flared.cc')
-rw-r--r-- | databases/flare/files/patch-flared-flared.cc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/flare/files/patch-flared-flared.cc b/databases/flare/files/patch-flared-flared.cc new file mode 100644 index 000000000000..806e18603b27 --- /dev/null +++ b/databases/flare/files/patch-flared-flared.cc @@ -0,0 +1,21 @@ +--- src/flared/flared.cc.orig 2009-10-09 19:08:47.000000000 +0900 ++++ src/flared/flared.cc 2010-05-30 00:39:38.664817940 +0900 +@@ -116,6 +116,7 @@ + log_notice("application startup in progress...", 0); + log_notice(" back_log: %d", ini_option_object().get_back_log()); + log_notice(" config_path: %s", ini_option_object().get_config_path().c_str()); ++ log_notice(" pid_path: %s", ini_option_object().get_pid_path().c_str()); + log_notice(" daemonize: %s", ini_option_object().is_daemonize() ? "true" : "false"); + log_notice(" data_dir: %s", ini_option_object().get_data_dir().c_str()); + log_notice(" index_server_name: %s", ini_option_object().get_index_server_name().c_str()); +@@ -309,7 +310,9 @@ + + // {{{ protected methods + string flared::_get_pid_path() { +- return ini_option_object().get_data_dir() + "/" + this->_ident + ".pid"; ++ return ini_option_object().get_pid_path().empty() ? ++ ini_option_object().get_data_dir() + "/" + this->_ident + ".pid" : ++ ini_option_object().get_pid_path(); + }; + // }}} + |