- 28 Sep, 2013 7 commits
-
-
Chris Wilson authored
-
Chris Wilson authored
-
Chris Wilson authored
-
Chris Wilson authored
It doesn't know that we call a function that exits the program prematurely. In any case, this patch stops it from complaining.
-
Chris Wilson authored
I don't think this has any effect in practice, but this patch ensures that it is initialised anyway.
-
Chris Wilson authored
-
Chris Wilson authored
-
- 20 Sep, 2013 2 commits
-
-
Chris Wilson authored
-
Chris Wilson authored
-
- 19 Sep, 2013 6 commits
-
-
Chris Wilson authored
Remove debugging code for Sune Molgaard's issue with non-existent files.
-
Chris Wilson authored
-
Chris Wilson authored
-
Chris Wilson authored
-
Chris Wilson authored
-
Chris Wilson authored
Fixes some cases where a directory might refer to an object that doesn't exist, which is removed from the directory, but an object that depends on it (a patch) isn't removed, and requires a subsequent recheck.
-
- 02 Sep, 2013 1 commit
-
-
Chris Wilson authored
-
- 25 Aug, 2013 1 commit
-
-
Chris Wilson authored
Thanks to Arnaud for submitting the patch: "I propose a little patch to enable the SetProcessTitle function on windows system."
-
- 22 Aug, 2013 7 commits
-
-
Chris Wilson authored
-
Chris Wilson authored
Report whether the directory still had errors after the first pass of dir.CheckAndFix(), and also whether a file is marked as both Old and Deleted, which means that its block usage is not accounted for anywhere. There's possibly still a bug here where an invalid directory entry that is itself a directory may not result in the parent directory being marked as isModified and written back out afterwards, which may be what's happening to Markus Grunwald (failure to correct the error with "check fix").
-
Chris Wilson authored
It's not safe to use an iterator after the underlying collection has been modified. We need to restart iterating over the directory in that case. Otherwise we could loop forever looking for an end() that we've already passed, or start accessing unallocated memory.
-
Chris Wilson authored
Makes the source code more readable.
-
Chris Wilson authored
When a command is sent in the wrong phase, or a command that requires write access is sent to a read-only session, log an error message with the command details (and current phase in the former case).
-
Chris Wilson authored
Preparation work for better testing of fixing directories with entries that no longer exist on disk. Related to debugging the problems reported by Markus Grunwald.
-
Chris Wilson authored
Passing raw pointers is bad C++ style, and dangerous, because Protocol will free the passed-in pointers after uploading them, so we should not keep using them. Reduce code duplication in BackupClientDirectoryRecord patch/normal upload. Return a std::auto_ptr<BackupStoreFileEncodeStream> instead of a std::auto_ptr<IOStream> from BackupStoreFile::EncodeFile* functions.
-
- 21 Aug, 2013 4 commits
-
-
Chris Wilson authored
-
Chris Wilson authored
-
Chris Wilson authored
Useful for debugging when the phase is not as expected.
-
Chris Wilson authored
-
- 13 Feb, 2013 2 commits
-
-
Chris Wilson authored
* ./configure CXXFLAGS=-DDEBUG_LEAKS * Build and run the binary as normal (release or debug) * Send SIGUSR1 to the process (e.g. killall -USR1 bbstored) * Check the system logs, or the console. Not safe for use on a production process, as it does illegal things in a signal handler that may result in the process hanging. Use only for debugging, and be prepared to kill any stuck processes.
-
Chris Wilson authored
-
- 27 Nov, 2012 5 commits
-
-
Chris Wilson authored
BackupQueries directly for debugging compare failures.
-
Chris Wilson authored
(e.g. from Cygwin command prompt).
-
Chris Wilson authored
that can be used to protect against permanent changes to their log levels.
-
Chris Wilson authored
-
Chris Wilson authored
-
- 18 Nov, 2012 5 commits
-
-
Chris Wilson authored
that's been disposed (Windows only).
-
Chris Wilson authored
changes to it.
-
Chris Wilson authored
-
Chris Wilson authored
-
Chris Wilson authored
Use it in two places to simplify code (not in BackupStoreContext yet, because that wants to communicate with HK process as well).
-