Skip to content
Sign up
Product
Features
Mobile
Actions
Codespaces
Copilot
Packages
Security
Code review
Issues
Integrations
GitHub Sponsors
Customer stories
Team
Enterprise
Explore
Explore GitHub
Learn and contribute
Topics
Collections
Trending
Skills
GitHub Sponsors
Open source guides
Connect with others
The ReadME Project
Events
Community forum
GitHub Education
GitHub Stars program
Marketplace
Pricing
Plans
Compare plans
Contact Sales
Education
In this repository
All GitHub
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub
↵
Jump to
↵
In this organization
All GitHub
↵
Jump to
↵
In this repository
All GitHub
↵
Jump to
↵
Sign in
Sign up
{{ message }}
apache
/
iceberg
Public
Notifications
Fork
1.1k
Star
2.9k
Code
Issues
755
Pull requests
335
Actions
Projects
18
Wiki
Security
Insights
More
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
AWS: Use strongly consistent read in DDBLockManager (
#4763
)
Loading branch information
singhpk234
committed
May 25, 2022
1 parent
49684ac
commit
815226b0f184d1bb95ba1d62765f79cd3355d0e1
Showing
1 changed file
with
1 addition
and
0 deletions
.
Split
Unified
There are no files selected for viewing
1
aws/src/main/java/org/apache/iceberg/aws/dynamodb/DynamoDbLockManager.java
Show comments
View file
Edit file
Delete file
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
Show hidden characters
@@ -200,6 +200,7 @@ public boolean acquire(String entityId, String ownerId) {
void
acquireOnce
(
String
entityId
,
String
ownerId
) {
GetItemResponse
response
=
dynamo
.
getItem
(
GetItemRequest
.
builder
()
.
tableName
(
lockTableName
)
.
consistentRead
(
true
)
.
key
(
toKey
(
entityId
))
.
build
());
Toggle all file notes
Toggle all file annotations
0 comments on commit
815226b
Please
sign in
to comment.
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.