commit | 619abc317aae16570338a0f314dba0671fdae66a | [log] [tgz] |
---|---|---|
author | Thomas Gales <tgales@google.com> | Thu Dec 29 16:23:21 2022 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 29 16:23:21 2022 +0000 |
tree | e9a798df8c37caaad343d3ab4841b0694e6a4398 | |
parent | 28eebaa3df6de73aa1ac64f8da4ad5adf7d41267 [diff] |
[forensics] Abort adding snapshot over size limit Attempting to add a snapshot with a size greater than the overall store limit would needlessly garbage collect all snapshots in the store before realizing the new snapshot doesn't fit anyway. If the snapshot won't fit, return before garbage collection occurs. Fixed: 112064 TESTED=`fx test //src/developer/forensics` TESTED=`fx shell crasher` @ c4e6c967cb267ebc Change-Id: Ied6525b990c87d0fe4f386abdda20f9c395d0df8 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/783946 Reviewed-by: Alex Pankhurst <pankhurst@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Fuchsia-Auto-Submit: Thomas Gales <tgales@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.