Manage Snapshots

andysmile

Dabbler
Joined
Jan 4, 2022
Messages
15
The snapshot list in UI cannot refresh automatically after I delete some snapshots. I need to press F5 to refresh the page.

Would anybody advise?
 
Joined
Oct 22, 2019
Messages
3,641
The Snapshots page in Core is also fidgety and quirky. It's one of the many things that could use a serious redesign. Sometimes it freaks me out when it auto-redraws incorrectly, and you think you accidentally delete the wrong snapshot!

"I've got @snapshot-2023-09-06 and @snapshot-2023-09-10. I'll expand @snapshot-2023-09-06. Oh, I think I'll delete it. It's consuming a good amount of space. Done! Deleted! WHAT THE? Why is the only remaining snapshot in my view showing @snapshot-2023-09-06? Where did @snapshot-2023-09-10 go? DID I ACCIDENTALLY DELETE THE WRONG ONE? :oops: Oh, of course. That's just TrueNAS's GUI acting goofy again. Silly ol' TrueNAS! You scared me, lol."
 
Last edited:

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
The Snapshots page in Core is also fidgety and quirky. It's one of the many things that could use a serious redesign. Sometimes it freaks me out when it auto-redraws incorrectly, and you think you accidentally delete the wrong snapshot!

"I've got @snapshot-2023-09-06 and @snapshot-2023-09-10. I'll expand @snapshot-2023-09-06. Oh, I think I'll delete it. It's consuming a good amount of space. Done! Deleted! WHAT THE? Why is the only remaining snapshot in my view showing @snapshot-2023-09-06? Where did @snapshot-2023-09-10 go? DID I ACCIDENTALLY DELETE THE WRONG ONE? :oops: Oh, of course. That's just TrueNAS's GUI acting goofy again. Silly ol' TrueNAS! You scared me, lol."

If its latest SCALE software and it can be verified its not a browser/cache issue, we'd like to know.
The GUI should not be goofy....
 
Joined
Oct 22, 2019
Messages
3,641
If its latest SCALE software
Latest Core for me, on any browser, any PC, even with incognito mode. Happens when I delete a snapshot. It's similar in nature to the wrong information populating inside an expanded view.

I'm sure that Core's UI won't be touched for "non-urgent" issues if I file a bug report. OP will have to show a video of this affecting SCALE then.

It's still disturbing with Core, and I can record a video of this behavior. (It means I'll have to intentionally create bogus snapshots to delete, for the sake of demonstration.)

Core's Snapshot page, for some reason still not entirely clear, will "expand" all snapshots in view after deleting a snapshot; even if all other snapshots are "collapsed". Feels buggy and quirky.



Before making a video, I'll walk you through what happens in Core.


You have two snapshots on the dataset playground:
  • @manual-2023-09-05
  • @manual-2023-09-10

You want to manually delete @manual-2023-09-05, but you want to keep @manual-2023-09-10.


In the Pools > Snapshots page, you type "playground" into the filter. This narrows down the list to only two snapshots:
  • @manual-2023-09-05
  • @manual-2023-09-10

You click the arrow near @manual-2023-09-05 to "expand" it. Now the "DELETE" button is accessible.

You click "DELETE". The snapshot gets deleted.

Yet now you're looking at the timestamp for the remaining snapshot, and notice it says "DATE CREATED: 2023-09-05". (TrueNAS's GUI did not properly redraw the contents.)

Yikes! Did you delete the wrong snapshot? (Thankfully, you did not.)

As a cherry on top, if you click "DELETE" for the this snapshot, the GUI will spit out an error and tell you "This snapshot does not exist!" Staring directly at a snapshot as the GUI presents it to you, and then the same GUI tells you "Nope! It actually does not exist... this very snapshot I'm showing you..." (Again, not a good look for enterprise-quality software.) However, if you exit the Snapshots page and revisit it, then type "playground" in the filter list, the view returns to normal, with no glitches.

You don't even need to exit the page or refresh. You can just erase the filter, and re-type "playground", which will now correctly populate the list.


The same quirky behavior used to exist on the Rsync Modules page. The GUI does not draw/redraw properly, and it causes these concerning glitches. Thankfully, that bug was fixed in a recent release.
 
Last edited:

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Latest Core for me, on any browser, any PC, even with incognito mode. Happens when I delete a snapshot. It's similar in nature to the wrong information populating inside an expanded view.

I'm sure that Core's UI won't be touched for "non-urgent" issues if I file a bug report. OP will have to show a video of this affecting SCALE then.

It's still disturbing with Core, and I can record a video of this behavior. (It means I'll have to intentionally create bogus snapshots to delete, for the sake of demonstration.)

Core's Snapshot page, for some reason still not entirely clear, will "expand" all snapshots in view after deleting a snapshot; even if all other snapshots are "collapsed". Feels buggy and quirky.



Before making a video, I'll walk you through what happens in Core.


You have two snapshots on the dataset playground:
  • @manual-2023-09-05
  • @manual-2023-09-10

You want to manually delete @manual-2023-09-05, but you want to keep @manual-2023-09-10.


In the Pools > Snapshots page, you type "playground" into the filter. This narrows down the list to only two snapshots:
  • @manual-2023-09-05
  • @manual-2023-09-10

You click the arrow near @manual-2023-09-05 to "expand" it. Now the "DELETE" button is accessible.

You click "DELETE". The snapshot gets deleted.

Yet now you're looking at the timestamp for the remaining snapshot, and notice it says "DATE CREATED: 2023-09-05". (TrueNAS's GUI did not properly redraw the contents.)

Yikes! Did you delete the wrong snapshot? (Thankfully, you did not.)

As a cherry on top, if you click "DELETE" for the this snapshot, the GUI will spit out an error and tell you "This snapshot does not exist!" Staring directly at a snapshot as the GUI presents it to you, and then the same GUI tells you "Nope! It actually does not exist... this very snapshot I'm showing you..." (Again, not a good look for enterprise-quality software.) However, if you exit the Snapshots page and revisit it, then type "playground" in the filter list, the view returns to normal, with no glitches.

You don't even need to exit the page or refresh. You can just erase the filter, and re-type "playground", which will now correctly populate the list.


The same quirky behavior used to exist on the Rsync Modules page. The GUI does not draw/redraw properly, and it causes these concerning glitches. Thankfully, that bug was fixed in a recent release.

Thanks.. please submit a bug report and paste the ticket ID.
 
Top