code: private CompletableFuture<Void> postScaleRequest(final AutoScaleEvent request, final List<Long> segments,
                                                       final List<Map.Entry<Double, Double>> newRanges,
                                                       final long requestId) {
          ScaleOpEvent event = new ScaleOpEvent(request.getScope(),
                  request.getStream(),
                  segments,
                  newRanges,
                  false,
                  System.currentTimeMillis(),
                  requestId);
  
          return streamMetadataTasks.writeEvent(event);
      }
docs: Scale tasks exceptions are absorbed.
  
  @param request   incoming request from request stream.
  @param segments  segments to seal
  @param newRanges new ranges for segments to create
  @return CompletableFuture