-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #58: add newExtentForRecovery command ... remove tranlogs in ne…
…wExtent command do not remove trnalogs in newExtentForRecovery ... rename stoneExtent to stoneNewExtent [ci skip]
- Loading branch information
1 parent
6be949f
commit 5bec1a7
Showing
20 changed files
with
88 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
...andLine.package/GsDevKitAbstractStoneCommandLineHandler.class/instance/removeTranlogs..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
actions | ||
removeTranlogs: | ||
tranlogDirectory | ||
tranlogDirectory deleteAllChildren. |
3 changes: 3 additions & 0 deletions
3
...mmandLine.package/GsDevKitAbstractStoneCommandLineHandler.class/instance/snapshotsHome.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
snapshotsHome | ||
^ self stonesHome / self stoneName / 'snapshots' |
3 changes: 3 additions & 0 deletions
3
...ommandLine.package/GsDevKitAbstractStoneCommandLineHandler.class/instance/tranlogsHome.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
tranlogsHome | ||
^ self stonesHome / self stoneName / 'tranlogs' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...-CommandLine.package/GsDevKitNewExtentCommandLineHandler.class/instance/removeTranlogs.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
actions | ||
removeTranlogs | ||
Transcript | ||
cr; | ||
show: 'Removing tranlogs for ' , self stoneName. | ||
self removeTranlogs: self tranlogsHome. | ||
Transcript | ||
cr; | ||
tab; | ||
show: 'Finished removing tranlogs for ' , self stoneName; | ||
cr. |
3 changes: 3 additions & 0 deletions
3
...ndLine.package/GsDevKitNewExtentCommandLineHandler.class/instance/shouldRemoveTranlogs.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
testing | ||
shouldRemoveTranlogs | ||
^ true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...mandLine.package/GsDevKitNewExtentForRecoveryCommandLineHandler.class/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Usage: newExtentForBackup [ --help] <stone-name> <snapshot-file-path> | ||
<stone-name> name of the stone to be created | ||
<snapshot-file-path> Path to extent snapshot file to be used to | ||
restore the stone. | ||
|
||
Documentation: | ||
Copy a fresh extent file to the given stones extent directory, in preparation for for a restore from backup. | ||
|
||
Tranlog files are not removed, so that they can be used for recovery. | ||
|
||
See http://downloads.gemtalksystems.com/docs/GemStone64/3.2.x/GS64-SysAdmin-3.2/GS64-SysAdmin-3.2.htm for more info. | ||
|
||
Examples: | ||
newExtent --help | ||
newExtent sample $GS_HOME/gemstone/snapshots |
3 changes: 3 additions & 0 deletions
3
...andLine.package/GsDevKitNewExtentForRecoveryCommandLineHandler.class/class/commandName.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
commandName | ||
^ 'newExtentForRecovery' |
3 changes: 3 additions & 0 deletions
3
...andLine.package/GsDevKitNewExtentForRecoveryCommandLineHandler.class/class/description.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing | ||
description | ||
^ 'Copy a fresh extent file to the given stones extent directory, in preparation for for a restore from backup (i.e., tranlogs are not removed).' |
3 changes: 3 additions & 0 deletions
3
...age/GsDevKitNewExtentForRecoveryCommandLineHandler.class/instance/shouldRemoveTranlogs.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
testing | ||
shouldRemoveTranlogs | ||
^ false |
6 changes: 6 additions & 0 deletions
6
...ndLine.package/GsDevKitNewExtentForRecoveryCommandLineHandler.class/methodProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"class" : { | ||
"commandName" : "dkh 3/20/2015 18:24", | ||
"description" : "dkh 3/20/2015 18:22" }, | ||
"instance" : { | ||
"shouldRemoveTranlogs" : "dkh 3/20/2015 18:20" } } |
14 changes: 14 additions & 0 deletions
14
...-CommandLine.package/GsDevKitNewExtentForRecoveryCommandLineHandler.class/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "GsDevKit-CommandLine", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "dkh 3/20/2015 18:24", | ||
"instvars" : [ | ||
], | ||
"name" : "GsDevKitNewExtentForRecoveryCommandLineHandler", | ||
"pools" : [ | ||
], | ||
"super" : "GsDevKitNewExtentCommandLineHandler", | ||
"type" : "normal" } |
2 changes: 1 addition & 1 deletion
2
repository/GsDevKit-CommandLine.package/monticello.meta/version
Large diffs are not rendered by default.
Oops, something went wrong.