redis/.github/workflows
debing.sun 60adba48aa
Introduce DEBUG_DEFRAG compilation option to allow run test with activedefrag when allocator is not jemalloc (#14326)
This PR is based on https://github.com/valkey-io/valkey/pull/1303

This PR introduces a DEBUG_DEFRAG compilation option that enables
activedefrag functionality even when the allocator is not jemalloc, and
always forces defragmentation regardless of the amount or ratio of
fragmentation.

## Using
```
make SANITIZER=address DEBUG_DEFRAG=<force|fully>
./runtest --debug-defrag
```

* DEBUG_DEFRAG=force
   * Ignore the threshold for defragmentation to ensure that
defragmentation is always triggered.
   * Always reallocate pointers to probe for correctness issues in pointer
reallocation.

* DEBUG_DEFRAG=fully
   * Includes everything in the option `force`.
   * Additionally performs a full defrag on every defrag cycle, which is
significantly slower but more accurate.

---------

Co-authored-by: Ran Shidlansik <ranshid@amazon.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: oranagra <oran@redislabs.com>
2025-09-10 12:52:20 +08:00
..
ci.yml Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
codecov.yml Add codecov for automated code coverage (#13393) 2025-01-27 21:04:11 +08:00
codeql-analysis.yml Upgrade action/checkout version and add old-chain CI actions to test gcc4.8 (#13394) 2024-07-08 21:34:14 +08:00
coverity.yml coverity.yml: Upload should go to project redis-unstable (#12841) 2023-12-06 20:51:58 +02:00
daily.yml Introduce DEBUG_DEFRAG compilation option to allow run test with activedefrag when allocator is not jemalloc (#14326) 2025-09-10 12:52:20 +08:00
external.yml Bump actions/upload-artifact from 3 to 4 (#13780) 2025-02-01 14:09:00 +08:00
redis_docs_sync.yaml Only run redis_docs_sync.yaml on latest release (#13603) 2024-10-15 16:02:11 +03:00
reply-schemas-linter.yml Upgrade action/checkout version and add old-chain CI actions to test gcc4.8 (#13394) 2024-07-08 21:34:14 +08:00
spell-check.yml Upgrade action/checkout version and add old-chain CI actions to test gcc4.8 (#13394) 2024-07-08 21:34:14 +08:00