Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idle Connection Resiliency Feature #1669

Merged
Merged
Show file tree
Hide file tree
Changes from 113 commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
79cef88
Add | Adding public APIs and Idle Connection Resiliency feature request
ulvii Oct 6, 2018
7e67a23
Add | Adding data structures, initial login response parsing
ulvii Oct 11, 2018
6618054
Add | Initial implementation for session state parser
ulvii Oct 12, 2018
96816c8
Merge remote-tracking branch 'upstream/dev' into ICREnableFeature
ulvii Oct 12, 2018
98cdc41
Fix | Apply formatter
ulvii Oct 12, 2018
3e2a2fd
Fix | Change stateLen type to int from long according to TDS spec
ulvii Oct 15, 2018
5d5f0a6
Fix | Make type usage consistent
ulvii Oct 15, 2018
a901cbb
Merge remote-tracking branch 'upstream/dev' into ICREnableFeature
ulvii Oct 15, 2018
1973e5e
Improvements | Fix typos (#825) (#833)
ulvii Oct 17, 2018
cd23fe5
Merge remote-tracking branch 'upstream/IdleConnectionResiliency' into…
ulvii Oct 17, 2018
c25833f
update from Microsoft/dev
ulvii Nov 5, 2018
70f1fd5
add reconnect thread
rene-ye Nov 8, 2018
c03b090
Add | Adding temporary dead connection detection
ulvii Nov 8, 2018
a5714f0
Merge branch 'ICREnableFeature' of https://github.com/ulvii/mssql-jdb…
ulvii Nov 8, 2018
b7fb065
Merge branch 'ICREnableFeature' of https://github.com/ulvii/mssql-jdb…
rene-ye Nov 8, 2018
cc192d3
reconnect thread and part of the session recovery writing
rene-ye Nov 9, 2018
dfb4cad
Revert "reconnect thread and part of the session recovery writing"
rene-ye Nov 9, 2018
77f8328
removing writeSessionState changes
rene-ye Nov 9, 2018
24cedbb
remove executors and needless synchronizers
rene-ye Nov 9, 2018
521cf63
removed unused imports, formatting, clean up, etc
rene-ye Nov 9, 2018
252cbfc
adding resource
rene-ye Nov 9, 2018
4877145
another resource
rene-ye Nov 9, 2018
f1a7d2d
comment
rene-ye Nov 9, 2018
a73c39b
removing duplicate code
rene-ye Nov 9, 2018
85fdb01
formatting
rene-ye Nov 9, 2018
977b763
more formatting
rene-ye Nov 9, 2018
8180cba
Add | Sending session state data on reconnect
ulvii Nov 9, 2018
88d49f0
Merge branch 'ICREnableFeature' of https://github.com/ulvii/mssql-jdb…
rene-ye Nov 9, 2018
920706e
removing isReconnecting
rene-ye Nov 9, 2018
95fc0e1
Add | Keep track of encryption level
ulvii Nov 9, 2018
559ed08
removing isReconnecting
rene-ye Nov 9, 2018
036d953
Add | Keep track of encryption level
ulvii Nov 9, 2018
503076f
adding resource
rene-ye Nov 9, 2018
18d4bec
removing comment
rene-ye Nov 10, 2018
1a0f743
Merge branch 'ICREnableFeature' of https://github.com/ulvii/mssql-jdb…
rene-ye Nov 10, 2018
eaf3516
renaming rt to reconnectThread
rene-ye Nov 10, 2018
e428026
Reconnect logic added
ulvii Nov 10, 2018
a1ab97e
moved reconnectThread into session recovery class
rene-ye Nov 10, 2018
eda33a2
moved reconnectThread into session recovery class
ulvii Nov 10, 2018
6e4665b
Add | Attempt to add result set counter
ulvii Nov 10, 2018
0170f89
Fix | Fixed the way flags are used for Connection Resiliency
ulvii Nov 14, 2018
baaf32f
Revert checks before creating session state table for now
ulvii Nov 14, 2018
5be2dfb
Fix | Create SessionStateTable only when connection resiliency is ena…
ulvii Nov 15, 2018
5e940e7
Merge remote-tracking branch 'upstream/dev' into ICREnableFeature
ulvii Nov 22, 2018
1db13b4
Login logic for reconnect
rene-ye Nov 22, 2018
ad75cfe
Merge remote-tracking branch 'upstream/dev' into ICREnableFeature
ulvii Nov 23, 2018
9beb6a7
Merge branch 'ICREnableFeature' of https://github.com/ulvii/mssql-jdb…
ulvii Nov 23, 2018
efc2193
Query timeout logic for connection resiliency
rene-ye Nov 23, 2018
0ea565d
Fix | Fix flags and also disable connection resiliency by default
ulvii Nov 23, 2018
f9d975f
fix for not immediately failing if database not found (#16)
rene-ye Nov 30, 2018
4b43864
Merge remote-tracking branch 'upstream/dev' into ICREnableFeature
ulvii Nov 30, 2018
5ee37db
Merge remote-tracking branch 'upstream/dev' into ICREnableFeature
ulvii Dec 3, 2018
5581c44
Update IdleConnectionResiliency with the latest changes from dev bran…
ulvii Dec 3, 2018
7bdd7ed
Fix | Fix resultset counter and writeSessionRecoveryRequest method
ulvii Dec 6, 2018
0e430d2
Tds token error (#17)
rene-ye Dec 6, 2018
5666f0a
Fix | Remove encoding comparison from SQLCollation.isEqual
ulvii Dec 6, 2018
1ae8e3c
Add tests (#19)
ulvii Dec 11, 2018
5582643
Merged ulvii changes
Jun 14, 2021
ac78f50
Integration of old code
Jul 7, 2021
ad258e2
Fixing test fails
Jul 12, 2021
a61fbb7
Catching up to dev, 9.5, fixing merge conflicts
Aug 12, 2021
0641e31
fixed feature ack ext
Aug 24, 2021
f21c06a
removed outdated parser code
Aug 31, 2021
b085008
Integrated new disconnected docket detection
David-Engel Sep 3, 2021
3a5ed07
Minor changes
David-Engel Sep 3, 2021
423420c
Merge pull request #2 from David-Engel/feat_interIdle
VeryVerySpicy Sep 3, 2021
1bd8522
Fixed a few more tests
David-Engel Sep 3, 2021
056affd
Merge pull request #3 from David-Engel/feat_interIdle
VeryVerySpicy Sep 3, 2021
4693c26
Fixed retryinterval valid
Sep 7, 2021
ce3124f
testFullbuffer expected change
Sep 9, 2021
fe8464b
Fix for reflective timeout
Sep 13, 2021
761dd98
default timeout update
Sep 13, 2021
0f266c0
Fixed ResiliencyUtil for PooledConnections
Sep 22, 2021
1199018
Catching up to dev
Sep 22, 2021
1d85778
Reset lang-db-collation
Sep 30, 2021
47748db
Missing break
Sep 30, 2021
c072a70
Debugging
Oct 1, 2021
6b1dd0c
fixed java 8 issue
lilgreenbird Oct 3, 2021
2929428
Merge pull request #4 from lilgreenbird/icr
VeryVerySpicy Oct 4, 2021
7622990
added getConnectionFields
lilgreenbird Oct 4, 2021
dbc40c3
comments
lilgreenbird Oct 4, 2021
5b8527a
Merge pull request #5 from lilgreenbird/icr
VeryVerySpicy Oct 4, 2021
6556a00
fixed to account for SQLServerPoolConnectionProxy
lilgreenbird Oct 5, 2021
475237c
exclude for sql2012
lilgreenbird Oct 5, 2021
cee6dd6
add xSQLv11 to all prev xSQLv12 tests
lilgreenbird Oct 5, 2021
548ace6
Merge pull request #6 from lilgreenbird/icr
VeryVerySpicy Oct 5, 2021
9f0d82b
Minor fixes
Oct 5, 2021
63c8ee5
Merge Conflicts
Oct 5, 2021
b329663
Catching up to upstream dev
Oct 5, 2021
54c27e9
Fixed Polling and Tests for ICR
David-Engel Oct 7, 2021
101c828
Check for ICR Thread Alive in tests
Oct 21, 2021
34e3b94
Checks in case of slow dc vs azuredb
Oct 21, 2021
67da7ca
verfiedmethod
Oct 21, 2021
8907789
Reflection instead of public method
Oct 21, 2021
d2b7896
Seperated Connection Checks
Oct 21, 2021
d3709f3
Limited runs of tests
Oct 26, 2021
5435345
formatter, test fixes
Oct 26, 2021
62458fb
More test fixes
Oct 26, 2021
2188878
Fixing tests
Oct 27, 2021
5715001
Addressing code review comments
Oct 28, 2021
c2039fa
print stacktrace
Oct 28, 2021
0a48fb6
debugging
Oct 28, 2021
53cdb63
debugging
Oct 28, 2021
0a3ffde
debugging trying sleep
Oct 28, 2021
907b824
debugging
Oct 28, 2021
8a3bba2
Removed some debugging prints
Oct 29, 2021
c44486d
Adding back
Oct 29, 2021
eb796f8
Check for azuresqldw
Oct 29, 2021
9842ff7
Less rows
Oct 30, 2021
b5131ad
result set fix
Nov 1, 2021
58f3e92
test rework
Nov 1, 2021
b1ab0d0
stacktrace
Nov 1, 2021
d26bade
test util update
Nov 2, 2021
460f0aa
Merge branch 'dev' of https://github.com/microsoft/mssql-jdbc into Fe…
Nov 2, 2021
1a5206e
Catching up to Dev, Addressing review comments
Nov 3, 2021
21bdb7a
Many code review fixes
Nov 3, 2021
ca8707d
Debugging
Nov 3, 2021
a3d39cc
finer debugging
Nov 4, 2021
9a08c08
update test
Nov 4, 2021
907a72d
SSL NPE and ResultSet
Nov 4, 2021
0c8de09
disablessl + resultset test
Nov 4, 2021
5b0673f
Type
Nov 4, 2021
10ef7df
Finished TestUtils
Nov 4, 2021
3a2a6ab
refactored testutils
Nov 4, 2021
3bc7f80
Synchronized
Nov 4, 2021
f4ef4f4
resolving comments
Nov 5, 2021
3b5960e
Addressing comments
Nov 5, 2021
4149f71
More detailed error
Nov 5, 2021
8f94517
Fixes
Nov 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
27 changes: 15 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,21 @@

<properties>
<!-- Allowed values for excluded Groups here - - - - - - - - - - - - -
xJDBC42 - - - - - For tests not compatible with JDBC 42 Specifications -
xGradle - - - - - For tests not compatible with Gradle Script - - - - - -
xSQLv12 - - - - - For tests not compatible with SQL Server 2008 R2 - 2014
xSQLv14 - - - - - For tests not compatible with SQL Server 2016 - 2017 -
xSQLv15 - - - - - For tests not compatible with SQL Server 2019 - - - - -
xAzureSQLDB - - - For tests not compatible with Azure SQL Database - - -
xAzureSQLDW - - - For tests not compatible with Azure Data Warehouse - -
xAzureSQLMI - - - For tests not compatible with Azure SQL Managed Instance
NTLM - - - - - - For tests using NTLM Authentication mode (excluded by default)
reqExternalSetup For tests requiring external setup (excluded by default)
clientCertAuth - For tests requiring client certificate auth setup (excluded
by default) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
xJDBC42 - - - - - - For tests not compatible with JDBC 42 Specifications
xGradle - - - - - - For tests not compatible with Gradle Script - - - - -
xSQLv11 - - - - - - For tests not compatible with SQL Server 2012 - - - -
xSQLv12 - - - - - - For tests not compatible with SQL Server 2014 - - - -
xSQLv14 - - - - - - For tests not compatible with SQL Server 2016 - 2017
xSQLv15 - - - - - - For tests not compatible with SQL Server 2019 - - - -
xAzureSQLDB - - - - For tests not compatible with Azure SQL Database - -
xAzureSQLDW - - - - For tests not compatible with Azure Data Warehouse -
xAzureSQLMI - - - - For tests not compatible with Azure SQL Managed Instance
NTLM - - - - - - - For tests using NTLM Authentication mode (excluded by
default) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
reqExternalSetup - For tests requiring external setup (excluded by default)
clientCertAuth - - For tests requiring client certificate authentication
setup (excluded by default) - - - - - - - - - - - - - - - - - - - - - - -

Default testing enabled with SQL Server 2019 (SQLv15) -->

<!-- Use -preview for preview release, leave empty for official release. -->
Expand Down