[Box Backup-commit] [boxbackup/boxbackup] 2f4d72: BackupStoreCheck: fix failure to remove all spurio...

GitHub noreply at github.com
Sat Jun 23 10:21:34 BST 2018


  Branch: refs/heads/s3_support
  Home:   https://github.com/boxbackup/boxbackup
  Commit: 2f4d722ea93c97ec675f5e587c326b0281c685f2
      https://github.com/boxbackup/boxbackup/commit/2f4d722ea93c97ec675f5e587c326b0281c685f2
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-06-23 (Sat, 23 Jun 2018)

  Changed paths:
    M lib/backupstore/BackupFileSystem.cpp
    M lib/backupstore/BackupFileSystem.h

  Log Message:
  -----------
  BackupStoreCheck: fix failure to remove all spurious files

The old BackupFileSystem::CheckObjectsDir functions did not account for the
difference between the root directory and the first object directory, and thus
failed to remove spurious files from the root directory.

By checking files incrementally we also avoid building up a huge list of all
files on the store, with its consequent memory usage.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Boxbackup-commit mailing list