Skip to content

Commit

Permalink
backport of commit 6157b5f (hashicorp#20836)
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
  • Loading branch information
1 parent 36c742f commit e60e052
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog/20825.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:change
storage/aerospike: Aerospike storage shouldn't be used on 32-bit architectures and is now unsupported on them.
```
4 changes: 4 additions & 0 deletions physical/aerospike/aerospike_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package aerospike

import (
"context"
"math/bits"
"testing"
"time"

Expand All @@ -13,6 +14,9 @@ import (
)

func TestAerospikeBackend(t *testing.T) {
if bits.UintSize == 32 {
t.Skip("Aerospike storage is only supported on 64-bit architectures")
}
cleanup, config := prepareAerospikeContainer(t)
defer cleanup()

Expand Down
3 changes: 3 additions & 0 deletions website/content/docs/configuration/storage/aerospike.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ The Aerospike storage backend is used to persist Vault's data in an
be as knowledgeable about the technology. If you encounter problems with them,
you may be referred to the original author.

- **64-bit only** - the Aerospike storage backend is not supported when Vault runs
on a 32-bit architecture, because the Aerospike Go client doesn't support 32-bits.

```hcl
storage "aerospike" {
hostname = "localhost"
Expand Down

0 comments on commit e60e052

Please sign in to comment.