-
Notifications
You must be signed in to change notification settings - Fork 829
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
Counts and Lists: Improvements to SDK docs #3569
Conversation
Build Succeeded 👏 Build Id: 5e7eac74-396e-48de-86d1-a70b0d580d42 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
2d75efb
to
c0d16e1
Compare
Build Succeeded 👏 Build Id: 2e85c120-524a-4ccf-b5cb-bcdcf572294d The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Build Succeeded 👏 Build Id: aef7dfa7-fafe-4a99-b3d0-be36cab1f630 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
3cd1625
to
7d52c33
Compare
Didn't push the changes last week 🤦🏻 that should be better now. |
Build Succeeded 👏 Build Id: cea3619b-9428-4104-9fe9-18359710dde7 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
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.
LGTM, just one comment on clarity.
In the event where a Counter or List may extend past the maximum capacity Allocation/API changes to | ||
[`GameServer.status`]({{< ref "/docs/Reference/agones_crd_api_reference.html#agones.dev/v1.GameServerStatus" >}}) values | ||
while a batched Counter or List modification operation has yet to be applied, those values will be silently truncated to | ||
the capacity of that Counter or List. |
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.
This is still confusing. Subject -> Verb -> Object is an easier format to understand.
In the event where a Counter or List may extend past the maximum capacity Allocation/API changes to | |
[`GameServer.status`]({{< ref "/docs/Reference/agones_crd_api_reference.html#agones.dev/v1.GameServerStatus" >}}) values | |
while a batched Counter or List modification operation has yet to be applied, those values will be silently truncated to | |
the capacity of that Counter or List. | |
The Agones SDK server batches the update operations of [`GameServer.Status.Counters` and `GameServer.Status.Lists`][gameserverstatus] asynchronously. This means that if you update [`GameServer.status`]({{< ref "/docs/Reference/agones_crd_api_reference.html#agones.dev/v1.GameServerStatus" >}}) values through both the SDK and the Allocation/Kubernetes API, the batch processing may silently truncate some of those values to the capacity of that Counter or List. |
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.
Thank you! That does read much better. Adding change and updating!
Much like the player tracking SDK documentation, I wanted to be explicit in the SDK documentation for Counts and Lists where data was being stored, and where default values where coming from with links back to the generated API reference - so made some improvements to help facilitate that. This does still need a Counters and Lists landing page to reference (this is my next task) as well, but wanted to get this done while I was thinking about it. Work on googleforgames#2716
7d52c33
to
469b560
Compare
Build Succeeded 👏 Build Id: 17183739-2283-4738-b019-d5a43797cb50 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
What type of PR is this?
/kind documentation
What this PR does / Why we need it:
Much like the player tracking SDK documentation, I wanted to be explicit in the SDK documentation for Counts and Lists where data was being stored, and where default values where coming from with links back to the generated API reference - so made some improvements to help facilitate that.
Which issue(s) this PR fixes:
Work on #2716
Special notes for your reviewer:
This does still need a Counters and Lists landing page to reference (this is my next task) as well, but wanted to get this done while I was thinking about it.