summaryrefslogtreecommitdiff
path: root/src/offlinelogstorage/dlt_offline_logstorage.c
diff options
context:
space:
mode:
authorSaya Sugiura <ssugiura@jp.adit-jv.com>2020-07-31 18:13:24 +0900
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2021-01-06 09:27:28 +0900
commitf45e9326fe4e3f85b7d58034feb98516de97c7ca (patch)
tree47f0dc42808a1b960b0d75e33d9c17f992ffa545 /src/offlinelogstorage/dlt_offline_logstorage.c
parent0955febc56bf8ad49b0eabd7fc7970fd852becde (diff)
downloadDLT-daemon-f45e9326fe4e3f85b7d58034feb98516de97c7ca.tar.gz
logstorage: Modify rearranging file
This commit updates dlt_logstorage_rearrange_file_name() to perform following: - If the maximum index isn't equal to maxcounter, do not rearrange the file name - If the maximum index reaches to maxcounter: - If minimum index is not 1, do not rearrange the file name - If minimum index is 1, check if there's any indexes which the gap is more than 1. If exists, take those indexes as latest and oldest. Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Diffstat (limited to 'src/offlinelogstorage/dlt_offline_logstorage.c')
0 files changed, 0 insertions, 0 deletions