From a111733c401e6284c0ee7b1ddcac95dc07af92c2 Mon Sep 17 00:00:00 2001 From: Oleg Andreev Date: Thu, 1 May 2008 02:50:28 +0400 Subject: [PATCH] minor fix in a comment --- lib/strokedb/document/meta_dsl.rb | 7 +++++++ lib/strokedb/volumes/skiplist_volume.rb | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 lib/strokedb/document/meta_dsl.rb diff --git a/lib/strokedb/document/meta_dsl.rb b/lib/strokedb/document/meta_dsl.rb new file mode 100644 index 00000000..f5bcd043 --- /dev/null +++ b/lib/strokedb/document/meta_dsl.rb @@ -0,0 +1,7 @@ +module StrokeDB + module MetaDSL + def on_initialize(&block) + store_dsl_options("on_initialize", block) + end + end +end diff --git a/lib/strokedb/volumes/skiplist_volume.rb b/lib/strokedb/volumes/skiplist_volume.rb index e32f3055..d346ce65 100644 --- a/lib/strokedb/volumes/skiplist_volume.rb +++ b/lib/strokedb/volumes/skiplist_volume.rb @@ -42,7 +42,7 @@ module StrokeDB # 1) Do the durable updates to the log before in-memory operations. # 2) Remove all the stale files on restart. # 3) Load the skiplist from the regular file. - # 3) Replay the actual log on restart. + # 4) Replay the actual log on restart. # class SkiplistVolume