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

Audit use of AtomicInt32 and AtomicInt64 methods #917

Closed
1 task done
paulirwin opened this issue Feb 24, 2024 · 0 comments · Fixed by #927
Closed
1 task done

Audit use of AtomicInt32 and AtomicInt64 methods #917

paulirwin opened this issue Feb 24, 2024 · 0 comments · Fixed by #927
Assignees
Labels
is:task A chore to be done

Comments

@paulirwin
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Task description

Context: #914 (comment)

From @NightOwl888:

at one point the method [GetAndAdd] didn't exist, we should do a sweep to ensure that all calls to GetAndAdd(), AddAndGet(), IncrementAndGet(), GetAndIncrement(), DecrementAndGet(), and GetAndDecrement() match Lucene (for both AtomicInt32 and AtomicInt64). We may not have caught this everywhere it matters.

@paulirwin paulirwin added the is:task A chore to be done label Feb 24, 2024
@NightOwl888 NightOwl888 self-assigned this Mar 10, 2024
NightOwl888 added a commit to NightOwl888/lucenenet that referenced this issue Mar 10, 2024
…ent(), .DecrementAndGet(), and .GetAndDecrement() from atomic numeric classes. Closes apache#917.
NightOwl888 added a commit that referenced this issue Mar 11, 2024
* SWEEP: Reviewed all applications of .AddAndGet() methods from atomic numeric classes

* SWEEP: Reviewed all applications of .GetAndAdd() methods from atomic numeric classes

* SWEEP: Reviewed all applications of .IncrementAndGet(), .GetAndIncrement(), .DecrementAndGet(), and .GetAndDecrement() from atomic numeric classes. Closes #917.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:task A chore to be done
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants