Commit 4a8babb
authored
Fixing Beta-Version for Changefeed Pull public API (Azure#18838)
* Initial draft of FeedRange artifacts
* Iterating on FeedRange Apis
* Adding public surface area
* Adding FeedRange unit tests
* Adding test FeedRangePKRangeId_GetEffectiveRangesAsync_Refresh
* Adding test FeedRangePKRangeId_GetEffectiveRangesAsync_Null
* Adding test feedRangeEPK_getPartitionKeyRangesAsync
* Adding test feedRangePK_getPartitionKeyRangesAsync
* Adding test feedRangePKRangeId_getPartitionKeyRangesAsync
* Adding request visitor unit tests
* Finishing FeedRange tests
* Cleanup and prettifying
* Prettifying feed range tests
* Fixes and new test for Conatiner.getFeedRanges()
* Addressing some SpotBug violations
* Iterating on Changefeed Pull model draft
* Snapshot to be able to switch branches
* Finishing switch from deleted ChangeFeedOptions to new public CosmosChangeFeedRequestOptions
* Adding basic json serialization test coverage for FeedRangeContinuation
* Snapshot - converting Chagefeed to FeedRanges - tests not working yet
* Snapshot
* Snapshot
* Removing TODOs
* Fixing test regressions
* Fixing a couple SpotBug violations
* Fixing few more SPotBug violations
* Fixing ChangeFeedState unit test
* Code cleanup
* Test code cleanup
* Fixing a regression in Range json serialization
* Fixing CF split unit test failure
* Fixes for some code review feedback
* Fixing test flakiness (unrelated to actual change)
* Adding ChangeFeedPolicy
* Adding tests for ChangeFeedPolicy
* Fixing build break
* Fixing SpotBug issue
* Re-triggering CI
* Deleting temp data
* Deleting CosmosDB Emulator temp data
* Fixing scritp to delete temp folder
* Fixing PS script
* Adding message with Emulator version to emulator install yaml file
* Adding Cosmos DB Emulator installation logs
* Adding logic to unistall emulator to Cosmos Emulator yml
* Update cosmos-emulator.yml
* Fixing missing admin elevation in the uninstall step in Cosmos Emulator yml
* Iterating on cosmos-emulator.yml
* Iteratiing on cosmos-emulator.yml
* Iterating on cosmos-emulator.yml
* Iterating on cosmos-emulator.yml
* Iterating on comsos-emulator.yml
* Iterating on comsos-emulator.yml
* Iterate on cosmos-emulator.yml
* Adding FF changefeed unit tests
* Fixing build warning
* Fixing test regression when ContainerTest hit emulator limit of number of containers
* Fixing emulator config for CI tests
* Fixing test issue - causing Begin/After Method/Class to also happen for emulator tests in ChangeFeedTest
* Refactoring FeedRange visitors to populate request headers
* Implementing FeedRangeInternal.populateFeedRangeFilteringHeaders
* Fixes for FeedRangeTest
* Refactoring FeedRangeINternal.getEffectiveRanges to getEffectiveRange
* Fixing test issue in FeedRangeTest
* Reacting to self-Code review
* Actually adding public APIs for queryChangeFeed
* Adding public API in CosmosContainer and SomsosAsyncContainer for CF pull model
* Reacting to CR comments
* SpotBug fixes
* Fixing JavaDoc bug
* Reverting switch to @JsonDeserialize for custom deserializers
* Iterating on code review comments
* Adding more unit tests
* Spotbug fix
* Fix for test failures in FeedRangeTest
* Fixing SpotBUg issue
* Fixing test issues
* Iterating on Cosmos Container ChangeFeed tests
* Fixing test issue for small page size
* Adding addiitonal unit tests for change feed pull model
* Adding remaining tests for CF pull model
* Update FeedRange.java
* Cleanup
* Fixing typos in comments
* Fixing Duration in ChangeFeedPolicy
* Changing the encoding of FeedRange and ChangeFeedState to be base64-encoded Json vs. Json
* Cleanup
* Fixing spotbug issue
* Fixing test issue
* Switching deserializer registration to annotation based approach
* Reacting to code review feedback from Milis
* Fixing Test issues after changing ChangeFeedStateVersion from 0 to 1
* Fix test issue
* Renaming ShouldretryResult.RETRY_IMMEDIATELY to RETRY_NOW
* Adding Status code to JavaDoc description when processing FF CF outside retention
* Fixing ChangeFeedProcessor issues Matias found
- Continuation persisted in leases was stored as Base64-encoded josn of ChangeFeedState (vs. just LSN)
- Split handling was broken because the Change feed pull model is split-proof and doesn't surface GoneException which Change Feed processor relies on for splitting leases.
* Addressing code review comments from Mo
* Fixing SpotBUg issue
* Adding additional assert in CFP split test
* Addressing code review comments from Milis
* Fixing Beta-Version for Changefeed Pull public API1 parent 2e197c9 commit 4a8babb
File tree
7 files changed
+23
-23
lines changed- sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos
- models
- util
7 files changed
+23
-23
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
498 | | - | |
| 498 | + | |
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
352 | 351 | | |
353 | 352 | | |
354 | 353 | | |
355 | | - | |
| 354 | + | |
356 | 355 | | |
357 | 356 | | |
358 | 357 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
| 371 | + | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
0 commit comments