Issue 207 in glassdb: ScanBackup64 misses implementation of determineFileTypeAndVersion

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 207 in glassdb: ScanBackup64 misses implementation of determineFileTypeAndVersion

glassdb
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium GLASS-Server Version-GLASS0.231

New issue 207 by [hidden email]: ScanBackup64  misses implementation of  
determineFileTypeAndVersion
http://code.google.com/p/glassdb/issues/detail?id=207

GS2441

1 Made a backup with runBackup.
2 Installed ScanBackup-jgf.12.mcz from  
http://seaside.gemstone.com/ss/ScanBackup

3 ran ScanBackup64  
scanBackupAtServerPath: '/opt/gemstone/product/seaside/data/backups/extent0.dbf'

determineFileTypeAndVersion is not implemented

In ScanTool it is a subclassResponsibility



Reply | Threaded
Open this post in threaded view
|

Re: Issue 207 in glassdb: ScanBackup64 misses implementation of determineFileTypeAndVersion

glassdb
Updates:
        Status: Accepted
        Owner: WeybridgeWay
        Labels: -Version-GLASS0.231 Version-2.4.x

Comment #1 on issue 207 by WeybridgeWay: ScanBackup64  misses  
implementation of determineFileTypeAndVersion
http://code.google.com/p/glassdb/issues/detail?id=207

The work on scanning transaction logs (starting with version 9) seems to  
have broken the ability to scan backups. If you revert to version 8 then  
the backup scanning should work. Of course, I'll work on getting both  
working in the latest version. Thanks for reporting this. --James

Reply | Threaded
Open this post in threaded view
|

Re: Issue 207 in glassdb: ScanBackup64 misses implementation of determineFileTypeAndVersion

glassdb

Comment #2 on issue 207 by [hidden email]: ScanBackup64  misses  
implementation of determineFileTypeAndVersion
http://code.google.com/p/glassdb/issues/detail?id=207

With version 8, readRecord raises an error. newClass is nil: unknown record  
type

Reply | Threaded
Open this post in threaded view
|

Re: Issue 207 in glassdb: ScanBackup64 misses implementation of determineFileTypeAndVersion

glassdb

Comment #3 on issue 207 by WeybridgeWay: ScanBackup64  misses  
implementation of determineFileTypeAndVersion
http://code.google.com/p/glassdb/issues/detail?id=207

In your example you state that you are scanning 'extent0.dbf'. Is this an  
extent (as suggested by the file name) or a backup (as suggested by the  
directory)? If it is an extent, then the error "unknown record type" would  
be correct because we do not scan extents, only backups (and transaction  
logs?). If it is in fact a backup, then I might need to see it. How big is  
it? Would you be comfortable making it available for analysis? If so, let  
me know where I can download it or let me know if you need me to provide an  
FTP site for you to send it. -- James

Reply | Threaded
Open this post in threaded view
|

Re: Issue 207 in glassdb: ScanBackup64 misses implementation of determineFileTypeAndVersion

glassdb

Comment #4 on issue 207 by [hidden email]: ScanBackup64  misses  
implementation of determineFileTypeAndVersion
http://code.google.com/p/glassdb/issues/detail?id=207

My first try was with extents. Then I realized I should do a full backup  
instead.
The last error was with:

SystemRepository  
fullBackupTo: '/opt/gemstone/product/seaside/data/backups/fullbackup'.
ScanBackup64  
scanBackupAtServerPath: '/opt/gemstone/product/seaside/data/backups/fullbackup'.