foundationdb/packaging
Michael Stack e1138c30ee
Make bulkload file reads and writes async and memory parsimonious (#11997)
* * fdbclient/S3Client.actor.cpp
 Change field names so capitialized (convention)
 Add duration as field to traces.

* fdbserver/BulkLoadUtil.actor.cpp
 When the job-manifest is big, processing blocks
 so much getBulkLoadJobFileManifestEntryFromJobManifestFile
 fails.

* Make bulkload file reads and writes async and memory parsimonious.
In tests at scale, processing a large job-manifest.txt was blocking
and causing the bulk job to fail. This is part 1 of two patches.
The second is to address data copy added in the below when we
made methods ACTORs (ACTOR doesn't allow passing by reference).

* fdbserver/BulkDumpUtil.actor.cpp
 Removed writeStringToFile and buldDumpFileCopy in favor of new methods
 in BulkLoadUtil. Made hosting functions ACTORs so could wait on
 async calls.

* fdbserver/BulkLoadUtil.actor.cpp
 Added async read and write functions.

* fdbserver/DataDistribution.actor.cpp
 Making uploadBulkDumpJobManifestFile async made it so big bulkloads
 work.

* fix memory corruption in writeBulkFileBytes and fix read options in getBulkLoadJobFileManifestEntryFromJobManifestFile

* If read or write < 1MB, do it in a single read else do multiple read/writes

* * packaging/docker/fdb-aws-s3-credentials-fetcher/fdb-aws-s3-credentials-fetcher.go
 Just be blunt and write out the credentials. Trying to figure when the
 blob credentials have expired is error prone.

Co-authored-by: michael stack <stack@duboce.com>
Co-authored-by: Zhe Wang <zhe.wang@wustl.edu>
2025-03-06 10:43:04 -08:00
..
deb C shim library: API for setting client library path; additional tests (#7702) 2022-07-29 11:45:45 +02:00
docker Make bulkload file reads and writes async and memory parsimonious (#11997) 2025-03-06 10:43:04 -08:00
msi Remove Python 2.7 support and six.py (#11418) 2024-10-02 21:12:51 -07:00
multiversion update prerelease package format (#6733) 2022-04-08 18:15:40 -05:00
osx add fdb_c_apiversion.g.h to osx package (#11037) 2023-10-26 14:28:24 -05:00
rpm Remove rpm packaging related to el6 (#11687) 2024-09-26 21:26:48 -07:00
description Some more improvements to the build and preparations for packaging 2018-12-13 15:04:13 -08:00
fdb.cluster.cmake First version of working rpm packages 2018-12-13 15:55:31 -08:00
foundationdb.conf Backup agent was mistakenly modified in conf files. 2021-12-14 12:02:13 -08:00
foundationdb.ico Initial repository commit 2017-05-25 13:48:44 -07:00
make_public.py More copyright end year updates (#11556) 2024-08-05 14:00:32 -07:00