Code Monkey home page Code Monkey logo

Comments (9)

shuo-wu avatar shuo-wu commented on May 28, 2024 2

Need to test the regular restore volume after the corresponding PR gets merged. Here is one manual test QAs can check besides the regression test:

  1. Create a Launch a volume in the 1st cluster
  2. Create a large backup for the volume.
  3. Continue writing more data to the volume.
  4. Create a regular restore volume in the 2nd cluster.
  5. During the restoration in-progress, Ask the original volume to create the 2nd backup
  6. In the 2nd cluster, manually update backupVolume.Spec.SyncRequestedAt so that the 2nd backup will be shown in the 2nd cluster.
  7. See if the restoring volume can finish the restore and get detached automatically ==> This should be YES.

from longhorn.

innobead avatar innobead commented on May 28, 2024 1

@roger-ryao let's keep this open until longhorn/longhorn-manager#2621 gets merged.

@shuo-wu Please describe what side effect @longhorn/qa needs to verify for the above PR.

from longhorn.

shuo-wu avatar shuo-wu commented on May 28, 2024 1
  1. backupVolume.Spec.SyncRequestedAt should be later than backupVolume.Status.LastSyncedAt
  2. The UI improvement ticket is #7982

from longhorn.

mantissahz avatar mantissahz commented on May 28, 2024 1

cc @roger-ryao

Verified on v1.5.4-rc4 20240226

Installed with Kubectl.

kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/v1.5.4-rc4/deploy/longhorn.yaml

The test steps: #7945 (comment)

  1. Launch 2 clusters and both have Longhorn installed
  2. Set up a backup target.
  3. Create two volumes and write data in the 1st cluster. Then create volumes' backups.
  4. Restore two backup files as DR volumes in the 2nd cluster.
  5. Modify the backup poll interval to a large value.
  6. Write more data for the volumes in the 1st cluster, and create the 2nd backup.
  7. Activate one of the DR volumes in the 2nd cluster. Then verify the data

Only the activating DR volume will trigger the last backup synchronizing mechanism.

from longhorn.

longhorn-io-github-bot avatar longhorn-io-github-bot commented on May 28, 2024

Pre Ready-For-Testing Checklist

from longhorn.

roger-ryao avatar roger-ryao commented on May 28, 2024

Verified on v1.5.x-head 20240221

The test steps

  1. #7945 (comment)

Result Passed

from longhorn.

roger-ryao avatar roger-ryao commented on May 28, 2024

In the 2nd cluster, manually update backupVolume.Spec.SyncRequestedAt so that the 2nd backup will be shown in the 2nd cluster.

Hi @shuo-wu,
I have two questions about item 6. Manually updating backupVolume.Spec.SyncRequestedAt has any limitations?
For example, must it be later than the current time, or if we update the backupVolume.Spec.SyncRequestedAt at any time, will it trigger the creation of the second backup on the second cluster?
Do we have plans to add this functionality to the UI? If yes, perhaps we need to create a related ticket for that.

from longhorn.

roger-ryao avatar roger-ryao commented on May 28, 2024

Verified on v1.5.4-rc3 20240222

The test steps

Test Method 1 : #7945 (comment)

  1. Launch 2 clusters and both have Longhorn installed
  2. Set up a backup target.
  3. Create two volumes and write data in the 1st cluster. Then create volumes' backups.
  4. Restore two backup files as DR volumes in the 2nd cluster.
  5. Modify the backup poll interval to a large value.
  6. Write more data for the volumes in the 1st cluster, and create the 2nd backup.
  7. Activate one of the DR volumes in the 2nd cluster. Then verify the data

Test Method 2 refer:#7947 (comment)

Result Passed

Hi @shuo-wu and @mantissahz:
When I activate one of the DR volumes in the 2nd cluster, I notice that another DR volume also starts to pull the latest backup. Is this expected? Because in v1.4 & v1.3, DR volumes syncing up are independent and won't trigger each other.

from longhorn.

roger-ryao avatar roger-ryao commented on May 28, 2024

Hi @shuo-wu and @mantissahz:
When I activate one of the DR volumes in the 2nd cluster, I notice that another DR volume also starts to pull the latest backup. Is this expected? Because in v1.4 & v1.3, DR volumes syncing up are independent and won't trigger each other.

Hi @shuo-wu & @mantissahz
It seems like my environment issue. I built up a new cluster, and DR volumes syncing up are independent and won't trigger each other on v1.5.4-rc3.

from longhorn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.