Skip to content

Raft: Backport FAP enhancement#10208

Merged
ti-chi-bot[bot] merged 7 commits intopingcap:masterfrom
JaySon-Huang:pick_fap_enhancement
May 29, 2025
Merged

Raft: Backport FAP enhancement#10208
ti-chi-bot[bot] merged 7 commits intopingcap:masterfrom
JaySon-Huang:pick_fap_enhancement

Conversation

@JaySon-Huang
Copy link
Contributor

What problem does this PR solve?

Issue Number: close #8673

Problem Summary: Backport FAP enhancement

What is changed and how it works?


Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

None

CalvinNeo and others added 4 commits May 28, 2025 00:07
Signed-off-by: Calvin Neo <calvinneo1995@gmail.com>
Co-authored-by: JaySon <tshent@qq.com>
Signed-off-by: Calvin Neo <calvinneo1995@gmail.com>
Signed-off-by: Calvin Neo <calvinneo1995@gmail.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Co-authored-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
@ti-chi-bot ti-chi-bot bot added the release-note-none Denotes a PR that doesn't merit a release note. label May 27, 2025
@JaySon-Huang JaySon-Huang requested a review from CalvinNeo May 27, 2025 16:16
@ti-chi-bot ti-chi-bot bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label May 27, 2025
Comment on lines +71 to +75
#if ENABLE_NEXT_GEN
, fap_use_segment_to_end_map_cache(settings.fap_use_segment_to_end_map_cache)
#else
, fap_use_segment_to_end_map_cache(true)
#endif
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@CalvinNeo PTAL, can we remove the settings.fap_use_segment_to_end_map_cache and skip the segment_to_end_map_cache by default?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, skip it is fine. We can switch to https://github.com/tidbcloud/tiflash-cse/pull/387

Signed-off-by: JaySon-Huang <tshent@qq.com>
Copy link
Member

@CalvinNeo CalvinNeo left a comment

Choose a reason for hiding this comment

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

lgtm

@ti-chi-bot ti-chi-bot bot added approved needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels May 28, 2025
@CalvinNeo
Copy link
Member

/retest

@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented May 29, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CalvinNeo, Lloyd-Pottiger

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [CalvinNeo,Lloyd-Pottiger]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels May 29, 2025
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented May 29, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-05-28 04:47:36.217480596 +0000 UTC m=+417186.589268045: ☑️ agreed by CalvinNeo.
  • 2025-05-29 02:35:04.891527135 +0000 UTC m=+72725.953544756: ☑️ agreed by Lloyd-Pottiger.

@ti-chi-bot ti-chi-bot bot merged commit ef808fc into pingcap:master May 29, 2025
5 checks passed
@JaySon-Huang JaySon-Huang deleted the pick_fap_enhancement branch May 29, 2025 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm release-note-none Denotes a PR that doesn't merit a release note. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fast add peer (FAP) issue tracker

3 participants