From 5b56a38e019268071b1469cbf320ee7a62488783 Mon Sep 17 00:00:00 2001 From: Lai Jiang Date: Mon, 31 Jan 2022 14:20:23 -0500 Subject: [PATCH] Allow the beam parameter in RDE standard mode (#1505) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Standard mode will determine the watermarks based on the cursors and kick off subsequent uploading steps. In order to run both the Beam and the Mapreduce pipeline in parallel, we need to allow setting the beam parameter when in standard mode. This changes should have been part of https://github.com/google/nomulus/pull/1500. --- This change is [Reviewable](https://reviewable.io/reviews/google/nomulus/1505) --- core/src/main/java/google/registry/rde/RdeStagingAction.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/src/main/java/google/registry/rde/RdeStagingAction.java b/core/src/main/java/google/registry/rde/RdeStagingAction.java index f4047e395..c82466737 100644 --- a/core/src/main/java/google/registry/rde/RdeStagingAction.java +++ b/core/src/main/java/google/registry/rde/RdeStagingAction.java @@ -391,9 +391,6 @@ public final class RdeStagingAction implements Runnable { if (revision.isPresent()) { throw new BadRequestException("Revision parameter not allowed in standard operation"); } - if (beam) { - throw new BadRequestException("Beam parameter not allowed in standard operation"); - } return ImmutableSetMultimap.copyOf( Multimaps.filterValues(