backport of commit 6157b5ffcb6e0fcd1d0823e4929bf50ef1b00bc8 (#20837)

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
This commit is contained in:
hc-github-team-secure-vault-core 2023-06-21 18:56:07 -04:00 committed by GitHub
parent 0e266b7d03
commit 69053efc00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

3
changelog/20825.txt Normal file
View File

@ -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.
```

View File

@ -5,6 +5,7 @@ package aerospike
import (
"context"
"math/bits"
"testing"
"time"
@ -16,6 +17,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()

View File

@ -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"