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

Add nearcaching hook to map-transaction-log-record #16581

Merged
merged 2 commits into from Mar 17, 2020

Conversation

ahmetmircik
Copy link
Member

@ahmetmircik ahmetmircik commented Jan 30, 2020

closes #16577
Backport of: #16579

@ahmetmircik
Copy link
Member Author

run-lab-run

@mmedenjak mmedenjak added the Source: Internal PR or issue was opened by an employee label Feb 27, 2020
@@ -175,18 +175,41 @@ public void commit() throws TransactionException, IllegalStateException {
}
}

public void commitAsync(ExecutionCallback callback) {
public void commitAsync(final ExecutionCallback callback) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

I found the same is missing in #16618 and #16617.

Copy link
Member Author

Choose a reason for hiding this comment

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

didn't get this?

}
};

void beforeRemoteCall(K key, Data keyData, V value, Data valueData);
Copy link
Contributor

Choose a reason for hiding this comment

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

How come you don't use @Nullable here?

Copy link
Member Author

Choose a reason for hiding this comment

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

It wasn't common in 3.12 (java 6) using those, no real reason.

public MapTransactionLogRecord() {
}

public MapTransactionLogRecord(String name, Data key, int partitionId, Operation op, long version, String ownerUuid) {
public MapTransactionLogRecord(String name, Data key, int partitionId,
Copy link
Contributor

Choose a reason for hiding this comment

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

Can the parameter be@Nullable?

Copy link
Member Author

Choose a reason for hiding this comment

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

same

@ahmetmircik
Copy link
Member Author

run-lab-run

@ahmetmircik ahmetmircik changed the title [BACKPORT] Add nearcaching hook to map-transaction-log-record Add nearcaching hook to map-transaction-log-record Mar 17, 2020
@ahmetmircik ahmetmircik merged commit 0d0078e into hazelcast:3.12.z Mar 17, 2020
@ahmetmircik ahmetmircik deleted the fix/3.12.7/txNC branch March 17, 2020 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants