Skip to content

Commit 055a413

Browse files
matthieusiebendevinivyDavidBuchanan314
authored
InternalServerError when creating records (#4169)
* Various perf fixes * add transaction assertions * tidy * changeset * tidy * Update packages/aws/src/s3.ts * tidy * Apply suggestions from code review * tidy * Update .changeset/chilled-shirts-ring.md Co-authored-by: devin ivy <[email protected]> * Update .changeset/stale-rocks-press.md * Update packages/pds/src/actor-store/blob/transactor.ts Co-authored-by: devin ivy <[email protected]> * build * revert blob upload logic * tidy * use `uploadTimeoutMs` as default for `requestTimeoutMs` * review coments * chngeset * tidy --------- Co-authored-by: devin ivy <[email protected]> Co-authored-by: David Buchanan <[email protected]>
1 parent 6d7bf4b commit 055a413

33 files changed

+3342
-4299
lines changed

.changeset/big-guests-whisper.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@atproto/pds": patch
3+
---
4+
5+
Remove un-necessary concurrency when making sqlite DB updates

.changeset/chilled-shirts-ring.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@atproto/aws": patch
3+
---
4+
5+
Optimistically attempt to move files before checking for their existence, resulting in faster `makePermanent` calls

.changeset/dry-cows-roll.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@atproto/repo": patch
3+
---
4+
5+
Add iterator support to the `BlockMap` class

.changeset/famous-mice-pay.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@atproto/aws": patch
3+
---
4+
5+
`S3BlobStore`'s `deleteMany` now supports any number of input (and will process deletes by chunks internally)

.changeset/gold-timers-sparkle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@atproto/aws": patch
3+
---
4+
5+
Update `@aws-sdk` dependencies

.changeset/great-hotels-study.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@atproto/repo": patch
3+
---
4+
5+
Small performance improvement

.changeset/hip-bats-grab.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@atproto/pds": patch
3+
---
4+
5+
Add logging on (some) blob store operation failures

.changeset/perfect-coats-hide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@atproto/pds": patch
3+
---
4+
5+
Use a dedicated logger (named `pds:blob-store`) for `BlobStore` operations

.changeset/silver-squids-listen.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@atproto/pds": patch
3+
---
4+
5+
Fully read CAR stream before starting transaction in `importRepo`, resulting in shorter transactions

.changeset/stale-rocks-press.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@atproto/aws": patch
3+
---
4+
5+
Set a timeout (of 10 seconds by default) on every `S3BlobStore` requests

0 commit comments

Comments
 (0)