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

Timeless and log_tick cannot coexist #2074

Closed
teh-cmc opened this issue May 9, 2023 · 0 comments · Fixed by #5535
Closed

Timeless and log_tick cannot coexist #2074

teh-cmc opened this issue May 9, 2023 · 0 comments · Fixed by #5535
Assignees
Labels
😤 annoying Something in the UI / SDK is annoying to use 🏹 arrow concerning arrow 💬 discussion

Comments

@teh-cmc
Copy link
Member

teh-cmc commented May 9, 2023

Adding a timeline to something timeless would suddenly make it not timeless... so for now it cannot even have a tick :/

This is a fundamental limitation of our current timeless model, which acts as a fallback but not really...

@teh-cmc teh-cmc added 💬 discussion 🏹 arrow concerning arrow 😤 annoying Something in the UI / SDK is annoying to use labels May 9, 2023
@teh-cmc teh-cmc self-assigned this Mar 15, 2024
@teh-cmc teh-cmc linked a pull request Mar 18, 2024 that will close this issue
5 tasks
teh-cmc added a commit that referenced this issue Apr 5, 2024
Introduces the concept of static data into the data APIs.

Static data is a on a per-entity per-component basis. If it exists, it
unconditionally shadows any temporal data of the same type. It is never
garbage collected.
When static data is returned, it is indicated via `TimeInt::STATIC`.

The terminology has been normalized all over the place: data is either
static or temporal, and nothing else.

Static data cannot have more than one cell per-entity per-component.
Trying to write more than one cells will trigger last-write-wins
semantics, as defined by `RowId` ordering.

Timeless fallbacks just don't exist anymore, which simplifies out _a
lot_ of code in the datastore and query cache.

Note: static data is in many subtle ways incompatible with our legacy
InstanceKey-based model, which results in a couple hacks in this PR.
Those hacks will be gone as soon as the new data APIs land and instance
keys go away.

- Fixes #5264
- Fixes #2074
- Fixes #5447
- Fixes #1766


---

Part of a PR series that removes the concept of timeless data in favor
of the much simpler concept of static data:
- #5534
- #5535
- #5536
- #5537
- #5540
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
😤 annoying Something in the UI / SDK is annoying to use 🏹 arrow concerning arrow 💬 discussion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant