You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "dlmarion (via GitHub)" <gi...@apache.org> on 2024/02/20 20:24:24 UTC
[PR] Create accumulo.fate table during upgrade [accumulo]
dlmarion opened a new pull request, #4284:
URL: https://github.com/apache/accumulo/pull/4284
Use the same code as ZooKeeperInitializer to create the new accumulo.fate table
Fixes #4167
--
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: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Create accumulo.fate table during upgrade [accumulo]
Posted by "dlmarion (via GitHub)" <gi...@apache.org>.
dlmarion commented on code in PR #4284:
URL: https://github.com/apache/accumulo/pull/4284#discussion_r1496512809
##########
server/manager/src/main/java/org/apache/accumulo/manager/upgrade/Upgrader12to13.java:
##########
@@ -100,6 +105,16 @@ public void upgradeMetadata(ServerContext context) {
removeCompactColumnsFromTable(context, AccumuloTable.METADATA.tableName());
}
+ private void createFateTable(ServerContext context) {
Review Comment:
>Should this allow for the table to exist? If the upgrade were to get past this step, but fail later on. On a rerun of the upgrade, then this may fail if the table was created?
I think it does, right? I set the exists policy to `SKIP`. Did I miss something else?
--
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: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Create accumulo.fate table during upgrade [accumulo]
Posted by "EdColeman (via GitHub)" <gi...@apache.org>.
EdColeman commented on code in PR #4284:
URL: https://github.com/apache/accumulo/pull/4284#discussion_r1496503823
##########
server/manager/src/main/java/org/apache/accumulo/manager/upgrade/Upgrader12to13.java:
##########
@@ -100,6 +105,16 @@ public void upgradeMetadata(ServerContext context) {
removeCompactColumnsFromTable(context, AccumuloTable.METADATA.tableName());
}
+ private void createFateTable(ServerContext context) {
Review Comment:
Should this allow for the table to exist? If the upgrade were to get past this step, but fail later on. On a rerun of the upgrade, then this may fail if the table was created?
I think we need to allow the upgrade to be attempted multiple times, but I don't think we require that the upgrade undo / rewind steps that it may have taken.
This is assuming that the presence of the fate table would not impact running the earlier versions - it would just be ignored and FATEs would be processed with the original code until the upgrade was successful.
--
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: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Create accumulo.fate table during upgrade [accumulo]
Posted by "dlmarion (via GitHub)" <gi...@apache.org>.
dlmarion merged PR #4284:
URL: https://github.com/apache/accumulo/pull/4284
--
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: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Create accumulo.fate table during upgrade [accumulo]
Posted by "EdColeman (via GitHub)" <gi...@apache.org>.
EdColeman commented on code in PR #4284:
URL: https://github.com/apache/accumulo/pull/4284#discussion_r1496531796
##########
server/manager/src/main/java/org/apache/accumulo/manager/upgrade/Upgrader12to13.java:
##########
@@ -100,6 +105,16 @@ public void upgradeMetadata(ServerContext context) {
removeCompactColumnsFromTable(context, AccumuloTable.METADATA.tableName());
}
+ private void createFateTable(ServerContext context) {
Review Comment:
Actually that looks okay then.
--
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: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org