Skip to content

Added a missing unlock in getDestinationMetadata()#2484

Merged
Jeffery-Wasty merged 10 commits intomainfrom
metadata-hang-fix
Aug 20, 2024
Merged

Added a missing unlock in getDestinationMetadata()#2484
Jeffery-Wasty merged 10 commits intomainfrom
metadata-hang-fix

Conversation

@Jeffery-Wasty
Copy link
Copy Markdown
Contributor

No description provided.

@Jeffery-Wasty Jeffery-Wasty added this to the 12.9.0 milestone Aug 6, 2024
@Jeffery-Wasty Jeffery-Wasty self-assigned this Aug 6, 2024
@Jeffery-Wasty Jeffery-Wasty marked this pull request as ready for review August 6, 2024 15:23
barryw-mssql
barryw-mssql previously approved these changes Aug 6, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 6, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 50.80%. Comparing base (0e97689) to head (1c0ff80).
Report is 2 commits behind head on main.

Files Patch % Lines
...om/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2484      +/-   ##
============================================
+ Coverage     50.78%   50.80%   +0.01%     
- Complexity     3888     3890       +2     
============================================
  Files           145      145              
  Lines         33481    33482       +1     
  Branches       5690     5691       +1     
============================================
+ Hits          17004    17010       +6     
+ Misses        14030    14028       -2     
+ Partials       2447     2444       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread src/main/java/com/microsoft/sqlserver/jdbc/SQLServerBulkCopy.java Outdated
@David-Engel
Copy link
Copy Markdown
Collaborator

Also, you should add a test to cover the scenario that the reporting issue manifests.

barryw-mssql
barryw-mssql previously approved these changes Aug 8, 2024
@Jeffery-Wasty Jeffery-Wasty marked this pull request as draft August 8, 2024 19:34
@Jeffery-Wasty Jeffery-Wasty marked this pull request as ready for review August 12, 2024 17:01
@Jeffery-Wasty Jeffery-Wasty requested a review from tkyc August 12, 2024 17:04
Comment thread src/test/java/com/microsoft/sqlserver/jdbc/unit/statement/BatchExecutionTest.java Outdated
barryw-mssql
barryw-mssql previously approved these changes Aug 14, 2024
tkyc
tkyc previously approved these changes Aug 14, 2024
Comment thread src/test/java/com/microsoft/sqlserver/jdbc/unit/statement/BatchExecutionTest.java Outdated
Copy link
Copy Markdown
Contributor

@lilgreenbird lilgreenbird left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's failing code coverage?

@Jeffery-Wasty Jeffery-Wasty dismissed stale reviews from tkyc and barryw-mssql via 4b89d7c August 19, 2024 21:16
@Jeffery-Wasty Jeffery-Wasty merged commit 25ed577 into main Aug 20, 2024
tkyc pushed a commit that referenced this pull request Aug 21, 2024
* Added a missing unlock

* Clean up locks as per pr review

* Added test

* Resolve codeql error

* Extend timeout time

* Removing test to narrow down on pipeline failures

* Adding a clear to see if this fixes prior errors

* PR review changes

* Address PR comments

* More
@Jeffery-Wasty Jeffery-Wasty modified the milestones: 12.8.1, 12.9.0 Aug 21, 2024
tkyc added a commit that referenced this pull request Aug 22, 2024
* Added a missing unlock

* Clean up locks as per pr review

* Added test

* Resolve codeql error

* Extend timeout time

* Removing test to narrow down on pipeline failures

* Adding a clear to see if this fixes prior errors

* PR review changes

* Address PR comments

* More

Co-authored-by: Jeff Wasty <[email protected]>
@Jeffery-Wasty Jeffery-Wasty deleted the metadata-hang-fix branch August 22, 2024 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed/Merged PRs

Development

Successfully merging this pull request may close these issues.

5 participants