Skip to content

fix: replace xtrim with xdel to support older redis version #8515

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

Merged
merged 6 commits into from
Jul 29, 2025

Conversation

akshay-97
Copy link
Contributor

@akshay-97 akshay-97 commented Jul 1, 2025

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Added support for xdel if redis client uses legacy version
#8389

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Checked if the code compiled.

Cannot be tested at runtime. without setting up a legacy and non legacy redis versions.

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

@akshay-97 akshay-97 requested a review from a team as a code owner July 1, 2025 16:33
Copy link

semanticdiff-com bot commented Jul 1, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  crates/drainer/src/handler.rs  1% smaller
  crates/drainer/src/metrics.rs  0% smaller
  crates/drainer/src/services.rs  0% smaller
  crates/drainer/src/stream.rs  0% smaller

jarnura
jarnura previously approved these changes Jul 18, 2025
@@ -10,7 +10,7 @@ license.workspace = true
default = ["dummy_connector", "frm", "payouts"]
dummy_connector = []
v1 = ["hyperswitch_domain_models/v1", "api_models/v1", "common_utils/v1"]
v2 = ["api_models/v2", "common_utils/v2", "hyperswitch_domain_models/v2"]
v2 = ["api_models/v2", "common_utils/v2", "hyperswitch_domain_models/v2", "hyperswitch_domain_models/revenue_recovery", "api_models/revenue_recovery"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was checking drainer crate with cargo check --feature v2. removed this

@akshay-97 akshay-97 changed the title replace xtrim with xdel to support older redis version fix: replace xtrim with xdel to support older redis version Jul 21, 2025
@akshay-97 akshay-97 self-assigned this Jul 21, 2025
@akshay-97 akshay-97 linked an issue Jul 21, 2025 that may be closed by this pull request
2 tasks
@likhinbopanna likhinbopanna added this pull request to the merge queue Jul 29, 2025
Merged via the queue into main with commit 3d085ab Jul 29, 2025
29 of 35 checks passed
@likhinbopanna likhinbopanna deleted the fix/xdel-drainer branch July 29, 2025 10:59
pixincreate added a commit that referenced this pull request Aug 1, 2025
…rver

* 'main' of github.com:juspay/hyperswitch: (25 commits)
  chore: `xof` currency to cybersource cards (#8799)
  chore(version): 2025.08.01.0
  feat(core): Implement UCS based  upi for  paytm and phonepe (#8732)
  feat(connector): [katapult]add template code for katapult (#8783)
  feat(router): introduce `feature`  and `feature_data` to gsm (#7771)
  feat(connector): [cybersource] add changes for field CybersourceConsumerAuthInformation (#8768)
  feat(authentication): added authentication sync api (#8596)
  feat(connector): [facilitapay] fix refunds, add webhook and void support (#8778)
  feat(connector): [payload] add recurring payments (#8597)
  chore(version): 2025.07.31.0
  feat(connector): [Flexiti]Add support for flexiti connector  (#8743)
  chore(router): events enhancement for kafka (#8780)
  ci(cypress): Making a mandate payment with large customer user agents (#8790)
  fix(openapi): update create_platform endpoint in api-reference docs (#8782)
  chore(version): 2025.07.30.0
  fix(connector): [GLOBALPAY] Added Tokenization Flow for CITs (#8568)
  feat(routing): Add api-refs for new decision engine endpoints (#8709)
  fix: replace xtrim with xdel to support  older redis version (#8515)
  fix(connector): [Worldpay] handle multiple ddc submission for CompleteAuthorize (#8741)
  feat(connector): [Adyen] receive incoming webhooks for pix expiry (#8720)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Kv Redis feature for V2 models
4 participants