Skip to content

Commit

Permalink
Store the SkyKey->SkyValue entry in FrontierSerializer.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 673709795
Change-Id: I75a2bbb2a2a617291ccf9fb35097e71f773c53c1
  • Loading branch information
jin authored and copybara-github committed Sep 12, 2024
1 parent 6e697a7 commit 1c4d145
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ public static Optional<FailureDetail> serializeAndUploadFrontier(
writeStatuses.add(writeStatusFuture);
}

// Associates the SkyKey to the SkyValue.
//
// TODO: b/364831651 - determine the version metadata that should also be part
// of this key.
writeStatuses.add(
fingerprintValueService.put(
keyBytes.getObject(), valueBytes.getObject().toByteArray()));
frontierValueCount.getAndIncrement();
eventBus.post(new SerializedNodeEvent(key));
} catch (SerializationException e) {
Expand Down

0 comments on commit 1c4d145

Please sign in to comment.