Yichao Yang and GitHub
ae23339fca
Make matching persistence range queries [inclusive, exclusive) ( #2599 )
...
- Range for matching GetTasks is now [inclusive, exclusive), instead of (exclusive, inclusive]
- Range for matching CompleteTasksLessThan is now < max TaskID, instead of <=
- Range for admin ListTaskQueueTasks is now [inclusive, exclusive)
2022-03-15 10:42:12 -07:00
wxing1292 and GitHub
0ecaee5672
Use internal error to indicate code bug / contract breach ( #1958 )
...
* Update sql persistence layer
* Update cassandra persistence layer
* Update visibility persistence layer
2021-09-21 17:59:56 -07:00
wxing1292 and GitHub
b7a94537c0
Use serviceerror.Unavailable error type instead of serviceerror.Internal ( #1916 )
...
* Use serviceerror.Unavailable error type instead of serviceerror.Internal
* serviceerror.Unavailable indicates errors like service's dependency is down, retryable
* serviceerror.Internal indicates errors like NPE in service logic, non-retryable
2021-09-13 18:31:14 -07:00
wxing1292 and GitHub
eb65ab4b26
Add visibility tasks table for SQL ( #1055 )
...
* Add SQL visibility_tasks table for Kafka deprecation
2020-12-09 11:17:23 -08:00
wxing1292 and GitHub
24b80b2f91
Add context to all SQL interfaces ( #980 )
...
* Add context to all SQL interfaces
* Wire context with SQLx
* Set default execution DB timeout to 5s
* Set default visibility DB timeout to 10s
2020-11-11 16:30:36 -08:00
wxing1292 and GitHub
a8e5c2fa03
Bugfix: matching persistence layer update sticky task queue ( #935 )
...
* Sticky task queue update should be done within transaction lock or conditional update
2020-11-02 11:54:52 -08:00
wxing1292 and GitHub
5942de0661
Use filter struct instead of pointer for matching SQL layer ( #934 )
2020-10-31 11:10:14 -07:00
wxing1292 and GitHub
845940ab38
Add SQL persistence specific tests ( #790 )
...
* Add matching task queue tests
2020-10-02 21:40:50 -07:00
wxing1292 and GitHub
35272a29e1
Split SQL storage interfaces & definitions ( #788 )
2020-10-02 11:47:09 -07:00