-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save advertisements as CAR files #1210
Conversation
Codecov ReportBase: 54.31% // Head: 54.35% // Increases project coverage by
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## main #1210 +/- ##
==========================================
+ Coverage 54.31% 54.35% +0.03%
==========================================
Files 151 154 +3
Lines 15028 15606 +578
==========================================
+ Hits 8163 8482 +319
- Misses 5964 6162 +198
- Partials 901 962 +61
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
When configured to save advertisements, save advertisements and entries from the datastore as CAR files in the configured directory. The advertisement and its entries are removed from the datastore after they are saved as a CAR file. If there are existing advertisements saved in the datastore, on startup, save these as CAR files and remove them from the datastore. Advertisements are not saved when the indexer is frozen.
…ies CAR - The CarWriter uses a filestore.Interface to seemlessly support different file store implementations (local filesystem, S3, etc.). - Separate advertisements and entries into separate CAR files. This allows loading advertisements withing having to load the links, and is useful when an loading ad advertisement whose entries have already been deleted.
- Remove _adv and _mhs file suffixes. - Add option to overwrite S3 endpoint.
1688af0
to
40ca848
Compare
When configured to save advertisements, save advertisements and entries from the datastore as CAR files in the configured directory. The advertisement and its entries are removed from the datastore after they are saved as a CAR file.
If there are existing advertisements saved in the datastore, on startup, save these as CAR files and remove them from the datastore.
Advertisements are not saved when the indexer is frozen.