Skip to content

Conversation

@peihe
Copy link
Contributor

@peihe peihe commented Apr 20, 2016

No description provided.

@peihe peihe force-pushed the counter-dirty-bit branch from 4da51b9 to 99c76c1 Compare April 20, 2016 20:48
@peihe
Copy link
Contributor Author

peihe commented Apr 20, 2016

R: @bjchambers

* committing() None COMMITTING None
* committed() None None COMMITTED
*/
@VisibleForTesting
Copy link
Member

Choose a reason for hiding this comment

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

DirtyBit suggest a bool, which this is explicitly not. CommitState?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@peihe peihe force-pushed the counter-dirty-bit branch from 3e5d21c to 9b76b75 Compare April 20, 2016 23:25
@peihe peihe force-pushed the counter-dirty-bit branch from 9b76b75 to 09f4097 Compare April 20, 2016 23:26
@tgroh
Copy link
Member

tgroh commented Apr 20, 2016

LGTM

@peihe peihe force-pushed the counter-dirty-bit branch from 604f5ab to b7bd50c Compare April 22, 2016 18:39
@Nullable
public abstract CounterMean<T> getMean();

/**
Copy link
Contributor

Choose a reason for hiding this comment

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

/**
 * Represents ...

(No need to say CommitState)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@peihe peihe force-pushed the counter-dirty-bit branch from dee5843 to 8973646 Compare April 22, 2016 23:13
@peihe
Copy link
Contributor Author

peihe commented Apr 25, 2016

PTAL

/**
* Returns if the counter contains non-committed aggregate.
*
* <p>After all possible mutations have completed, the reader should check
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks great. Can you put the details of this counter lifecycle/contract in the Counter class javadoc?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@asfgit asfgit closed this in d299e2c Apr 26, 2016
@peihe peihe deleted the counter-dirty-bit branch August 15, 2017 09:24
iemejia pushed a commit to iemejia/beam that referenced this pull request Jan 12, 2018
mareksimunek pushed a commit to mareksimunek/beam that referenced this pull request May 9, 2018
pl04351820 pushed a commit to pl04351820/beam that referenced this pull request Dec 20, 2023
Update `pbs_for_create`, `pbs_for_set_no_merge`, `pbs_for_set_with_merge`, and `pbs_for_update` to match semantics expected by current versions of [conformance tests](googleapis/conformance-tests@0bb8520):

- Rather than create separate `Write.transform` messages to hold field transforms, inline them as `update_transforms` in the main `Write.update` message (which will always be created now).

Copy in the current version of the conftest JSON files and verify.

Closes apache#217
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants