-
Notifications
You must be signed in to change notification settings - Fork 15
Conversation
Generate changelog in
|
atlasdb-client/src/main/java/com/palantir/atlasdb/transaction/impl/CachingTransaction.java
Show resolved
Hide resolved
atlasdb-client/src/main/java/com/palantir/atlasdb/transaction/impl/CachingTransaction.java
Outdated
Show resolved
Hide resolved
...impl-shared/src/main/java/com/palantir/atlasdb/transaction/impl/SerializableTransaction.java
Outdated
Show resolved
Hide resolved
...sdb-impl-shared/src/main/java/com/palantir/atlasdb/transaction/impl/SnapshotTransaction.java
Outdated
Show resolved
Hide resolved
...sdb-impl-shared/src/main/java/com/palantir/atlasdb/transaction/impl/SnapshotTransaction.java
Outdated
Show resolved
Hide resolved
...client/src/main/java/com/palantir/atlasdb/transaction/impl/NoDuplicateWritesTransaction.java
Show resolved
Hide resolved
ab6acaa
to
6c77941
Compare
da4451c
to
978daf8
Compare
978daf8
to
c224fc3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Broadly looks fine. There are some nuanced semantics in the tests that I have some comments on - might be worth a second look.
atlasdb-api/src/main/java/com/palantir/atlasdb/transaction/api/Transaction.java
Outdated
Show resolved
Hide resolved
.../palantir/atlasdb/keyvalue/cassandra/CassandraKeyValueServiceTransactionIntegrationTest.java
Outdated
Show resolved
Hide resolved
...st/java/com/palantir/atlasdb/keyvalue/cassandra/CassandraKvsSerializableTransactionTest.java
Show resolved
Hide resolved
atlasdb-client/src/main/java/com/palantir/atlasdb/logging/KvsProfilingLogger.java
Show resolved
Hide resolved
...sdb-impl-shared/src/main/java/com/palantir/atlasdb/transaction/impl/SnapshotTransaction.java
Show resolved
Hide resolved
atlasdb-tests-shared/src/main/java/com/palantir/atlasdb/transaction/impl/GetAsyncDelegate.java
Show resolved
Hide resolved
...tests-shared/src/test/java/com/palantir/atlasdb/transaction/impl/CachingTransactionTest.java
Outdated
Show resolved
Hide resolved
...ests-shared/src/test/java/com/palantir/atlasdb/transaction/impl/SnapshotTransactionTest.java
Outdated
Show resolved
Hide resolved
...ests-shared/src/test/java/com/palantir/atlasdb/transaction/impl/SnapshotTransactionTest.java
Outdated
Show resolved
Hide resolved
...ests-shared/src/test/java/com/palantir/atlasdb/transaction/impl/SnapshotTransactionTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some stuff to fix up in tests, and some weird formatting to undo
.../palantir/atlasdb/keyvalue/cassandra/CassandraKeyValueServiceTransactionIntegrationTest.java
Show resolved
Hide resolved
.../palantir/atlasdb/keyvalue/cassandra/CassandraKeyValueServiceTransactionIntegrationTest.java
Outdated
Show resolved
Hide resolved
...st/java/com/palantir/atlasdb/keyvalue/cassandra/CassandraKvsSerializableTransactionTest.java
Outdated
Show resolved
Hide resolved
...impl-shared/src/main/java/com/palantir/atlasdb/transaction/impl/SerializableTransaction.java
Outdated
Show resolved
Hide resolved
validatePreCommitRequirementsOnReadIfNecessary(tableRef, getStartTimestamp()); | ||
return removeEmptyColumns(result, tableRef); | ||
}, | ||
MoreExecutors.directExecutor()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tiny bit concerned with the amount of work being done here, especially with the directExecutor
which does have its warnings.
...ests-shared/src/test/java/com/palantir/atlasdb/transaction/impl/SnapshotTransactionTest.java
Outdated
Show resolved
Hide resolved
...ests-shared/src/test/java/com/palantir/atlasdb/transaction/impl/SnapshotTransactionTest.java
Outdated
Show resolved
Hide resolved
...ests-shared/src/test/java/com/palantir/atlasdb/transaction/impl/SnapshotTransactionTest.java
Outdated
Show resolved
Hide resolved
...ests-shared/src/test/java/com/palantir/atlasdb/transaction/impl/SnapshotTransactionTest.java
Outdated
Show resolved
Hide resolved
...ests-shared/src/test/java/com/palantir/atlasdb/transaction/impl/SnapshotTransactionTest.java
Outdated
Show resolved
Hide resolved
34866b0
to
0b1374d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Goals (and why):
Add async get to
Transaction
API. Expose the asynchronous API from theKVS
to the transactional layer.Implementation Description (bullets):
getAsync
from theKVS
layer to theTransaction
Testing (What was existing testing like? What have you done to improve it?):
Concerns (what feedback would you like?):
getAsync
Where should we start reviewing?:
Transaction
Priority (whenever / two weeks / yesterday):
tomorrow