Commit Graph
17 Commits
Author SHA1 Message Date
wxing1292andGitHub 6b04aa3997 Optimize SQL layer supporting batch delete (#982)
* Optimize SQL layer supporting batch delete
* Split DeleteFromActivityInfoMaps into DeleteFromActivityInfoMaps and DeleteAllFromActivityInfoMaps
* Split DeleteFromTimerInfoMaps into DeleteFromTimerInfoMaps and DeleteAllFromTimerInfoMaps
* Split DeleteFromChildExecutionInfoMaps into DeleteFromChildExecutionInfoMaps and DeleteAllFromChildExecutionInfoMaps
* Split DeleteFromRequestCancelInfoMaps into DeleteFromRequestCancelInfoMaps and DeleteAllFromRequestCancelInfoMaps
* Split DeleteFromSignalInfoMaps into DeleteFromSignalInfoMaps and DeleteAllFromSignalInfoMaps
* Split DeleteFromSignalsRequestedSets into DeleteFromSignalsRequestedSets and DeleteAllFromSignalsRequestedSets
2020-11-16 16:50:30 -08:00
wxing1292andGitHub 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
wxing1292andGitHub b1532fda64 Use latest sqlx and dependencies & update SQL max conn config (#951)
* Revert "Revert "Use sqlx master branch (#924)" (#947)"

This reverts commit 392b8217fc.

* Use latest sqlx and dependencies

* Revert "Update SQL max conn lifetime according to recommendations"

This reverts commit 680ab493f3618ec4f18b010e08a5b67eb51fbf29.
2020-11-11 16:07:18 -08:00
wxing1292andGitHub 392b8217fc Revert "Use sqlx master branch (#924)" (#947)
This reverts commit 586480fd8a.
2020-11-03 11:08:57 -08:00
wxing1292andGitHub 586480fd8a Use sqlx master branch (#924) 2020-10-30 12:07:01 -07:00
wxing1292andGitHub 08eefd0741 Split overloaded SQL filters (#834)
* Split ActivityInfoMapsFilter into ActivityInfoMapsSelectFilter and ActivityInfoMapsDeleteFilter
* Split TimerInfoMapsFilter into TimerInfoMapsSelectFilter and TimerInfoMapsDeleteFilter
* Split ChildExecutionInfoMapsFilter into ChildExecutionInfoMapsSelectFilter and ChildExecutionInfoMapsDeleteFilter
* Split RequestCancelInfoMapsFilter into RequestCancelInfoMapsSelectFilter and RequestCancelInfoMapsDeleteFilter
* Split SignalInfoMapsFilter into SignalInfoMapsSelectFilter and SignalInfoMapsDeleteFilter
* Split SignalsRequestedSetsFilter into SignalsRequestedSetsSelectFilter and SignalsRequestedSetsDeleteFilter
2020-10-12 18:05:17 -07:00
wxing1292andGitHub 0682f421f8 Add SQL specific tests for mutable state, part 2 (#800)
* Add history execution request cancel tests
* Add history execution signal tests
* Add history execution signal request tests
2020-10-06 12:08:05 -07:00
wxing1292andGitHub b28183f9b0 Add SQL specific tests for mutable state, part 1 (#799)
* Add history execution buffer tests
* Add history execution activity tests
* Add history execution child workflow tests
* Add history execution timer tests
2020-10-05 15:37:10 -07:00
Shawn HathawayandGitHub 2db621446c Support time.Time in MutableState#ActivityWithTimerHeartbeat methods (#666) 2020-08-13 12:31:26 -07:00
Shawn HathawayandGitHub 02b201e55a Replace Insert Ignore in Execution (#658) 2020-08-09 00:35:22 -07:00
Shawn HathawayandGitHub cbe7cab9ff Convert REPLACE INTO -> INSERT ON DUPLICATE KEY UPDATE (#601) 2020-07-24 03:10:22 -07:00
Alex ShtinandGitHub 6a6909e92a Use vanity import package name go.temporal.io/server (#511) 2020-07-08 16:09:12 -07:00
Alex ShtinandGitHub 6954ffedb4 Remove heartbeat fields from ActivityInfoRaw (#327) 2020-04-24 18:15:01 -07:00
Alex ShtinandGitHub 4a25002ccc Update LICENSE file and all go files with new license header (#285) 2020-04-08 20:39:01 -07:00
Alex ShtinandGitHub 88548fcb42 Rename domain to namespace (#260) 2020-03-28 12:35:46 -07:00
Samar Abbas 34bd0a03c2 resolve all merge conflicts and unit tests to work again 2019-12-10 12:20:56 -08:00
Quanzheng LongandGitHub fdee70fac9 Persistence refactoring to be pluggable for any database (#2836) 2019-12-05 15:59:09 -08:00