Commit 92b19ab
feat(gms): add entity graph cache for hierarchies and membership
Introduce a Hazelcast-backed entity graph cache with bundled domain,
glossary, container, and membership graphs. Route hot GraphQL, VBAC,
and search paths through cache-first client bindings with aspect and
scroll fallbacks. Retain corp vs native group distinction in
SessionActorIdentity so session-user membership fast paths label
IsMemberOfGroup and IsMemberOfNativeGroup correctly.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent c78c7d5 commit 92b19ab
209 files changed
Lines changed: 24547 additions & 1519 deletions
File tree
- datahub-graphql-core
- src
- main/java/com/linkedin/datahub/graphql
- resolvers
- container
- domain
- glossary
- load
- mutate
- util
- test/java/com/linkedin/datahub/graphql
- resolvers
- container
- domain
- glossary
- load
- datahub-upgrade
- src
- main/resources
- test/resources
- docker
- datahub-mae-consumer/env
- datahub-mce-consumer/env
- docs-website
- docs/deploy
- entity-registry/src
- main/java/com/linkedin/metadata/graph/cache
- test/java/com/linkedin/metadata/graph/cache
- ingestion-scheduler
- li-utils/src
- main/java/com
- datahub/authorization
- linkedin/metadata
- test/java/com/datahub/authorization
- metadata-dao-impl/kafka-producer
- metadata-integration/java/datahub-protobuf
- metadata-io
- src
- main/java/com/linkedin/metadata
- entity
- graph/cache
- client
- config
- service
- freshness
- internal
- invalidation
- read
- rebuild
- strategy
- snapshot
- store
- search/elasticsearch/query/filter
- test/java/com/linkedin/metadata
- entity
- graph/cache
- client
- config
- service
- freshness
- invalidation
- read
- rebuild
- strategy
- snapshot
- store
- search/query/filter
- system_info/collectors
- metadata-jobs
- common
- mae-consumer-job
- src/main/resources
- mae-consumer
- mce-consumer-job
- src/main/resources
- mce-consumer
- pe-consumer
- metadata-operation-context
- src/main/java/io/datahubproject/metadata/context
- metadata-service
- auth-filter
- auth-impl
- src
- main/java/com/datahub
- authentication/group
- authorization/fieldresolverprovider
- test/java/com/datahub/authorization
- fieldresolverprovider
- auth-servlet-impl
- configuration/src
- main
- java/com/linkedin/metadata/config
- entitygraph
- hazelcast
- resources
- test/java/com/linkedin/metadata/config/entitygraph
- factories
- src
- main/java/com/linkedin/gms/factory
- common
- context
- test/java/com/linkedin
- gms/factory/common
- metadata/config/hazelcast
- graphql-servlet-impl
- iceberg-catalog
- openapi-analytics-servlet
- openapi-entity-servlet
- openapi-servlet
- restli-servlet-impl
- schema-registry-servlet
- services
- servlet
- war
- smoke-test/tests/entity_graph_cache
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| 315 | + | |
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
| |||
331 | 332 | | |
332 | 333 | | |
333 | 334 | | |
| 335 | + | |
| 336 | + | |
334 | 337 | | |
335 | 338 | | |
336 | 339 | | |
| |||
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
978 | 978 | | |
979 | 979 | | |
980 | 980 | | |
981 | | - | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
982 | 984 | | |
983 | 985 | | |
984 | 986 | | |
| |||
3109 | 3111 | | |
3110 | 3112 | | |
3111 | 3113 | | |
3112 | | - | |
| 3114 | + | |
3113 | 3115 | | |
3114 | 3116 | | |
3115 | | - | |
| 3117 | + | |
| 3118 | + | |
| 3119 | + | |
3116 | 3120 | | |
3117 | 3121 | | |
3118 | 3122 | | |
| |||
Lines changed: 26 additions & 57 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | 20 | | |
23 | | - | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
| |||
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 32 | | |
77 | 33 | | |
78 | 34 | | |
79 | 35 | | |
80 | | - | |
81 | | - | |
| 36 | + | |
| 37 | + | |
82 | 38 | | |
83 | 39 | | |
84 | 40 | | |
85 | | - | |
86 | | - | |
87 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
88 | 47 | | |
89 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
90 | 57 | | |
91 | | - | |
92 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
93 | 61 | | |
94 | | - | |
95 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
96 | 65 | | |
97 | 66 | | |
98 | 67 | | |
| |||
Lines changed: 11 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
18 | | - | |
19 | 18 | | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 24 | | |
33 | 25 | | |
34 | 26 | | |
35 | 27 | | |
36 | | - | |
37 | | - | |
38 | 28 | | |
39 | 29 | | |
40 | 30 | | |
| |||
44 | 34 | | |
45 | 35 | | |
46 | 36 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
60 | 43 | | |
61 | 44 | | |
62 | | - | |
| 45 | + | |
| 46 | + | |
63 | 47 | | |
64 | 48 | | |
65 | 49 | | |
| |||
0 commit comments