cambyzju opened a new pull request, #59795:
URL: https://github.com/apache/doris/pull/59795
### What problem does this PR solve?
**The problem:**
1. Doris version 2.1, we already use file cache VERSION2
```
# cat storage/remote_cache/version
2.0
```
2. but the key dir do not include expire time suffix, for example:
```storage/remote_cache/865/8655aa1145545d947f061c463cca1e82```
3. after upgrade to Doris version 3.0, the BE start failed with:
```
terminate called after throwing an instance of 'std::invalid_argument'
what(): stoul
*** Query id: 0-0 ***
*** is nereids: 0 ***
*** tablet id: 0 ****** Aborted at 1768202013 (unix time) try "date -d
@1768202013" if you are using GNU date ***
*** Current BE git commitID: 2512121 ***
*** SIGABRT unknown detail explain (@0x3e80019db81) received by PID 1694593
(TID 1694778 OR 0x7fa1c3dde6c0) from PID 1694593; stack trace: ***
0# doris::signal::(anonymous namespace)::FailureSignalHandler(int,
siginfo_t*, void*) in /usr/local/service/doris/lib/be/doris_be
1# 0x00007FA284C54AD0 in /lib64/libc.so.6
2# __pthread_kill_implementation in /lib64/libc.so.6
3# raise in /lib64/libc.so.6
4# __GI_abort in /lib64/libc.so.6
5# __gnu_cxx::__verbose_terminate_handler() [clone .cold] in
/usr/local/service/doris/lib/be/doris_be
6# __cxxabiv1::__terminate(void (*)()) in
/usr/local/service/doris/lib/be/doris_be
7# 0x000055F597D82161 in /usr/local/service/doris/lib/be/doris_be
8# 0x000055F597D822B4 in /usr/local/service/doris/lib/be/doris_be 9#
std::__throw_invalid_argument(char const*) in
/usr/local/service/doris/lib/be/doris_be
10#
doris::io::FSFileCacheStorage::load_cache_info_into_memory(doris::io::BlockFileCache*)
const in /usr/local/service/doris/lib/be/doris_be
11#
std::thread::_State_impl<std::thread::_Invoker<std::tuple<doris::io::FSFileCacheStorage::init(doris::io::BlockFileCache*)::$_0>
> >::_M_run() in /usr/local/service/doris/lib/be/doris_be
12# execute_native_thread_routine in /usr/local/service/doris/lib/be/doris_be
13# start_thread in /lib64/libc.so.6
14# __GI___clone3 in /lib64/libc.so.6
```
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should
merge into -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]