Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dird: create restore tree caches on backup #1616

Draft
wants to merge 45 commits into
base: master
Choose a base branch
from

Commits on Dec 4, 2023

  1. Configuration menu
    Copy the full SHA
    ee67d82 View commit details
    Browse the repository at this point in the history
  2. some ideas

    sebsura committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    2be42c2 View commit details
    Browse the repository at this point in the history
  3. add array list

    sebsura committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    a09688c View commit details
    Browse the repository at this point in the history
  4. finish mark

    sebsura committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    ef768fb View commit details
    Browse the repository at this point in the history
  5. rblist: fix missing include

    sebsura committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    59f64a3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7cc4ec6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3151050 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9fcd21a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1c5a07f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    47fd16c View commit details
    Browse the repository at this point in the history
  11. catreq: create tree on save

    sebsura committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    503fb9b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    30b8680 View commit details
    Browse the repository at this point in the history
  13. needed changes

    sebsura committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    0b7e448 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d82201d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e121839 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e09f0e1 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    acc7bfd View commit details
    Browse the repository at this point in the history
  18. tree-save: remove unnecessary member start

    Since start is always the next element there is no need to explicitly
    save it.  This commit also makes the remaining sub member relative to
    the node, i.e. instead of saving the absolute offset into the array,
    we instead just save the size of the whole subtree.
    sebsura committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    748acb9 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    9836ca4 View commit details
    Browse the repository at this point in the history
  20. tree-save: do not try to insert roots

    They probably should not get saved anyways!
    sebsura committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    f9273d7 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    1966535 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    50b2449 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    22dcdae View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    21d9b2e View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Configuration menu
    Copy the full SHA
    84c01b1 View commit details
    Browse the repository at this point in the history
  2. tree-save: fix hardlink detection

    We have to save the information on whether a file is the "original"
    file or if its just a "link".  To do that we add the offset to the
    original to every hardlinked file so that we can detect the actual
    original by checking whether the node points to itself.
    sebsura committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    be179be View commit details
    Browse the repository at this point in the history
  3. ua-restore: fix leaking memory

    We need to ensure to free the build restore tree (if it exists) even
    if we decide not to do a restore.
    sebsura committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    4d317e0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    302c934 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    8764e92 View commit details
    Browse the repository at this point in the history
  2. dird: change restore tree caching location

    We now use the cache directory from the director configuration.
    sebsura committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    2a7395e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96561ad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9956f31 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9ec96b0 View commit details
    Browse the repository at this point in the history
  6. xxhash: add simple checksum class

    This class is easy to use if you only want to calculate simple checksums.
    sebsura committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    a310a7b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    41e759f View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Configuration menu
    Copy the full SHA
    fcf57a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9aa78ac View commit details
    Browse the repository at this point in the history
  3. tree-save: change how delta seqs are stored

    Since elements of type TN_NEWDIR *always* have a deltaseq of -1 we can
    never not save them (since not all of them are 0).  To remedy this, we
    instead save the delta_seq + (type == TN_NEWDIR), so that the vector
    is all 0, even if we have NEWDIRs.
    sebsura committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    59f3c8b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1a43162 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cba8b5d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c9afb48 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1d375f2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    824e60d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b3b77d6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ab8cee5 View commit details
    Browse the repository at this point in the history