1
0
Fork 0

5815 Commits (69933cbe3598d921bfa6ecffa01862f304c4246e)
 

Author SHA1 Message Date
Mauri de Souza Meneguzzo 69933cbe35 aws: reuse session and S3 manager
The AWS session and s3 manager are concurrent safe, it should be reused
whenever possible:

    Sessions are safe to use concurrently as long as the Session is not
    being modified. Sessions should be cached when possible, because
    creating a new Session will load all configuration values from the
    environment, and config files each time the Session is created.

See https://pkg.go.dev/github.com/aws/aws-sdk-go/aws/session

Currently, an aws session and s3 client/manager are created every time a
call to Upload, CurrentID or Download is made. I changed it so it creates
one session and S3 manager during app startup and reuse it afterwards.
8 months ago
Philip O'Toole b76e37eae0
Update CHANGELOG.md 8 months ago
Philip O'Toole fb23ff0dc2
Merge pull request #1635 from rqlite/queries-only-do-local
Always Execute ExecuteRequests without Raft if possible
8 months ago
Philip O'Toole 4bb5e4b506 Remove superfluous log message 8 months ago
Philip O'Toole 9df4c0527c Optimize Requests 8 months ago
Philip O'Toole 039e907e3f Merge remote-tracking branch 'origin' into queries-only-do-local 8 months ago
Philip O'Toole 7950f0fa51
Merge pull request #1637 from rqlite/remove-full-check-fail
Remove unneeded SetFullNeeded post checkpoint fail
8 months ago
Philip O'Toole 3167d13348 Restore comment 8 months ago
Philip O'Toole 96ab005745 Remove unneeded constant 8 months ago
Philip O'Toole 240fb86e13 Clearer control for busy timeout 8 months ago
Philip O'Toole d39c0c8367 Restart, then Truncate, the WAL 8 months ago
Philip O'Toole ec91f1b7c5 Fix checkpoint test 8 months ago
Philip O'Toole 9aab1169bd Remove dedicated checkpointing DB connection 8 months ago
Philip O'Toole cf1a525a24 Move code around 8 months ago
Philip O'Toole 3cfb4411b3 PRAGMA busy timeout for Checkpoints 8 months ago
Philip O'Toole 19276e6f1e Use dedicated connection for checkpointing 8 months ago
Philip O'Toole 5694556ed2 Test Restart Checkpoint timeouts 8 months ago
Philip O'Toole 8093b818a8 Set Checkpoint Retry interval to 20ms 8 months ago
Philip O'Toole 1c5f4a8f0d Unit test DB showing RESTART doesn't alter WAL 8 months ago
Philip O'Toole fd1b4bc5e2 CHANGELOG 8 months ago
Philip O'Toole c8032e2061 Merge remote-tracking branch 'origin' into remove-full-check-fail 8 months ago
Philip O'Toole a987ec2e28 Remove unneeded SetFullNeeded post checkpoint fail 8 months ago
Philip O'Toole c395d57709
Merge pull request #1636 from rqlite/db-checkpoint-control
Move to explicit checkpoint type
8 months ago
Philip O'Toole 4bfd41411e CHANGELOG 8 months ago
Philip O'Toole cf49cb1fc4 Only offer support checkpointing modes 8 months ago
Philip O'Toole 958b67908b Move to explicit checkpoint type 8 months ago
Philip O'Toole ba203fde6d CHANGELOG 8 months ago
Philip O'Toole 5261b7058e Execute ExecuteRequests locally if possible 8 months ago
Philip O'Toole 355c4baa06
Update CHANGELOG.md 8 months ago
Philip O'Toole 5aaf69d28d
Merge pull request #1634 from rqlite/full-snapshot-after-failed-wal-checkpoint
Full snapshot after failed wal checkpoint
8 months ago
Philip O'Toole a78325aafa Comment 8 months ago
Philip O'Toole 2310a365c2 Test that FullNeeded is set on failed checkpoint 8 months ago
Philip O'Toole ec465030a8 Remove debug print statement 8 months ago
Philip O'Toole eca1003157 CHANGELOG 8 months ago
Philip O'Toole 943345b647 FullSnapshot needed if WAL checkpoint fails 8 months ago
Philip O'Toole 7a30dd8e69
Update CHANGELOG.md 8 months ago
Philip O'Toole a40374257e
Merge pull request #1633 from rqlite/better-remote-errors
Improve Errors for internode comms failures
8 months ago
Philip O'Toole 5ecb35255e Quick script to give me the next PR number 8 months ago
Philip O'Toole c9440f19f7 Correct CHANGELOG 8 months ago
Philip O'Toole e9373b8844 Improve Errors for internode comms failures 8 months ago
Philip O'Toole a2a627d7fc
Update CHANGELOG.md 8 months ago
Philip O'Toole 856c4e1c18
Merge pull request #1632 from rqlite/sqlite-3450
Upgrade to SQLite 3.45.0
8 months ago
Philip O'Toole 69a32f1e69 JSONB unit test 8 months ago
Philip O'Toole ffa5d6f087 CHANGELOG 8 months ago
Philip O'Toole 965d95bcf1 Merge remote-tracking branch 'origin' into sqlite-3450 8 months ago
Philip O'Toole 202266aa08
Merge pull request #1631 from rqlite/cluster-client-controls
Allow HTTP clients to control retries
8 months ago
Philip O'Toole 84e68aaf73 Upgrade to SQLite 3.45.0
Brings in JSONB support.
8 months ago
Philip O'Toole 895ed7d831 Fix system tests 8 months ago
Philip O'Toole ee911b9a69 Fix CHANGELOG 8 months ago
Philip O'Toole 3e21722b87 CHANGELOG 8 months ago