This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
forked from percona/PerconaFT
-
Notifications
You must be signed in to change notification settings - Fork 3
Conversation
This file contains 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
- jemalloc mallctl_f("opt.lg_chunk", ...) is failing in memory init with jemalloc 5.1.0. This option was removed in 5.0.0 and versions of jemalloc greater than 5.0 no longer operate with the concept of lg_chunk. There is no equivalent replacement functionality. For this specific issue, lg_chunk is used by PerconaFT to set the threshold where allocations will switch to using mmap instead of the standard allocator. It is reasonable to recognize the lg_chunk query failure and pick a rational value and continue on rather than failing and asserting. For the older jemalloc versions, this value was 4MB by default. - Fixed missing initialization of global flag indicating memory startup status. - Added more assertions in the startup path to catch specific issues. - Altered behavior of jemalloc startup to recognize when lg_chunk is not supported and use 4MB instead.
PS-5406 - jemalloc 5.0.x causes TokuDB/PerconaFT to assert on load
- Fixed some incomplete relicensed files from previous round. - Added missing license text to some. - Relicensed more files to Apache V2 that locktree depends on.
PS-5501 : Re-license PerconaFT 'locktree' to Apache V2
"-lpthread" is passed as a dependency to to library merge functions, causing a CMake error because of a non existent target. This patch excludes anything that isn't a target, fixing this issue.
PS-5102: Fix configuration error with MySQL 8.0.16
Current cmake and build scripts refer to a "build_jemalloc" target, which was never actually present in the git tree. Starting with 8.0.16, MySQL CMake scripts set CMP00046 to NEW, which emits errors on non existing dependencies: the scripts work as before, and omit a working makefile, but cmake reports an exit code of 1 in the end, causing jenkins failures. This change removes every mention of the build_jemalloc target, fixing the issue.
PS-5102: Remove old build_jemalloc target
- MySQL Commit e4148f2a22922687f7652c4e3d21a22da07c9e78 alters PSI rwlock interface, bumps version and deprecates prior interface. This breaks PerconaFT portability layer. Must add #ifdef on PSI_CURRENT_RWLOCK_VERSION to compile to appropriate interface for unlock_rwlock.
PS-5363 : Merge MySQL 8.0.17
This could be useful when the server crashed with a corrupted rollback file, and is unable to start up. Specifying --tokudb--force-recovery=6 --super-read-only should start it up in a read-only, but usable state. Some data may be lost and unrecoverable. Starting the server without the read only option is *NOT* supported.
PS-5932: Implementing --tokudb-force-recovery=6 to skip reading the logs
PS-5932: disable cleaner thread and assert on dirty pages
The FT layer is initialized in toku_ft_layer_init, which is normally called in ydb_lib.cc as part of the DLL initialization process. For some reason, the linker previously optimized these construction functions out in tools, and manual initialization calls were added. In the original PS-5932 pull request, a global variable was added to ydb.cc, which changed the linker beheavior: it no longer optimized out the dll initialization function. This resulted in double initialization in tools, asserting in debug builds. Fix: as tokudb uses C++11 on all platforms, a static bool variable is added as a guards around toku_ft_layer_init and _destroy: the functions can be safely called multiple times now.
PS-5932: Fix double initialization in ft tools
PS-5674: Fixed compilation error caused by #warning in sys/sysctrl.h
Oops, CI failing check |
…rconaFT into merge_track Percona Server release 5.7.29-32
discard build testing , it's ok now. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
No description provided.