feat: support concurrent chunk uploads#126
Conversation
Greptile SummaryThis PR refactors
Confidence Score: 4/5The concurrent upload machinery is well-structured, but the shared mutable state coordination across the new worker pool warrants a careful second look before merging. The core concurrency plumbing (atomic progress counters, synchronized progress callback, AtomicReference for results) is sound. The two concerns flagged—dead-code index == 0 branch and the possibility of completedResultRef remaining null on a distributed Appwrite backend—are both non-blocking in practice but indicate the completion-result selection logic needs a little hardening. library/src/main/java/io/appwrite/Client.kt — specifically the chunks.isNotEmpty() concurrent block and the uploadChunk inner function. Important Files Changed
Reviews (2): Last reviewed commit: "feat: support concurrent chunk uploads" | Re-trigger Greptile |
This PR updates the SDK to support concurrent chunk uploads.