Commit 7d31ba5
authored
NoSQL: realm-management minor fixes (#69)
* always set the `updated` `Instant` of a realm (do not rely on the caller doing this)
* fix issue that transition from `INACTIVE` to `ACTIVE` _is_ intended and definitely allowed
* let `PersistenceMetaStoreManagerFactory#bootstrapRealm` handle the `CREATED` state as well for bootstrapping a realm1 parent e00f6db commit 7d31ba5
File tree
2 files changed
+16
-2
lines changed- extension/persistence/nosql
- persistence/metastore/src/main/java/org/apache/polaris/persistence/nosql/metastore
- realms/impl/src/main/java/org/apache/polaris/realms/impl
2 files changed
+16
-2
lines changedLines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
293 | 303 | | |
294 | 304 | | |
295 | 305 | | |
| |||
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
125 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
126 | 129 | | |
127 | 130 | | |
128 | 131 | | |
| |||
160 | 163 | | |
161 | 164 | | |
162 | 165 | | |
163 | | - | |
| 166 | + | |
| 167 | + | |
164 | 168 | | |
165 | 169 | | |
166 | 170 | | |
| |||
0 commit comments