Finalize multi-head approach
Reported by Yurii Rashkovskii | May 26th, 2008 @ 09:52 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 Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
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