    end
 
    def handle_command({:C, clock, commit_object, entries, ref}, _sender, 
-                      State[tab: tab, staging_tab: staging] = state) do
+                      State[tab: tab, staging_tab: staging, commit_tab: commit_tab] = state) do
      lc {key, entry_clock} inlist entries do
        case ETS.lookup(tab, key) do
          [] -> history = []; value = @nil_value

     :erlang.process_flag(:trap_exit, true)
     tab = ETS.new(__MODULE__, [:ordered_set])
     staging_tab = ETS.new(__MODULE__.Staging, [:ordered_set])
     {:ok, State.new(partition: partition, tab: tab, staging_tab: staging_tab)}
   end

   @spec handle_command(fold_req | command | commit, sender, State.t) ::

   alias Genomu.Constants.CommitObject, as: CO

   defrecord State, partition: nil,
                    tab: nil, staging_tab: nil, commit_tab: nil do
     record_type    partition: Genomu.VNode.partition,
                    tab: :ets.tid, staging_tab: :ets.tid,
                    commit_tab: :ets.tid
   end

   @spec start_vnode(integer | [integer]) :: {:ok, pid}
