You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Binhua Hu (Jira)" <ji...@apache.org> on 2022/04/11 02:22:00 UTC
[jira] [Created] (RANGER-3703) Data loss during initialization
Binhua Hu created RANGER-3703:
---------------------------------
Summary: Data loss during initialization
Key: RANGER-3703
URL: https://issues.apache.org/jira/browse/RANGER-3703
Project: Ranger
Issue Type: Improvement
Components: admin
Affects Versions: 2.2.0, 1.2.0
Reporter: Binhua Hu
In the container or distributed nodes, the initialization script(setup.sh) may be executed many times. Ranger controls the initialization process through database table(x_db_version_h). However, when the number of database connections is too large or the network is abnormal, the initialization script will judge abnormally, the script will trigger reconstruction, and the data will be lost.So is it reasonable to drop tables in script(ranger_core_db_XX.sql)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)