-
Notifications
You must be signed in to change notification settings - Fork 112
CLIENT-681: Create dynamically allocate byte pool. #779
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
Open
DomPeliniAerospike
wants to merge
30
commits into
dev
Choose a base branch
from
CLIENT-681-2025
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Replace static_pool with dynamic_pool CLIENT-681 Replaced static_pool with dynamic_pool Change as_bytes from heap to stack for operations and expressions. * Added an expanding block size and pointer block CLIENT-681 Added an expanding block size and pointer block to avoid several realloc calls * CLIENT-681 Change Dynamic_pool_resize, dynamic_pool_init, and pool_destroy to inline functions rather than macros Ran linter and fixed flake issues Renamed dynamic_pool.h to dynamic_pool.hpp to solve precommit issues * Change dynamic_pool.h to dynamic_pool.hpp To fix clang-format issues * Replace static_pool with dynamic_pool CLIENT-681 Replaced static_pool with dynamic_pool Change as_bytes from heap to stack for operations and expressions. * Added an expanding block size and pointer block CLIENT-681 Added an expanding block size and pointer block to avoid several realloc calls * CLIENT-681 Change Dynamic_pool_resize, dynamic_pool_init, and pool_destroy to inline functions rather than macros Ran linter and fixed flake issues Renamed dynamic_pool.h to dynamic_pool.hpp to solve precommit issues * Change dynamic_pool.h to dynamic_pool.hpp To fix clang-format issues * Update cdt_list_operate.c * changed pool_destroy to true for querys and scans changed pool_destroy to true for querys and scans * Testing error conditions * FF to Dev (#620) * [CLIENT-1837] CI/CD: Label version with git commit when building on a non-tagged commit (#605) * Also label version when building unoptimized, with macOS debug support, or with uncommitted changes to the repo (i.e add a "dirty" label) * Rename config.conf to config.conf.template and add config.conf to .gitignore, so creating and modifying config.conf won't cause the repo to be in a dirty state * Auto-bump version to 15.0.1rc3.dev1 [skip ci] * [DEVOPS-234] CI/CD: Build manylinux wheels and upload them to JFrog on every push to an arbitrary branch (#606) * CI/CD: Add option to build and upload unoptimized wheels to JFrog for QE * Auto-bump version to 15.0.1rc3.dev2 [skip ci] --------- Co-authored-by: juliannguyen4 <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Refactored CLIENT-681 Refactored dynamic_pool.hpp to increase readability. Fixed memory bug with dynamic_pool in queries and scans. Added allocate_buffer as a variable to necessary functions. * Update test_query_apply.py * Update dynamic_pool.hpp * Update dynamic_pool.hpp * Corrected dynamic_pool * Update apply.c * Update type.c * Resetting state * Use manylinux builds for valgrind tests * oop * Update serializer.c * Fixed as_bytes_init_wrap to use heap_b when needed * Fixed memory leak in serializer.c removed allocate_buffer parameter from serialize_based_on_serializer_policy. Added true for freeBytes in destroy_dynamic_pool in put call. * Update serializer.c * Update serializer.c * fixed calloc typo * Modified serializer to only get bytes from bytes pool if there is no error --------- Co-authored-by: juliannguyen4 <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Change the descriptive units Added documentation Removed redundant code
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #779 +/- ##
==========================================
+ Coverage 82.45% 82.61% +0.16%
==========================================
Files 99 99
Lines 14496 14590 +94
==========================================
+ Hits 11952 12054 +102
+ Misses 2544 2536 -8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Made put serializer more consistent Removed SERIALIZER_PYTHON usage Simplified serializer code Readded serialization in places to match prior usage.
Added improved code coverage.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Additional tickets:
CLIENT-3501