Skip to content

Commit

Permalink
Create the skeleton before installing the extent when copying
Browse files Browse the repository at this point in the history
  • Loading branch information
danieroux committed Oct 6, 2009
1 parent 9fbf714 commit 88bfcf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stone.rb
Expand Up @@ -97,7 +97,8 @@ def restart
def copy_to(copy_stone)
fail "You can not copy a running stone" if running?
fail "You can not copy to a stone that is running" if copy_stone.running?
log_sh("cp #{extent_filename} #{copy_stone.extent_filename}")
copy_stone.create_skeleton
install(extent_filename, copy_stone.extent_filename, :mode => 0660)
end

def self.tranlog_number_from(string)
Expand Down

0 comments on commit 88bfcf8

Please sign in to comment.