Consider getting rid of FixedLengthSkiplistVolume
Reported by Yurii Rashkovskii | May 14th, 2008 @ 07:05 AM
What about getting rid of FixedLengthSkiplistVolume in favor of SkiplistVolume? This way we'll have less code to manage, not to mention that apparently we have some "floating" bug with FixedLengthSkiplistVolume:
NoMethodError: undefined method `[]' for nil:NilClass
from /Users/yrashk/Development/idbns/strokedb/lib/strokedb/volumes/fixed_length_skiplist_volume.rb:95:in `read_node'
from /Users/yrashk/Development/idbns/strokedb/lib/strokedb/volumes/fixed_length_skiplist_volume.rb:39:in `node_next'
from /Users/yrashk/Development/idbns/strokedb/lib/strokedb/data_structures/simple_skiplist.rb:98:in `find_nearest_node'
from /Users/yrashk/Development/idbns/strokedb/lib/strokedb/data_structures/simple_skiplist.rb:202:in `find'
from /Users/yrashk/Development/idbns/strokedb/lib/strokedb/stores/file_storage.rb:16:in `find'
from /Users/yrashk/Development/idbns/strokedb/lib/strokedb/stores/memory_storage.rb:16:in `find'
from /Users/yrashk/Development/idbns/strokedb/lib/strokedb/store.rb:20:in `find'
from /Users/yrashk/Development/idbns/strokedb/lib/strokedb/document/meta.rb:293:in `find_meta_doc'
from /Users/yrashk/Development/idbns/strokedb/lib/strokedb/document/meta.rb:278:in `make_document'
from /Users/yrashk/Development/idbns/strokedb/lib/strokedb/document/meta.rb:250:in `document'
from /Users/yrashk/Development/idbns/strokedb/lib/strokedb/document/meta.rb:248:in `map'
from /Users/yrashk/Development/idbns/strokedb/lib/strokedb/document/meta.rb:248:in `document'
from /Users/yrashk/Development/idbns/strokedb/lib/strokedb/document.rb:216:in `[]='
from (irb):5
WDYT?
Comments and changes to this ticket
-
Yurii Rashkovskii May 14th, 2008 @ 07:19 AM
- State changed from new to resolved
ah, that's already done in skiplist-volume branch. good.
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