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

ISPN-12937 Expiring counters #9508

Merged
merged 2 commits into from Sep 20, 2021
Merged

Conversation

pruivo
Copy link
Member

@pruivo pruivo commented Sep 6, 2021

  • Added an option to configure a lifespan for strong counters. When the
    counter is expired, it is reset to its initial value.

https://issues.redhat.com/browse/ISPN-12937

Copy link
Contributor

@oraNod oraNod left a comment

Choose a reason for hiding this comment

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

@pruivo A few doc suggestions. There is one section of the counters doc that duplicates/repeats the schema content. We could handle this at a later stage, but if you wanted to remove all the duplicated attributes from the doc and point to the schema in an Additional resources section like so:

[role="_additional-resources"]
.Additional resources
* link:{configdocroot}[{brandname} schema reference]

that might make life easier than updating schema + docs. It's up to you. Cheers.

core/src/main/java/org/infinispan/metadata/Metadata.java Outdated Show resolved Hide resolved
core/src/main/java/org/infinispan/metadata/Metadata.java Outdated Show resolved Hide resolved
core/src/main/java/org/infinispan/metadata/Metadata.java Outdated Show resolved Hide resolved
core/src/main/java/org/infinispan/metadata/Metadata.java Outdated Show resolved Hide resolved
core/src/main/java/org/infinispan/metadata/Metadata.java Outdated Show resolved Hide resolved
documentation/src/main/asciidoc/topics/counters.adoc Outdated Show resolved Hide resolved
documentation/src/main/asciidoc/topics/counters.adoc Outdated Show resolved Hide resolved
documentation/src/main/asciidoc/topics/counters.adoc Outdated Show resolved Hide resolved
documentation/src/main/asciidoc/topics/counters.adoc Outdated Show resolved Hide resolved
* Added an option to configure a lifespan for strong counters. When the
  counter is expired, it is reset to its initial value.
Documentation improvements

Co-authored-by: Don Naro <dnaro@redhat.com>
@wburns
Copy link
Member

wburns commented Sep 20, 2021

Think I will integrate, but @pruivo if you want to make another PR with the doc changes here as necessary would be great.

@wburns wburns merged commit a179e68 into infinispan:main Sep 20, 2021
@wburns
Copy link
Member

wburns commented Sep 20, 2021

Integrated into main, thanks @pruivo !

@pruivo pruivo deleted the t_12937_counter_expiration branch September 21, 2021 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants