diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c122d61..4cc1cdd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Unreleased +## v0.6.2 ### Changed @@ -10,6 +10,8 @@ and an account with a few busy buckets took a 512 MiB container to its limit in seconds. `inspect -i bucket_sizer` reads the totals, and the sync line counts the objects from them. (OpenSystemsLab/awless-ro#4) +- `inspect -i bucket_sizer` says how many buckets have no size, when a listing failed, + so the total is not read as the account's. ### Added diff --git a/config/version.go b/config/version.go index 13e7f2aa..82ee7569 100644 --- a/config/version.go +++ b/config/version.go @@ -35,7 +35,7 @@ const AWLESS_ASCII_LOGO = ` // (no write operations), so continuing upstream's v0.1.11 numbering would imply // a compatibility that does not exist. var ( - Version = "v0.6.1" + Version = "v0.6.2" BuildFor string buildSha, buildDate, buildArch, buildOS string diff --git a/docs/release-v0.6.2.md b/docs/release-v0.6.2.md new file mode 100644 index 00000000..991bdd83 --- /dev/null +++ b/docs/release-v0.6.2.md @@ -0,0 +1,37 @@ +# awless-ro v0.6.2 + +S3 object sync no longer keeps every object in memory. + +This is the OpenSystemsLab build of awless-ro. It is what the awless MCP server runs. + +### Changed + +- With `aws.storage.s3object.sync` on, a sync keeps the number and total size of the + objects in each bucket instead of every object. It used to hold them all until the + end of the sync, plus a copy of the bucket per object, so memory grew with the + number of objects in the account, and a few busy buckets took a 512 MiB container + to its limit in seconds. A storage sync over 6 buckets and about 630,000 objects + now peaks under 60 MB. API calls are unchanged: one paginated listing per bucket. +- `inspect -i bucket_sizer` reads those totals, and says how many buckets have no + size when a listing failed, so the total is not read as the account's. +- The sync line counts objects from the totals. + +### Added + +- `aws.storage.s3object.keep` (off by default) keeps every object in the local graph + as before, for `list s3objects --local`. Without it, `list s3objects --local` says + why it is empty. `list s3objects` without `--local` asks AWS either way. + +If your local copy was synced by an earlier version with object sync on, run +`awless-ro sync --storage` once so the buckets get their totals. + +### Install + +Download the archive for your platform below and check it: + +```sh +shasum -a 256 -c SHA256SUMS --ignore-missing +``` + +Not on Homebrew: `brew install theazz/tap/awless-ro` installs the upstream release, +which does not have JSON output yet.