1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00
unleash.unleash/src/lib/db
Arne-Christian Rundereim 8aec4a02cb
fix: EventStore#getMaxRevisionId can return null (#4384)
In a new fresh Unleash instance with cache enabled this can cause
feature toggles to never get updated.

We saw in our client that the ETag was ETag: "60e35fba:null" Which
looked incorrect for us.

I also did manual testing and if the andWhere had a value of largerThan
higher than whatever the id was then we would get back { max: null }.

This should fix that issue.
2023-08-01 23:59:09 +02:00
..
access-store.ts refactor: clean up deprecated permissions (#4124) 2023-06-30 11:15:11 +01:00
account-store.ts fix: add confirmation to disable password login (#3829) 2023-05-23 15:56:34 +01:00
addon-store.ts OpenAPI: addon operations (#3421) 2023-04-18 10:50:34 +00:00
api-token-store.ts chore: add another migration that remigrates the proper way (#3719) 2023-05-11 15:33:04 +02:00
client-applications-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
client-instance-store.ts Remove timeout from store (#3018) 2023-01-30 12:01:44 +01:00
client-metrics-store-v2.ts fix: variant table deadlocks (#4309) 2023-07-21 11:34:32 +02:00
context-field-store.ts chore: remove context/segment usage flag (#4242) 2023-07-14 13:30:15 +03:00
db-pool.ts
db.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
environment-store.ts feat: add max order to environments (#3988) 2023-06-15 12:21:35 +03:00
event-store.test.ts
event-store.ts fix: EventStore#getMaxRevisionId can return null (#4384) 2023-08-01 23:59:09 +02:00
favorite-features-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
favorite-projects-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
feature-environment-store.ts export queries use order by feature name (#3051) 2023-02-06 15:46:25 +01:00
feature-strategy-store.test.ts feat: incrementing sort order for strategies (#4343) 2023-07-26 11:31:26 +02:00
feature-strategy-store.ts feat: incrementing sort order for strategies (#4343) 2023-07-26 11:31:26 +02:00
feature-tag-store.ts fix: fix bulk removal of tags (#3651) 2023-04-28 14:49:34 +03:00
feature-toggle-client-store.ts feat: client api with proper client segments and strategy variants (#4244) 2023-07-14 13:25:31 +02:00
feature-toggle-store.ts feat(#4205): update potentially stale events (#4270) 2023-07-19 15:20:18 +02:00
feature-type-store.ts feat(#4205): implement configurable lifetimes (#4263) 2023-07-18 09:26:32 +00:00
group-store.ts fix: group cleanup (#4334) 2023-07-24 11:05:55 +02:00
index.ts feat: client api with proper client segments and strategy variants (#4244) 2023-07-14 13:25:31 +02:00
pat-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
project-stats-store.ts refactor: switching to new stats calculations (#3477) 2023-04-10 09:50:39 +02:00
project-store.ts feat: feature creation limit crud together with frontend (#4221) 2023-07-13 14:02:35 +03:00
public-signup-token-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
reset-token-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
role-store.ts feat: custom root roles (#3975) 2023-06-14 14:40:40 +01:00
segment-store.test.ts ux: return better error message if a segment doesn't exist (#4122) 2023-06-30 09:02:24 +00:00
segment-store.ts feat: client api with proper client segments and strategy variants (#4244) 2023-07-14 13:25:31 +02:00
session-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
setting-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
strategy-store.ts feat: add title to strategy (#3510) 2023-04-18 08:59:02 +02:00
tag-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
tag-type-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
transaction.ts feat: oss import (#3123) 2023-02-16 08:08:51 +01:00
user-feedback-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
user-splash-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00
user-store.ts feat: allow every store to participate in transaction (#3016) 2023-01-30 09:02:44 +01:00