Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## v0.6.2

### Changed

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion config/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
37 changes: 37 additions & 0 deletions docs/release-v0.6.2.md
Original file line number Diff line number Diff line change
@@ -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.
Loading