Skip to content
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

CMake #421

Open
wants to merge 10,000 commits into
base: main_pre_flash
Choose a base branch
from
Open

CMake #421

wants to merge 10,000 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Apr 21, 2022

  1. Configuration menu
    Copy the full SHA
    fbc9c9f View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2022

  1. setup Machamp ci

    zliang-sc committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    deef34b View commit details
    Browse the repository at this point in the history
  2. fix typo

    zliang-sc committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    fa8815d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d30019 View commit details
    Browse the repository at this point in the history
  4. PSYNC production fixes

    JohnSully committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    8a7ace0 View commit details
    Browse the repository at this point in the history
  5. fix the Machamp build

    zliang-sc committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    50490de View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2022

  1. break into tests into steps

    zliang-sc committed Apr 23, 2022
    Configuration menu
    Copy the full SHA
    ea48d97 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0801e2c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    58469d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fb9335b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bfbea1d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a64a441 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. Added multimaster test

    Vivek Saini committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    cd715f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7876859 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ae40c8 View commit details
    Browse the repository at this point in the history
  4. debug with old img

    zliang-sc committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    27130a0 View commit details
    Browse the repository at this point in the history
  5. revert back changes

    zliang-sc committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    1d8ca84 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2022

  1. update builder image

    zliang-sc committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    ebc293d View commit details
    Browse the repository at this point in the history
  2. Update ci.yml

    Change min tested version to 18.04
    JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    96f7d48 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a352731 View commit details
    Browse the repository at this point in the history
  4. hide forklock object in ae

    msotheeswaran-sc authored and JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    f35baf8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fa0a602 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6d1cd00 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5e2d3fa View commit details
    Browse the repository at this point in the history
  8. update README resource links

    benschermel authored and JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    b5a7e4b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    57ccb88 View commit details
    Browse the repository at this point in the history
  10. Fix module test break

    JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    b90b753 View commit details
    Browse the repository at this point in the history
  11. Eliminate firewall dialogs on mac for regular and cluster tests. Ther…

    …e are still issues with the sentinel tests but attempting to bind only to localhost causes failures
    JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    2928806 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    203e4e2 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    8f3f127 View commit details
    Browse the repository at this point in the history
  14. remove nullptr subtraction

    msotheeswaran-sc authored and JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    d63c5ac View commit details
    Browse the repository at this point in the history
  15. cannot mod a pointer

    msotheeswaran-sc authored and JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    0f187c7 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    eb46be3 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4af996e View commit details
    Browse the repository at this point in the history
  18. Integrate readwritelock with Pro Code

    Vivek Saini authored and JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    c529f0e View commit details
    Browse the repository at this point in the history
  19. Defensive asserts for RWLock

    Vivek Saini authored and JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    6a89ac3 View commit details
    Browse the repository at this point in the history
  20. Save and restore master info in rdb to allow active replica partial s…

    …ync (Snapchat#371)
    
    * save replid for all masters in rdb
    
    * expanded rdbSaveInfo to hold multiple master structs
    
    * parse repl-masters from rdb
    
    * recover replid info from rdb in active replica mode, attempt partial sync
    
    * save offset from rdb into correct variable
    
    * don't change replid based on master in active rep
    
    * save and load psync info from correct fields
    christianEQ authored and JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    0ed0745 View commit details
    Browse the repository at this point in the history
  21. placement new instead of memcpy

    Vivek Saini authored and JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    0906704 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    738f4d4 View commit details
    Browse the repository at this point in the history
  23. Inclusive language

    Vivek Saini authored and JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    4d053b1 View commit details
    Browse the repository at this point in the history
  24. call aeThreadOnline() earlier

    Vivek Saini authored and JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    d7b4f1e View commit details
    Browse the repository at this point in the history
  25. Removed mergeReplicationId

    Vivek Saini authored and JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    a0208b7 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    0a8cbc1 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    33a4d78 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    68957b2 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    3d2a25f View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    af0f3db View commit details
    Browse the repository at this point in the history
  31. PSYNC production fixes

    JohnSully committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    c7108ac View commit details
    Browse the repository at this point in the history
  32. Merge pull request Snapchat#64 from Snapchat/setup-machamp-ci

    setup Machamp ci
    zliang-sc authored and GitHub Enterprise committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    d78a54a View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2022

  1. Configuration menu
    Copy the full SHA
    807c443 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b011bcb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    343c47a View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2022

  1. Converted some existing PSYNC tests for multimaster

    Vivek Saini committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    20c34a9 View commit details
    Browse the repository at this point in the history
  2. Inclusive language fix

    Vivek Saini committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    1995023 View commit details
    Browse the repository at this point in the history
  3. Cleanup test suite

    Vivek Saini committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    d0386ca View commit details
    Browse the repository at this point in the history
  4. Updated test replica configs so tests make sense

    Vivek Saini committed Apr 28, 2022
    Configuration menu
    Copy the full SHA
    5162693 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2022

  1. Merge pull request Snapchat#60 from Snapchat/merge_os_apr_13

    Merge in changes from Open Source.
    
    For the most part, this encompasses two changes:
    
    - Adding partial sync capabilities to multi-master
    - Adding ReadWrite locks to prevent global lock issues when forking threads, specifically with regards to the time thread.
    Vivek Saini authored and GitHub Enterprise committed May 2, 2022
    Configuration menu
    Copy the full SHA
    3724cf9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66971f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c12d30f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    848af67 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2022

  1. Configuration menu
    Copy the full SHA
    d521bfc View commit details
    Browse the repository at this point in the history
  2. Merge pull request Snapchat#66 from Snapchat/psync_multimaster_fixes

    Psync multimaster fixes
    John Sully authored and GitHub Enterprise committed May 3, 2022
    Configuration menu
    Copy the full SHA
    07ffc4b View commit details
    Browse the repository at this point in the history
  3. Quick fix to make psync tests work

    Vivek Saini committed May 3, 2022
    Configuration menu
    Copy the full SHA
    fb8a0ad View commit details
    Browse the repository at this point in the history
  4. Merge pull request Snapchat#67 from Snapchat/vsaini_psync_test_additions

    Quick fix to make psync tests work
    John Sully authored and GitHub Enterprise committed May 3, 2022
    Configuration menu
    Copy the full SHA
    43886c1 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2022

  1. Fix PSYNC test crashes

    JohnSully committed May 4, 2022
    Configuration menu
    Copy the full SHA
    ec63787 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a6ab09c View commit details
    Browse the repository at this point in the history

Commits on May 5, 2022

  1. Merge pull request Snapchat#68 from Snapchat/psync_mm_fixes

    Fix PSYNC test crashes
    John Sully authored and GitHub Enterprise committed May 5, 2022
    Configuration menu
    Copy the full SHA
    98fd181 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2022

  1. [CMakeLists.txt,cmake,src/CMakeLists.txt] Begin implementing CMake, C…

    …Pack, CTest; [vcpkg.json] Use open-source cross-platform dependency manager
    SamuelMarks committed May 13, 2022
    Configuration menu
    Copy the full SHA
    32b98ea View commit details
    Browse the repository at this point in the history

Commits on May 18, 2022

  1. Merge OSS back into pro

    JohnSully committed May 18, 2022
    Configuration menu
    Copy the full SHA
    a265f81 View commit details
    Browse the repository at this point in the history
  2. Fix unmerged files

    JohnSully committed May 18, 2022
    Configuration menu
    Copy the full SHA
    d2d76c2 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2022

  1. Merge pull request Snapchat#71 from Snapchat/oss_merge_back

    Merge OSS back into pro
    John Sully authored and GitHub Enterprise committed May 24, 2022
    Configuration menu
    Copy the full SHA
    15d5c3b View commit details
    Browse the repository at this point in the history
  2. Implements the soft shutdown feature to allow clients to cooperativel…

    …y disconnect preventing disruption during shutdown
    JohnSully committed May 24, 2022
    Configuration menu
    Copy the full SHA
    84b37ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f60bb34 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2022

  1. Merge pull request Snapchat#72 from Snapchat/soft_shutdown

    Implements the soft shutdown feature
    John Sully authored and GitHub Enterprise committed May 25, 2022
    Configuration menu
    Copy the full SHA
    9024d13 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2022

  1. Configuration menu
    Copy the full SHA
    d6cf39c View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Update build-and-publish.sh

    msotheeswaran-sc authored and GitHub Enterprise committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    6afeef0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request Snapchat#74 from Snapchat/fix-build-script

    Update build-and-publish.sh
    John Sully authored and GitHub Enterprise committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    56bf1af View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. Configuration menu
    Copy the full SHA
    93ea66e View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Configuration menu
    Copy the full SHA
    e3f186e View commit details
    Browse the repository at this point in the history
  2. Merge pull request Snapchat#78 from Snapchat/cert_leak_fix

    Fix certificate leak during connection when tls-allowlists are used
    John Sully authored and GitHub Enterprise committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    86f9888 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. Configuration menu
    Copy the full SHA
    a8f6132 View commit details
    Browse the repository at this point in the history
  2. fix warnings

    msotheeswaran-sc committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    c5cd0d8 View commit details
    Browse the repository at this point in the history
  3. Merge pull request Snapchat#87 from Snapchat/fix_ftracking_bug

    Check tracking on every db in rdbLoadRio
    msotheeswaran-sc authored and GitHub Enterprise committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    23f92fa View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2022

  1. Fix a race when undoConnectWithMaster changes mi->repl_transfer_s but…

    … the connection is not yet closed and the event handler runs
    JohnSully committed Aug 21, 2022
    Configuration menu
    Copy the full SHA
    1810f8a View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. Fix a race in processChanges/trackChanges with rdbLoadRio by acquirin…

    …g the lock when trackChanges is set
    JohnSully committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    fce669e View commit details
    Browse the repository at this point in the history
  2. Merge pull request Snapchat#93 from Snapchat/fix_race_trackchanges

    Fix a race in processChanges/trackChanges with rdbLoadRio by acquirin…
    John Sully authored and GitHub Enterprise committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    6bb155a View commit details
    Browse the repository at this point in the history
  3. Merge pull request Snapchat#92 from Snapchat/fix_sync_cancel_race

    Fix a race when undoConnectWithMaster changes mi->repl_transfer_s but…
    John Sully authored and GitHub Enterprise committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    1f74115 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2022

  1. Fix ASAN use after free

    JohnSully committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    dd65d4a View commit details
    Browse the repository at this point in the history
  2. Additional fixes

    JohnSully committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    c97dc08 View commit details
    Browse the repository at this point in the history
  3. Merge pull request Snapchat#96 from Snapchat/repl_asan_fixes

    Repl asan fixes
    John Sully authored and GitHub Enterprise committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    3e83935 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2022

  1. Configuration menu
    Copy the full SHA
    fcb4fdc View commit details
    Browse the repository at this point in the history
  2. Fix P99 latency issue for TLS where we leave work for the next event …

    …loop
    
    tlsProcessPendingData() needs to be called before we execute queued commands because it may enqueue more commands
    JohnSully committed Aug 26, 2022
    Configuration menu
    Copy the full SHA
    f147c75 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. Merge pull request Snapchat#99 from Snapchat/atlas_fixes

    Atlas fixes
    John Sully authored and GitHub Enterprise committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    5cfbd72 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2022

  1. Configuration menu
    Copy the full SHA
    b4dcff4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    12516b6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f3a7f07 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. disable tls in machamp

    JohnSully committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    ac194e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5afdab4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ef537cc View commit details
    Browse the repository at this point in the history
  4. Merge pull request Snapchat#111 from Snapchat/test_reliability

    Improve reliability of machamp tests
    John Sully authored and GitHub Enterprise committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    d75f78d View commit details
    Browse the repository at this point in the history
  5. Verify that partial syncs do indeed occur

    Vivek Saini authored and JohnSully committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    acfd110 View commit details
    Browse the repository at this point in the history
  6. Merge pull request Snapchat#69 from Snapchat/vsaini_psync_test_augment

    Verify that partial syncs occur in psync2-reg-multimaster
    John Sully authored and GitHub Enterprise committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    4c1f54d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5047e64 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2022

  1. Configuration menu
    Copy the full SHA
    fb0c8e4 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2022

  1. Merge main with oss release sep29 2022 (Snapchat#521)

    * need to include stdint for uintptr_t
    
    * need to include stdint for uintptr_t
    
    * use atomic_load for g_pserver->mstime
    
    * use atomic_load for g_pserver->mstime
    
    * Integrate readwritelock with Pro Code
    
    * Integrate readwritelock with Pro Code
    
    * Defensive asserts for RWLock
    
    * Defensive asserts for RWLock
    
    * Save and restore master info in rdb to allow active replica partial sync (Snapchat#371)
    
    * save replid for all masters in rdb
    
    * expanded rdbSaveInfo to hold multiple master structs
    
    * parse repl-masters from rdb
    
    * recover replid info from rdb in active replica mode, attempt partial sync
    
    * save offset from rdb into correct variable
    
    * don't change replid based on master in active rep
    
    * save and load psync info from correct fields
    
    * Save and restore master info in rdb to allow active replica partial sync (Snapchat#371)
    
    * save replid for all masters in rdb
    
    * expanded rdbSaveInfo to hold multiple master structs
    
    * parse repl-masters from rdb
    
    * recover replid info from rdb in active replica mode, attempt partial sync
    
    * save offset from rdb into correct variable
    
    * don't change replid based on master in active rep
    
    * save and load psync info from correct fields
    
    * placement new instead of memcpy
    
    * placement new instead of memcpy
    
    * Remove asserts, RW lock can go below zero in cases of aeAcquireLock
    
    * Remove asserts, RW lock can go below zero in cases of aeAcquireLock
    
    * Inclusive language
    
    * Inclusive language
    
    * update packaging for OS merge
    
    * update packaging for OS merge
    
    * modify dockerfile to build within image
    
    * modify dockerfile to build within image
    
    * Make active client balancing a configurable option
    
    * Make active client balancing a configurable option
    
    * With TLS throttle accepts if server is under heavy load - do not change non TLS behavior
    
    * With TLS throttle accepts if server is under heavy load - do not change non TLS behavior
    
    * Only run the tls-name-validation test if --tls is passed into runtest
    
    * Only run the tls-name-validation test if --tls is passed into runtest
    
    * Fix KeyDB not building with TLS < 1.1.1
    
    * Fix KeyDB not building with TLS < 1.1.1
    
    * update changelog to use replica as terminology
    
    * update changelog to use replica as terminology
    
    * update copyright
    
    * update copyright
    
    * update deb copyright
    
    * update deb copyright
    
    * call aeThreadOnline() earlier
    
    * call aeThreadOnline() earlier
    
    * Removed mergeReplicationId
    
    * Removed mergeReplicationId
    
    * acceptTLS is threadsafe like the non TLS version
    
    * acceptTLS is threadsafe like the non TLS version
    
    * setup Machamp ci
    
    * setup Machamp ci
    
    * make build_test.sh executable
    
    * make build_test.sh executable
    
    * PSYNC production fixes
    
    * PSYNC production fixes
    
    * fix the Machamp build
    
    * fix the Machamp build
    
    * break into tests into steps
    
    * break into tests into steps
    
    * Added multimaster test
    
    * Added multimaster test
    
    * Update ci.yml
    
    Change min tested version to 18.04
    
    * Update ci.yml
    
    Change min tested version to 18.04
    
    * fork lock for all threads, use fastlock for readwritelock
    
    * fork lock for all threads, use fastlock for readwritelock
    
    * hide forklock object in ae
    
    * hide forklock object in ae
    
    * only need to include readwritelock in ae
    
    * only need to include readwritelock in ae
    
    * time thread lock uses fastlock instead of std::mutex
    
    * time thread lock uses fastlock instead of std::mutex
    
    * set thread as offline when waiting for time thread lock
    
    * set thread as offline when waiting for time thread lock
    
    * update README resource links
    
    * update README resource links
    
    * Fix MALLOC=memkind build issues
    
    * Fix MALLOC=memkind build issues
    
    * Fix module test break
    
    * Fix module test break
    
    * Eliminate firewall dialogs on mac for regular and cluster tests.  There are still issues with the sentinel tests but attempting to bind only to localhost causes failures
    
    * Eliminate firewall dialogs on mac for regular and cluster tests.  There are still issues with the sentinel tests but attempting to bind only to localhost causes failures
    
    * remove unused var in networking.cpp
    
    * remove unused var in networking.cpp
    
    * check ziplist len to avoid crash on empty ziplist convert
    
    * check ziplist len to avoid crash on empty ziplist convert
    
    * remove nullptr subtraction
    
    * remove nullptr subtraction
    
    * cannot mod a pointer
    
    * cannot mod a pointer
    
    * need to include stdint for uintptr_t
    
    * need to include stdint for uintptr_t
    
    * use atomic_load for g_pserver->mstime
    
    * use atomic_load for g_pserver->mstime
    
    * Integrate readwritelock with Pro Code
    
    * Integrate readwritelock with Pro Code
    
    * Defensive asserts for RWLock
    
    * Defensive asserts for RWLock
    
    * Save and restore master info in rdb to allow active replica partial sync (Snapchat#371)
    
    * save replid for all masters in rdb
    
    * expanded rdbSaveInfo to hold multiple master structs
    
    * parse repl-masters from rdb
    
    * recover replid info from rdb in active replica mode, attempt partial sync
    
    * save offset from rdb into correct variable
    
    * don't change replid based on master in active rep
    
    * save and load psync info from correct fields
    
    * Save and restore master info in rdb to allow active replica partial sync (Snapchat#371)
    
    * save replid for all masters in rdb
    
    * expanded rdbSaveInfo to hold multiple master structs
    
    * parse repl-masters from rdb
    
    * recover replid info from rdb in active replica mode, attempt partial sync
    
    * save offset from rdb into correct variable
    
    * don't change replid based on master in active rep
    
    * save and load psync info from correct fields
    
    * placement new instead of memcpy
    
    * placement new instead of memcpy
    
    * Remove asserts, RW lock can go below zero in cases of aeAcquireLock
    
    * Remove asserts, RW lock can go below zero in cases of aeAcquireLock
    
    * Inclusive language
    
    * Inclusive language
    
    * call aeThreadOnline() earlier
    
    * call aeThreadOnline() earlier
    
    * Removed mergeReplicationId
    
    * Removed mergeReplicationId
    
    * Make active client balancing a configurable option
    
    * Make active client balancing a configurable option
    
    * With TLS throttle accepts if server is under heavy load - do not change non TLS behavior
    
    * With TLS throttle accepts if server is under heavy load - do not change non TLS behavior
    
    * acceptTLS is threadsafe like the non TLS version
    
    * acceptTLS is threadsafe like the non TLS version
    
    * PSYNC production fixes
    
    * PSYNC production fixes
    
    * Ensure we are responsive during storagecache clears
    
    * Ensure we are responsive during storagecache clears
    
    * Ensure recreated tables use the same settings as ones made at boot
    
    * Ensure recreated tables use the same settings as ones made at boot
    
    * Converted some existing PSYNC tests for multimaster
    
    * Converted some existing PSYNC tests for multimaster
    
    * Inclusive language fix
    
    * Inclusive language fix
    
    * Cleanup test suite
    
    * Cleanup test suite
    
    * Updated test replica configs so tests make sense
    
    * Updated test replica configs so tests make sense
    
    * active-rep test reliability
    
    * active-rep test reliability
    
    * Quick fix to make psync tests work
    
    * Quick fix to make psync tests work
    
    * Fix PSYNC test crashes
    
    * Fix PSYNC test crashes
    
    * Ensure we force moves not copies when ingesting bulk insert files
    
    * Ensure we force moves not copies when ingesting bulk insert files
    
    * Disable async for hget commands as it is not ready
    
    * Disable FLASH
    
    * Fix crash in save of masterinfo
    
    * Fix musl/Alpine build failures
    
    * Remove unnecessary libs
    
    * update readme
    
    * update readme
    
    * remove Enterprise references
    
    * Limit max overage to 20% during RDB save
    
    * Delete COPYING to replace with BSD license
    
    * update deb master changelog
    
    * Update license
    
    * Fix Readme typo from github org transition
    
    Replace mention of scratch-file-path with db-s3-object
    
    * Fix reference counting failure in the dict.  This is caused by std::swap also swapping refcounts
    
    * Fix assertion in async rehash
    
    * Prevent crash on shutdown by avoiding dtors (they are unnecessary anyways)
    
    * Initialize noshrink, it was dangling
    
    * Prevent us from starting a rehash when one wasn't already in progress.  This can cause severe issues for snapshots
    
    * Avoid unnecessary rehashing when a rehash is abandoned
    
    * Dictionary use correct acquire/release semantics
    
    * Add fence barriers for the repl backlog (important for AARCH64 and other weak memory models)
    
    * Silence TSAN errors on ustime and mstime.  Every CPU we support is atomic on aligned ints, but correctness matters
    
    * Disable async commands by default
    
    * Fix TSAN warnings on the repl backlog
    
    * Merge OSS back into pro
    
    * Fix unmerged files
    
    * Fix O(n^2) algorithm in the GC cleanup logic
    
    * Fix crash in expire when a snapshot is in flight.  Caused by a perf optimization getting the expire map out of sync with the val
    
    * On Alpine we must have a reasonable stack size
    
    * Revert ci.yml to unstable branch version
    
    * Implements the soft shutdown feature to allow clients to cooperatively disconnect preventing disruption during shutdown
    
    * Ensure clean shutdown with multiple threads
    
    * update dockerfiles
    
    * update deb pkg references and changelog
    
    * update gem reference
    
    * lpGetInteger returns int64_t, avoid overflow (#10068)
    
    Fix #9410
    
    Crucial for the ms and sequence deltas, but I changed all
    calls, just in case (e.g. "flags")
    
    Before this commit:
    `ms_delta` and `seq_delta` could have overflown, causing `currid` to be wrong,
    which in turn would cause `streamTrim` to trim the entire rax node (see new test)
    
    * Fix issue Snapchat#454 (BSD build break)
    
    * Do not allow commands to run in background when in eval, Issue Snapchat#452
    
    * Fix certificate leak during connection when tls-allowlists are used
    
    * Fix issue Snapchat#480
    
    * Fix crash running INFO command while a disk based backlog is set
    
    * check tracking per db
    
    * fix warnings
    
    * Fix a race when undoConnectWithMaster changes mi->repl_transfer_s but the connection is not yet closed and the event handler runs
    
    * Fix a race in processChanges/trackChanges with rdbLoadRio by acquiring the lock when trackChanges is set
    
    * Fix ASAN use after free
    
    * Additional fixes
    
    * Fix integer overflow of the track changes counter
    
    * Fix P99 latency issue for TLS where we leave work for the next event loop
    
    tlsProcessPendingData() needs to be called before we execute queued commands because it may enqueue more commands
    
    * Fix race removing key cache
    
    * Prevent crash on load in long running KeyDB instances
    
    * Fixes a crash where the server assertion failed when the key exists in DB during RDB load
    
    * Remove old assertion which is commented out.
    
    * avoid from instatiating EpochHolder multiple times to improve performance and cpu utilization
    
    * avoid from instatiating EpochHolder multiple times to improve performance and cpu utilization
    
    * src\redis-cli.c: fix potential null pointer dereference found by cppcheck
    
    src\redis-cli.c:5488:35: warning: Either the condition
    '!table' is redundant or there is possible null pointer dereference:
    table. [nullPointerRedundantCheck]
    
    * Fix Issue Snapchat#486
    
    * Workaround bug in snapshot sync - abort don't crash
    
    * Improve reliability of async parts of the soft shutdown tests
    
    * Improve reliability of fragmentation tests
    
    * Verify that partial syncs do indeed occur
    
    * Fix O(n) algorithm in INFO command
    
    * Remove incorrect assert that fires when the repl backlog is used fully
    
    * Make building flash optional
    
    * Remove unneeded gitlab CI file
    
    * [BUG] Moves key to another DB, the source key was removed if the move failed due to the key exists in the destination db Snapchat#497 (Snapchat#498)
    
    Co-authored-by: Paul Chen <[email protected]>
    
    * trigger repl_curr_off!= master_repl_offset assert failure when having pending write case
    
    * use debug for logging the message instead
    
    * rocksdb log using up the diskspace on flash (Snapchat#519)
    
    * Fix OpenSSL 3.0.x related issues. (#10291)
    
    * Drop obsolete initialization calls.
    * Use decoder API for DH parameters.
    * Enable auto DH parameters if not explicitly used, which should be the
      preferred configuration going forward.
    
    * remove unnecessary forward declaration
    
    * remove internal ci stuff
    
    * remove more internal ci/publishing
    
    * submodule update step
    
    * use with syntax instead
    
    * bump ci ubuntu old ver as latest is now 22.04
    
    * include submodules on all ci jobs
    
    * install all deps for all ci jobs
    
    Co-authored-by: Vivek Saini <[email protected]>
    Co-authored-by: Christian Legge <[email protected]>
    Co-authored-by: benschermel <[email protected]>
    Co-authored-by: John Sully <[email protected]>
    Co-authored-by: zliang <[email protected]>
    Co-authored-by: malavan <[email protected]>
    Co-authored-by: John Sully <[email protected]>
    Co-authored-by: jfinity <[email protected]>
    Co-authored-by: benschermel <[email protected]>
    Co-authored-by: guybe7 <[email protected]>
    Co-authored-by: Karthick Ariyaratnam (A) <[email protected]>
    Co-authored-by: root <[email protected]>
    Co-authored-by: Ilya Shipitsin <[email protected]>
    Co-authored-by: Paul Chen <[email protected]>
    Co-authored-by: Paul Chen <[email protected]>
    Co-authored-by: Yossi Gottlieb <[email protected]>
    17 people authored Dec 14, 2022
    Configuration menu
    Copy the full SHA
    f5f1bd7 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  1. fix macos build warnings/ remove 32 bit CI run (Snapchat#522)

    * fix macos build warnings
    
    * remove 32 bit ci run as we no longer support it
    msotheeswaran-sc authored Dec 15, 2022
    Configuration menu
    Copy the full SHA
    2498e0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f054ef7 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2022

  1. TLS test fix from redis (Snapchat#524)

    * Fix TLS tests on newer tcl-tls/OpenSSL. (#10910)
    
    Before this commit, TLS tests on Ubuntu 22.04 would fail as dropped
    connections result with an ECONNABORTED error thrown instead of an empty
    read.
    
    * multithread for ci tests
    
    * multithread cluster tests
    
    * clients to 1 in ci
    
    Co-authored-by: Yossi Gottlieb <[email protected]>
    msotheeswaran-sc and yossigo authored Dec 29, 2022
    Configuration menu
    Copy the full SHA
    48e5220 View commit details
    Browse the repository at this point in the history
  2. flash package update (Snapchat#528)

    * ship packages with flash option
    
    * deb12 fix
    
    Co-authored-by: benschermel <[email protected]>
    msotheeswaran-sc and benschermel authored Dec 29, 2022
    Configuration menu
    Copy the full SHA
    b50f0cc View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Security fixes from redis: Avoid integer overflows in SETRANGE and SO…

    …RT, Fix range issues in ZRANDMEMBER and HRANDFIELD (Snapchat#547)
    
    * Avoid integer overflows in SETRANGE and SORT (CVE-2022-35977) (#11720)
    
    Authenticated users issuing specially crafted SETRANGE and SORT(_RO)
    commands can trigger an integer overflow, resulting with Redis attempting
    to allocate impossible amounts of memory and abort with an OOM panic.
    
    * Fix range issues in ZRANDMEMBER and HRANDFIELD (CVE-2023-22458) (#11674)
    
    missing range check in ZRANDMEMBER and HRANDIFLD leading to panic due
    to protocol limitations
    
    * use std::min/max
    
    * add assert_not_equal
    
    Co-authored-by: Oran Agra <[email protected]>
    msotheeswaran-sc and oranagra authored Jan 17, 2023
    Configuration menu
    Copy the full SHA
    ad0be56 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2023

  1. Configuration menu
    Copy the full SHA
    c3343dd View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2023

  1. Configuration menu
    Copy the full SHA
    d7c34a8 View commit details
    Browse the repository at this point in the history
  2. Fix optional flash build (Snapchat#549)

    Currently flash is always built, with this change it is actually optional.
    msotheeswaran-sc authored Jan 23, 2023
    Configuration menu
    Copy the full SHA
    ff79919 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7e91711 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    694fc59 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2023

  1. fix typo & discrepancy

    benschermel committed Jan 25, 2023
    Configuration menu
    Copy the full SHA
    1113488 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Configuration menu
    Copy the full SHA
    fc8e480 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Configuration menu
    Copy the full SHA
    d4555a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    687850a View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2023

  1. change hasActiveChildProcess to return true only when there is an act…

    …ual child process (Snapchat#558)
    
    change hasActiveChildProcess to return true only when there is an actual child process, add hasActiveChildProcessOrBGSave to catch case of forkless bgsave
    msotheeswaran-sc authored Feb 3, 2023
    Configuration menu
    Copy the full SHA
    5123e2b View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2023

  1. Configuration menu
    Copy the full SHA
    a1978ce View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. Configuration menu
    Copy the full SHA
    f3a9d2e View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2023

  1. Configuration menu
    Copy the full SHA
    3492615 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b5ab1d6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0cba0ed View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    932fc20 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2023

  1. Configuration menu
    Copy the full SHA
    6c26f91 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f4c6e6 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2023

  1. Configuration menu
    Copy the full SHA
    62d281b View commit details
    Browse the repository at this point in the history
  2. Merge pull request Snapchat#560 from Snapchat/aof_fixes

    * technically possible for child_type == CHILD_TYPE_AOF without active child
    
    * don't release lock on child as it can hang
    
    * need child specific release that doesn't trigger cv
    
    * refactor aeReleaseForkLockChild to capture releaseRead case
    
    * rdb_child_pid isn't the correct value
    msotheeswaran-sc authored Feb 13, 2023
    Configuration menu
    Copy the full SHA
    0bf6a0c View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2023

  1. snprintf fix

    msotheeswaran-sc committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    7fcbfac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    819bcc1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    045cc52 View commit details
    Browse the repository at this point in the history
  4. Merge pull request Snapchat#570 from Snapchat/fix_snprint_uses

    Fix snprintf uses to avoid hardcoded sizes
    msotheeswaran-sc authored Feb 15, 2023
    Configuration menu
    Copy the full SHA
    5f5eb0e View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2023

  1. Configuration menu
    Copy the full SHA
    db2c3cd View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. Merge pull request Snapchat#575 from EreMaijala/main-issue-537

    Close child info pipes when RDB save thread is done.
    msotheeswaran-sc authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    4ac449a View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Fix possible crash in prefetchKeysAsync with flash enabled. (Snapchat…

    …#578)
    
    * remove short circuit as it is unsafe
    msotheeswaran-sc authored Feb 23, 2023
    Configuration menu
    Copy the full SHA
    81c6c79 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Upgrade rocksdb to v7.9.2 (Snapchat#555)

    * upgrade to rocksdb v7.9.2
    
    * need c++17 for rocksdb
    
    * don't prefix jemalloc
    
    * different exception specifier
    msotheeswaran-sc authored Mar 2, 2023
    Configuration menu
    Copy the full SHA
    a9995d2 View commit details
    Browse the repository at this point in the history
  2. Fix rdb fd leak (Snapchat#579)

    * close tempfile when done bgsave
    
    * declare getTempFileName
    
    * open close child pipes in correct place
    
    * assert no existing child pipe when opening new child pipe
    msotheeswaran-sc authored Mar 2, 2023
    Configuration menu
    Copy the full SHA
    c2077a2 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Configuration menu
    Copy the full SHA
    b398021 View commit details
    Browse the repository at this point in the history
  2. Add config for AWS s3 rdb save/load. (Snapchat#591)

    * add s3 config
    
    * missing include
    
    * ignore s3 config in config test
    
    * Update introspection.tcl
    
    * Update config.cpp
    msotheeswaran-sc authored Mar 8, 2023
    Configuration menu
    Copy the full SHA
    c8dd674 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    715f832 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. Configuration menu
    Copy the full SHA
    deaaa99 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. Configuration menu
    Copy the full SHA
    06380e5 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. add g_expirelock to previously async accesses to expireset (Snapchat#618

    )
    
    * add expire_lock to previously async access to expireset
    
    * add flash option to create-cluster
    msotheeswaran-sc authored Mar 31, 2023
    Configuration menu
    Copy the full SHA
    858db26 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. add key eviction number for storage

    Ubuntu authored and JohnSully committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    77bc0af View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2023

  1. restore fork impl of save to replica sockets (Snapchat#622)

    * restore fork impl of save to slave sockets
    
    * default to fork bgsave
    msotheeswaran-sc authored Apr 7, 2023
    Configuration menu
    Copy the full SHA
    f54e3ea View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. Configuration menu
    Copy the full SHA
    f9ccf90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1735e73 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. Integer Overflow in RAND commands can lead to assertion (CVE-2023-251…

    …55) (#11857)
    
    Issue happens when passing a negative long value that greater than
    the max positive value that the long can store.
    oranagra authored and msotheeswaran-sc committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    d4c0a97 View commit details
    Browse the repository at this point in the history
  2. fix hincrbyfloat not to create a key if the new value is invalid (#11…

    …149)
    
    Check the validity of the value before performing the create operation,
    prevents new data from being generated even if the request fails to execute.
    
    Co-authored-by: Oran Agra <[email protected]>
    Co-authored-by: chendianqiang <[email protected]>
    Co-authored-by: Binbin <[email protected]>
    4 people authored and msotheeswaran-sc committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    4c200e0 View commit details
    Browse the repository at this point in the history
  3. ->ptr to ptrFromObj

    msotheeswaran-sc committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    525c97d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    36d515e View commit details
    Browse the repository at this point in the history
  5. limit number of random elements returned based on config, exit loop e…

    …arly if client is being closed
    msotheeswaran-sc committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    a8c0f9b View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2023

  1. Configuration menu
    Copy the full SHA
    e4dacb4 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2023

  1. Configuration menu
    Copy the full SHA
    f629a76 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. Configuration menu
    Copy the full SHA
    ef8b1bf View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. Fix aws startup check preventing keydb from starting

    Alexandre Chichmanian authored and msotheeswaran-sc committed May 30, 2023
    Configuration menu
    Copy the full SHA
    16e8469 View commit details
    Browse the repository at this point in the history
  2. Flash slot to key (Snapchat#653)

    * add hash prefixing to rocksdb
    
    * don't need to offset internal keys
    
    * remove hashslot prefix when loading from rocksdb
    
    * don't prefix internal keys
    
    * implement slot to keys with rocksdb
    
    * fix compile
    
    * add hashslot enum to test storage provider
    
    * add --flash option for tests
    
    * forgot return statement in getKeysInSlot
    
    * check for count mismatch
    
    * forgot ;
    
    * add assert to ensure correctness
    
    * fix warnings
    
    * add option to show logs of 1 server at a time
    
    * add fixed length prefix extractor
    
    * add machamp
    
    * switch machamp to main branch
    
    * add machamp script
    msotheeswaran-sc authored May 30, 2023
    Configuration menu
    Copy the full SHA
    3336c4f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc419a4 View commit details
    Browse the repository at this point in the history
  4. remove keyproxy test from machamp

    * Update build.yaml
    msotheeswaran-sc authored and GitHub Enterprise committed May 30, 2023
    Configuration menu
    Copy the full SHA
    163f903 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Throw load error when replicaof config is before active-replica or mu…

    …lti-master configs (Snapchat#666)
    
    * load error when replicaof is set before multi-master or active-replica
    
    * only an issue if enabled
    msotheeswaran-sc authored Jun 1, 2023
    Configuration menu
    Copy the full SHA
    0543058 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. Throw load error when replicaof config is before active-replica or mu…

    …lti-master configs (Snapchat#666)
    
    * load error when replicaof is set before multi-master or active-replica
    
    * only an issue if enabled
    msotheeswaran-sc committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    62f3c37 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. Configuration menu
    Copy the full SHA
    45b41fb View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. Fix a bug where swapdb result was not recovered after keydb restarts …

    …in FLASH mode. (Snapchat#668)
    
    Co-authored-by: k00809413 <[email protected]>
    karthyuom and k00809413 authored Jun 21, 2023
    Configuration menu
    Copy the full SHA
    46660b9 View commit details
    Browse the repository at this point in the history
  2. Fix propagate in transaction crash (Snapchat#200)

    * ignore propagate_in_transaction in processCommand if command is async
    
    * make propogate_in_transaction thread local
    
    * forgot module.cpp
    
    * move client_pause_in_transaction to thread local
    
    * don't do async commands while in eval or exec
    
    * don't do keys or scan async if in transaction
    msotheeswaran-sc authored and GitHub Enterprise committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    8242ba5 View commit details
    Browse the repository at this point in the history
  3. have FreeMemoryLazyFree increment dict refcount so it doesn't try to …

    …use a dict that has already been released (Snapchat#199)
    msotheeswaran-sc authored and GitHub Enterprise committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    2adf93b View commit details
    Browse the repository at this point in the history
  4. Make inserts in flight a shared_ptr to avoid double free (Snapchat#198)

    * remove keyproxy test from machamp
    
    * Update build.yaml
    
    * make insertsinflight shared
    msotheeswaran-sc authored and GitHub Enterprise committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    9e310b1 View commit details
    Browse the repository at this point in the history
  5. Fix propagate in transaction crash (Snapchat#200)

    * ignore propagate_in_transaction in processCommand if command is async
    
    * make propogate_in_transaction thread local
    
    * forgot module.cpp
    
    * move client_pause_in_transaction to thread local
    
    * don't do async commands while in eval or exec
    
    * don't do keys or scan async if in transaction
    msotheeswaran-sc committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    b258322 View commit details
    Browse the repository at this point in the history
  6. have FreeMemoryLazyFree increment dict refcount so it doesn't try to …

    …use a dict that has already been released (Snapchat#199)
    msotheeswaran-sc committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    dde2c27 View commit details
    Browse the repository at this point in the history
  7. Make inserts in flight a shared_ptr to avoid double free (Snapchat#198)

    * remove keyproxy test from machamp
    
    * Update build.yaml
    
    * make insertsinflight shared
    msotheeswaran-sc committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    a77548e View commit details
    Browse the repository at this point in the history
  8. Fix a bug where swapdb result was not recovered after keydb restarts …

    …in FLASH mode. (Snapchat#668)
    
    Co-authored-by: k00809413 <[email protected]>
    2 people authored and msotheeswaran-sc committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    533c1f7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    dcd623b View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. Port load shedding and availability-zone (Snapchat#202)

    John Sully authored and GitHub Enterprise committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    f53e033 View commit details
    Browse the repository at this point in the history
  2. Cherry picking keydb changes from keydbpro to main (Snapchat#203)

    * Audit Logging for KeyProxy and KeyDB (Snapchat#144)
    
    * Audit Log: log cert fingerprint (Snapchat#151)
    
    * Add more flash storage stats to info command.
    
    * Remove unneeded libs when not building FLASH
    
    * Fix mem leak
    
    * Allow the reservation of localhost connections to ensure health checks always succeed even at maxclients (Snapchat#181)
    
    * Enable a force option for commands (Snapchat#183)
    
    * Fix missing newline and excessive logging in the CLI
    
    * Support NO ONE for "CLUSTER REPLICATE" command.
    
    Co-authored-by: Jacob Bohac <[email protected]>
    Co-authored-by: Sergey Kolosov <[email protected]>
    Co-authored-by: John Sully <[email protected]>
    Co-authored-by: John Sully <[email protected]>
    5 people authored and GitHub Enterprise committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    c17b9f4 View commit details
    Browse the repository at this point in the history
  3. port changes to 6.3

    acope-sc committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    6efe344 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2023

  1. with config

    acope-sc committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    4e22068 View commit details
    Browse the repository at this point in the history
  2. fix conflict

    acope-sc committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    4ab128b View commit details
    Browse the repository at this point in the history
  3. revert

    acope-sc committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    e029c40 View commit details
    Browse the repository at this point in the history
  4. update

    acope-sc committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    147baee View commit details
    Browse the repository at this point in the history
  5. update

    acope-sc committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    4a9a9f9 View commit details
    Browse the repository at this point in the history
  6. update

    acope-sc committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    5b98a58 View commit details
    Browse the repository at this point in the history
  7. update sys free

    acope-sc committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    88b24eb View commit details
    Browse the repository at this point in the history
  8. fix compiler errors

    acope-sc committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    c894255 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. llu

    acope-sc committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    d346601 View commit details
    Browse the repository at this point in the history
  2. fixes

    acope-sc committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    f9978c5 View commit details
    Browse the repository at this point in the history
  3. fix

    acope-sc committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    3e67b43 View commit details
    Browse the repository at this point in the history
  4. fix

    acope-sc committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    b3492b5 View commit details
    Browse the repository at this point in the history
  5. meminfo

    acope-sc committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    4b72775 View commit details
    Browse the repository at this point in the history
  6. fix

    acope-sc committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    1d53d8b View commit details
    Browse the repository at this point in the history
  7. clean

    acope-sc committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    3e528f2 View commit details
    Browse the repository at this point in the history
  8. fix

    acope-sc committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    5237d29 View commit details
    Browse the repository at this point in the history
  9. fix

    acope-sc committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    01b7bc4 View commit details
    Browse the repository at this point in the history
  10. fix

    acope-sc committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    e80ff9e View commit details
    Browse the repository at this point in the history
  11. fix

    acope-sc committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    184185a View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. Configuration menu
    Copy the full SHA
    26285d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e052f7 View commit details
    Browse the repository at this point in the history
  3. Fix typo in module.cpp (Snapchat#686)

    comparision -> comparison
    eltociear authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    6f77a82 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2023

  1. ok

    acope-sc committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    e6bc1c5 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. modify

    acope-sc committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    1c8f1a0 View commit details
    Browse the repository at this point in the history
  2. use enum class

    acope-sc committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    e35ce24 View commit details
    Browse the repository at this point in the history
  3. fix compile error

    acope-sc committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    c0c9230 View commit details
    Browse the repository at this point in the history
  4. nullptr

    acope-sc committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    970e594 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2023

  1. Merge pull request Snapchat#204 from Snapchat/acope-evict-main

    Force evictions when system available memory is low
    acope-sc authored and GitHub Enterprise committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    72b47ed View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Fix a bug where a temp rdb file with zero bytes is generated in flash…

    … mode. (Snapchat#696)
    
    Co-authored-by: Karthick Ariyaratnam (A) <[email protected]>
    karthyuom and Karthick Ariyaratnam (A) authored Jul 13, 2023
    Configuration menu
    Copy the full SHA
    501ae47 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

  1. Fix a fug where repl-backlog-size config was modifed in keydb.conf wi…

    …th the runtime value during config rewrite.
    Karthick Ariyaratnam (A) authored and JohnSully committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    0d01b81 View commit details
    Browse the repository at this point in the history
  2. Prevent a deadlock when running CLIENT KILL with large numbers of cli…

    …ents (Snapchat#206)
    John Sully authored and GitHub Enterprise committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    c017719 View commit details
    Browse the repository at this point in the history
  3. Fix OOM issues during full sync when fork bgsave is used (Snapchat#209)

    John Sully authored and GitHub Enterprise committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    d552fd0 View commit details
    Browse the repository at this point in the history
  4. Prevent crash on free when using repl-disk-buffer-reserve (Snapchat#207)

    John Sully authored and GitHub Enterprise committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    bef7786 View commit details
    Browse the repository at this point in the history
  5. Build break fix

    JohnSully committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    c2c831d View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. Configuration menu
    Copy the full SHA
    821b39a View commit details
    Browse the repository at this point in the history
  2. port changes to 6.3

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    4c3d934 View commit details
    Browse the repository at this point in the history
  3. with config

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    1f2c179 View commit details
    Browse the repository at this point in the history
  4. revert

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    39e3141 View commit details
    Browse the repository at this point in the history
  5. update

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    c9d63c5 View commit details
    Browse the repository at this point in the history
  6. update

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    22d5ce4 View commit details
    Browse the repository at this point in the history
  7. update

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    1dc5ea4 View commit details
    Browse the repository at this point in the history
  8. update sys free

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    87012bf View commit details
    Browse the repository at this point in the history
  9. fix compiler errors

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    ac7e6c0 View commit details
    Browse the repository at this point in the history
  10. llu

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    65b7faf View commit details
    Browse the repository at this point in the history
  11. fixes

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    60d7426 View commit details
    Browse the repository at this point in the history
  12. fix

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    e3cdc76 View commit details
    Browse the repository at this point in the history
  13. fix

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    4c0cf9e View commit details
    Browse the repository at this point in the history
  14. meminfo

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    271c2cb View commit details
    Browse the repository at this point in the history
  15. fix

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    3792ffb View commit details
    Browse the repository at this point in the history
  16. clean

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    4da21dd View commit details
    Browse the repository at this point in the history
  17. fix

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    329bf17 View commit details
    Browse the repository at this point in the history
  18. fix

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    f774a17 View commit details
    Browse the repository at this point in the history
  19. fix

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    e80aba6 View commit details
    Browse the repository at this point in the history
  20. fix

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    b2ecf2c View commit details
    Browse the repository at this point in the history
  21. ok

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    cf4735b View commit details
    Browse the repository at this point in the history
  22. modify

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    b5a20a4 View commit details
    Browse the repository at this point in the history
  23. use enum class

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    872c605 View commit details
    Browse the repository at this point in the history
  24. fix compile error

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    0d2f98d View commit details
    Browse the repository at this point in the history
  25. nullptr

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    cc8ed88 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    9ab1278 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    06a49a6 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    bd6eb37 View commit details
    Browse the repository at this point in the history
  29. Build break fix

    JohnSully authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    aef0187 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    9a8a36e View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    a4c19e3 View commit details
    Browse the repository at this point in the history
  32. Fix typo in module.cpp (Snapchat#686)

    comparision -> comparison
    eltociear authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    870b0db View commit details
    Browse the repository at this point in the history
  33. Fix a bug where a temp rdb file with zero bytes is generated in flash…

    … mode. (Snapchat#696)
    
    Co-authored-by: Karthick Ariyaratnam (A) <[email protected]>
    2 people authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    bcb5421 View commit details
    Browse the repository at this point in the history
  34. Fix a fug where repl-backlog-size config was modifed in keydb.conf wi…

    …th the runtime value during config rewrite.
    Karthick Ariyaratnam (A) authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    806175d View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    a464a71 View commit details
    Browse the repository at this point in the history
  36. with config

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    e3a1ea3 View commit details
    Browse the repository at this point in the history
  37. revert

    acope-sc authored and msotheeswaran-sc committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    ce70e8c View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    441b74a View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Configuration menu
    Copy the full SHA
    a316444 View commit details
    Browse the repository at this point in the history
  2. [src/CMakeLists.txt] Add C++ source files to same target as C source …

    …files ; [src/modules/CMakeLists.txt] Initial add for modules ; [CMakeLists.txt] Bump version
    SamuelMarks committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    ea0aeb9 View commit details
    Browse the repository at this point in the history