about summary refs log tree commit
path: root/lib/metropolis/tc/hdb/ro.rb
DateCommit message (Collapse)
2010-12-10String#hash is not stable across processes :<
We need to implement our own hash functions for splitting databases across multiple files. This was totally fucking up Rainbows!
2010-11-23tc/hdb: add exclusive mode, lock disabling
The :exclusive mode behaves like TokyoTyrant and keeps the database opened in read-write mode, preventing other processes from accessing the database. This will be useful on Rubies without a GVL. :readonly no longer disables locking by default instead "rdlock=false" must be passed in the query parameter. Write locks may also be disabled with the "wrlock=false" query parameter.
2010-11-23split out common read-only code
It makes sense for other databases to share the same code.
2010-11-23fix readonly interface
use 403 to reject PUT/DELETE requests
2010-11-23rename internal "TokyoCabinet" => "TC"
It's less typing and less likely to clash on both the eyes and the interpreter.