Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metad is crashed after upgrade from v1 #1061

Closed
HarrisChu opened this issue Jan 24, 2022 · 3 comments
Closed

metad is crashed after upgrade from v1 #1061

HarrisChu opened this issue Jan 24, 2022 · 3 comments

Comments

@HarrisChu
Copy link
Contributor

refer vesoft-inc/nebula#3179

https://github.com/vesoft-inc/nebula/blob/master/src/daemons/MetaDaemon.cpp#L203

  1. when upgrade from v1 to v2, should also copy share/resources/date_time_zonespec.csv
  2. if we don't copy this file, after upgrade to v3, metad would be crashed.
I20220124 12:04:05.535204 41389 RootUserMan.h:27] Root user exists
I20220124 12:04:05.535235 41487 JobManager.cpp:116] JobManager::runJobBackground() enter
E20220124 12:04:05.535521 41389 MetaDaemon.cpp:202] Invalid timezone file `share/resources/date_time_zonespec.csv', exception: `Unable to locate or access the required datafile. Filespec: share/resources/date_time_zonespec.csv'.
I20220124 12:04:05.540473 41389 JobManager.cpp:104] JobManager::shutDown() begin
I20220124 12:04:05.545461 41487 JobManager.cpp:121] [JobManager] detect shutdown called, exit
E20220124 12:04:05.545740 41487 JobDescription.cpp:181] Loading Job Description FailedE_KEY_NOT_FOUND
E20220124 12:04:05.545814 41487 JobManager.cpp:129] [JobManager] load an invalid job from queue 0
I20220124 12:04:05.546111 41389 JobManager.cpp:112] JobManager::shutDown() end
@ghost ghost assigned randomJoe211 Jan 24, 2022
@HarrisChu
Copy link
Contributor Author

just update doc, transfer this issue

@HarrisChu HarrisChu transferred this issue from vesoft-inc/nebula Jan 24, 2022
@HarrisChu
Copy link
Contributor Author

for rpm upgrade, it will copy this file automatically.
just info users when he uses a tgz package to upgrade.

@randomJoe211
Copy link
Contributor

Resolved in #1070.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants