Finalize multi-head approach
Reported by Yurii Rashkovskii | May 26th, 2008 @ 08:32 PM
Currently we have only one ("master") head, but it would be quite easy to improve it. Steps to do:
- Rename head version uuid:
RAW_HEAD_VERSION_UUID = Util.sha1_uuid("strokedb-internal:head-version").to_raw_uuid
# replace with
RAW_MASTER_HEAD_VERSION_UUID = Util.sha1_uuid("master").to_raw_uuid
- Add optional branch parameter to #find, #save_as_head! and #head_version (defaults to "master")
This branch parameter is basically that version parameter...
- Make #save! and #perform_save! use this stuff
- Allow to Document#save!(branch="..")
- Make MemoryStorage use the same schema
Comments and changes to this ticket
-
Yurii Rashkovskii May 26th, 2008 @ 08:32 PM
- → Assigned user changed from Oleg Andreev to Yurii Rashkovskii
-
-
Yurii Rashkovskii May 26th, 2008 @ 10:47 PM
- → State changed from new to open
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
StrokeDB is an embeddable distributed document database written in Ruby
