|
Post by puwen on Jun 10, 2020 5:38:15 GMT
Subject: What is the behavior when [OverWritePolicy] is set to [WrapsWhenFull]? Hi, The description of WrapsWhenFull in schema is "When full, new entries to the log overwrite earlier entries." LogService.v1_1_3.jsonI am confused about the term [earlier]. Suppose the SEL Entries are: /redfish/v1/Managers/Self/LogServices/SEL/Entries/1 /redfish/v1/Managers/Self/LogServices/SEL/Entries/2 .... /redfish/v1/Managers/Self/LogServices/SEL/Entries/N Which one will be overwritten when a new entry arrives, 1 or N? Thanks.
|
|
|
Post by mraineri on Jun 10, 2020 16:40:58 GMT
"Wraps" is a term that typically is used to indicate that the oldest entries are pushed out for newer entries.
So, assuming "Entries/1" is the oldest entry, then that would be the one to be overwritten. It's possible that "Entries/1" is simply overwritten. I would expect the service to order the entries in the collection properly, so in the latter case "Entries/1" would appear at the end of the list. However, it's entirely possible that the behavior could be "Entries/1" is deleted, and a new "Entries/N+1" entry is created. This level of detail is usually up to the implementation to decide for how to manage the log entry Ids.
|
|