-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PECO-618] Better handling of in-progress/subsequent action taken on …
…closed session/operation (#129) * Explicitly close sessions when closing connection Signed-off-by: Levko Kravets <[email protected]> * Close operations when closing session Signed-off-by: Levko Kravets <[email protected]> * Extract closable objects logic to a dedicated class Signed-off-by: Levko Kravets <[email protected]> * Add error code to OperationStateError Signed-off-by: Levko Kravets <[email protected]> * Handle closed/cancelled state in DBSQLOperation Signed-off-by: Levko Kravets <[email protected]> * Convert DBSQLSession to async/await syntax Signed-off-by: Levko Kravets <[email protected]> * Handle closed state in DBSQLSession Signed-off-by: Levko Kravets <[email protected]> * DBSQLOperation/CompleteOperationHelper: handle direct results close response only when operation is being closed Signed-off-by: Levko Kravets <[email protected]> * When all records were returned via direct results and operation was closed, it still attempted to fetch data Signed-off-by: Levko Kravets <[email protected]> * Fix tests (wrong test conditions, running operations on closed session) Signed-off-by: Levko Kravets <[email protected]> * Fix lint errors Signed-off-by: Levko Kravets <[email protected]> * Fix after merge conflicts Signed-off-by: Levko Kravets <[email protected]> * Tidy up code Signed-off-by: Levko Kravets <[email protected]> * Add tests Signed-off-by: Levko Kravets <[email protected]> * Fix/update tests Signed-off-by: Levko Kravets <[email protected]> --------- Signed-off-by: Levko Kravets <[email protected]>
- Loading branch information
1 parent
f265368
commit c9e27f4
Showing
10 changed files
with
585 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.