View Issue Details

IDProjectCategoryView StatusLast Update
0005635Talerobsolete componentpublic2019-03-15 15:57
ReporterMarcello Stanisci Assigned ToMarcello Stanisci  
PriorityhighSeverityminorReproducibilityhave not tried
Status closedResolutionunable to reproduce 
Summary0005635: Clarify /history API.
DescriptionIf the 'start' argument is not given, docs say that <it>delta</it> youngest records will be returned. The implementation, however, does not respect this principle if _negative_ delta is handed over. So we should either ignore delta's sign, or change the documentation to match the actual code.
TagsNo tags attached.

Activities

Marcello Stanisci

2019-03-15 13:45

reporter   ~0014207

Another possibility is that 'start' defaults to UINT64_MAX, and just let the user choose their 'delta' (without putting any exceptions about the sign). The fact that 'start' is a exclusive threshold is not really a problem, as databases are normally expected to have values way lower than UINT64_MAX for their highest row IDs.

Marcello Stanisci

2019-03-15 15:57

reporter   ~0014210

Although the API does need to be clarified, this report does not match the latest code. Will soon open a more appropriate one.

Issue History

Date Modified Username Field Change
2019-03-07 22:12 Marcello Stanisci New Issue
2019-03-07 22:12 Marcello Stanisci Status new => assigned
2019-03-07 22:12 Marcello Stanisci Assigned To => Marcello Stanisci
2019-03-15 13:45 Marcello Stanisci Note Added: 0014207
2019-03-15 13:45 Marcello Stanisci Priority normal => high
2019-03-15 15:57 Marcello Stanisci Status assigned => closed
2019-03-15 15:57 Marcello Stanisci Resolution open => unable to reproduce
2019-03-15 15:57 Marcello Stanisci Note Added: 0014210
2022-08-23 20:26 Christian Grothoff Category bank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 01:23 Christian Grothoff Category py bank (demonstrator, obsolete) => obsolete componet
2023-12-11 20:08 Florian Dold Category obsolete componet => obsolete component