You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Peter Bacsko (Jira)" <ji...@apache.org> on 2023/09/07 14:20:00 UTC
[jira] [Created] (YUNIKORN-1965) Display a unique id on the REST interface when returning events
Peter Bacsko created YUNIKORN-1965:
--------------------------------------
Summary: Display a unique id on the REST interface when returning events
Key: YUNIKORN-1965
URL: https://issues.apache.org/jira/browse/YUNIKORN-1965
Project: Apache YuniKorn
Issue Type: Sub-task
Components: core - scheduler
Reporter: Peter Bacsko
Assignee: Peter Bacsko
When the scheduler is restarted, ID are always counted from 0, which makes IDs not unique. If someone decides to store the events in the database with IDs being a primary key, it will not be possible because of this.
We should expose extra information to the REST API so that event IDs become unique when they are concatenated. For example:
* Start timestamp
* Random number
* Random UUID
* An ID constructed from the pod's unique ID
* etc.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org