René's URL Explorer Experiment


Title: Redis online store fails to maintain event-time ordering in batch writes · Issue #5163 · feast-dev/feast · GitHub

Open Graph Title: Redis online store fails to maintain event-time ordering in batch writes · Issue #5163 · feast-dev/feast

X Title: Redis online store fails to maintain event-time ordering in batch writes · Issue #5163 · feast-dev/feast

Description: Expected Behavior When writing a batch of events to Redis online store, the store should maintain event-time ordering guarantees regardless of the order of events within the batch. The value associated with the latest timestamp should be...

Open Graph Description: Expected Behavior When writing a batch of events to Redis online store, the store should maintain event-time ordering guarantees regardless of the order of events within the batch. The value associ...

X Description: Expected Behavior When writing a batch of events to Redis online store, the store should maintain event-time ordering guarantees regardless of the order of events within the batch. The value associ...

Opengraph URL: https://github.com/feast-dev/feast/issues/5163

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Redis online store fails to maintain event-time ordering in batch writes","articleBody":"## Expected Behavior \nWhen writing a batch of events to Redis online store, the store should maintain event-time ordering guarantees regardless of the order of events within the batch. The value associated with the latest timestamp should be preserved, even if it appears earlier in the batch.\n\n## Current Behavior\nThe Redis online store processes events in batch order rather than timestamp order. When writing a batch containing events in reverse chronological order (e.g., [t3, t2, t1]), it incorrectly skips later events because it compares timestamps sequentially, causing the wrong values to be stored.\n\n## Steps to reproduce\n```python\nt1 = datetime.now(timezone.utc)\nt2 = t1 + timedelta(seconds=5)\nt3 = t2 + timedelta(seconds=5)\n\n# Create batch with reverse chronological order\ntest_data = pd.DataFrame({\n    \"customer_id\": [1] * 3,\n    \"total_purchases\": [30, 20, 10],\n    \"avg_order_value\": [300.0, 200.0, 100.0],\n    \"event_timestamp\": [t3, t2, t1]  # Latest timestamp first\n})\n\n# Push batch to online store\nfeature_store.push_features(feature_group_name, test_data, mode=\"online\")\n\n# Retrieve feature - will return value 10 instead of expected 30\nresult = feature_store.get_online_features(...)\n```\n### Specifications\n\n- Version: `Feast SDK Version: \"0.40.1\"`\n- Platform: Any\n- Subsystem: Redis Online Store\n\n## Possible Solution\nIn online_write_batch, before processing the batch:\nSort the data list by timestamp in ascending order, OR\nFind the latest timestamp for each entity key and only write that record\nThe current implementation in online_write_batch processes records sequentially and skips records with timestamps older than what's already been processed in the current batch, which leads to incorrect behavior when events are not in chronological order.\nRelevant code: https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/online_stores/redis.py#L582","author":{"url":"https://github.com/sundeep-sf","@type":"Person","name":"sundeep-sf"},"datePublished":"2025-03-19T04:03:29Z","url":"https://github.com/feast-dev/feast/issues/5163"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:801bbd08-1cc3-9605-e53b-56aa5f235310
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB8C4:403FE:2D9A30:3F0E37:6AFE982E
html-safe-nonce54a700ce28dbd81d7cf66ce522a247e3365a1ef2a679f7c25fbb6a2807d285dd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEM0OjQwM0ZFOjJEOUEzMDozRjBFMzc6NkFGRTk4MkUiLCJ2aXNpdG9yX2lkIjoiMTg0MjI4NjM0NDY0MjkyNjYzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5600c6a912be22053c6c85bbdd050fcabbc08d43a61a8ce25dee3e2529ed7690
hovercard-subject-tagissue:2930385712
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/5163/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b81f6d473f83220f3e3995535800e97ffb46463c72f09724707e8fb29c6166ee/feast-dev/feast/issues/5163
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b81f6d473f83220f3e3995535800e97ffb46463c72f09724707e8fb29c6166ee/feast-dev/feast/issues/5163
og:image:altExpected Behavior When writing a batch of events to Redis online store, the store should maintain event-time ordering guarantees regardless of the order of events within the batch. The value associ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesundeep-sf
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/5163#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F5163
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F5163
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/issues/5163
Reloadhttps://github.com/feast-dev/feast/issues/5163
Reloadhttps://github.com/feast-dev/feast/issues/5163
feast-devhttps://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Codehttps://github.com/feast-dev/feast
Issues223 (223)https://github.com/feast-dev/feast/issues
Pull requests143 (143)https://github.com/feast-dev/feast/pulls
Discussionshttps://github.com/feast-dev/feast/discussions
Actionshttps://github.com/feast-dev/feast/actions
Security and quality1 (1)https://github.com/feast-dev/feast/security
Insightshttps://github.com/feast-dev/feast/insights
https://github.com/feast-dev/feast
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/5163
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/5163
#6656https://github.com/feast-dev/feast/pull/6656
Redis online store fails to maintain event-time ordering in batch writeshttps://github.com/feast-dev/feast/issues/5163#top
#6656https://github.com/feast-dev/feast/pull/6656
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
wontfixThis will not be worked onhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22wontfix%22
https://github.com/sundeep-sf
sundeep-sfhttps://github.com/sundeep-sf
on Mar 19, 2025https://github.com/feast-dev/feast/issues/5163#issue-2930385712
https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/online_stores/redis.py#L582https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/online_stores/redis.py#L582
sundeep-sfhttps://github.com/sundeep-sf
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
on Mar 19, 2025https://github.com/feast-dev/feast/issues/5163#event-16853584788
https://github.com/apps/stale
stalehttps://github.com/apps/stale
on Jul 19, 2025https://github.com/feast-dev/feast/issues/5163#issuecomment-3091337621
Stalehttps://github.com/probot/stale/pull/430
stalehttps://github.com/apps/stale
wontfixThis will not be worked onhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22wontfix%22
on Jul 19, 2025https://github.com/feast-dev/feast/issues/5163#event-18709037705
ntkatholehttps://github.com/ntkathole
on Jul 30, 2026https://github.com/feast-dev/feast/issues/5163#event-28701060601
fix: Preserve event-time ordering within Redis online_write_batchhttps://github.com/adarshsm/feast/commit/edc9781c50969d0b13fa747e9d91d09ee9b02293
https://docs.github.com/articles/closing-issues-via-commit-messages
edc9781https://github.com/adarshsm/feast/commit/edc9781c50969d0b13fa747e9d91d09ee9b02293
ntkatholehttps://github.com/ntkathole
completedhttps://github.com/feast-dev/feast/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#6656https://github.com/feast-dev/feast/pull/6656
on Jul 30, 2026https://github.com/feast-dev/feast/issues/5163#event-28703108762
ntkatholehttps://github.com/ntkathole
on Jul 30, 2026https://github.com/feast-dev/feast/issues/5163#event-28703131617
fix: Preserve event-time ordering within Redis online_write_batchhttps://github.com/anshishrivastava/feast/commit/40fb788640db8c9bafa623ebebac89f2e3688325
https://docs.github.com/articles/closing-issues-via-commit-messages
40fb788https://github.com/anshishrivastava/feast/commit/40fb788640db8c9bafa623ebebac89f2e3688325
franciscojavierarceohttps://github.com/franciscojavierarceo
on Aug 21, 2026https://github.com/feast-dev/feast/issues/5163#event-29781434334
chore(release): release 0.66.0https://github.com/feast-dev/feast/commit/1d5be950cf718a674cb01eaf0fd0ad6f0a4c6335
1d5be95https://github.com/feast-dev/feast/commit/1d5be950cf718a674cb01eaf0fd0ad6f0a4c6335
Michie-hubhttps://github.com/Michie-hub
on Aug 31, 2026https://github.com/feast-dev/feast/issues/5163#event-30282807126
chore(release): release 0.66.0https://github.com/Michie-hub/feast/commit/a29c9231976fd7c68e51570047f9517f06579041
a29c923https://github.com/Michie-hub/feast/commit/a29c9231976fd7c68e51570047f9517f06579041
Sign up for freehttps://github.com/signup?return_to=https://github.com/feast-dev/feast/issues/5163
Sign in to commenthttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/5163
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
wontfixThis will not be worked onhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22wontfix%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.