risingwavelabs / risingwave

Best-in-class stream processing, analytics, and management. Perform continuous analytics, or build event-driven applications, real-time ETL pipelines, and feature stores in minutes. Unified streaming and batch. PostgreSQL compatible.
https://go.risingwave.com/slack
Apache License 2.0
7.07k stars 582 forks source link

fix(batch): unpin snapshot until the end of distributed batch query #19429

Closed hzxa21 closed 1 week ago

hzxa21 commented 1 week ago

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.

What's changed and what's your intention?

As titled. Fix the potential race between FE and CN on pinned epoch. This fix is valid for version <= 2.0 because in 2.1 we already deprecate safe epoch completely.

See https://github.com/risingwavelabs/risingwave/issues/17965#issuecomment-2274915561

Checklist

Documentation

Release note

If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

graphite-app[bot] commented 1 week ago

Graphite Automations

"release branch request review" took an action on this PR • (11/18/24)

1 reviewer was added to this PR based on xxchan's automation.