Ninja: fast path now updates after 60s rather than 5s. Added toString to ReconfigureAccordFastPath so the TCM logs/table gives the debug info needed

This commit is contained in:
David Capwell 2024-10-10 22:51:31 -07:00
parent 1734011032
commit 0769af2c2e
2 changed files with 12 additions and 1 deletions

View File

@ -65,7 +65,7 @@ public class AccordSpec
public DurationSpec.IntMillisecondsBound range_barrier_timeout = new DurationSpec.IntMillisecondsBound("2m");
public volatile DurationSpec.IntSecondsBound fast_path_update_delay = new DurationSpec.IntSecondsBound(5);
public volatile DurationSpec.IntSecondsBound fast_path_update_delay = new DurationSpec.IntSecondsBound("60s");
public volatile DurationSpec.IntSecondsBound gc_delay = new DurationSpec.IntSecondsBound(300);
public volatile DurationSpec.IntSecondsBound schedule_durability_frequency = new DurationSpec.IntSecondsBound(120);

View File

@ -66,6 +66,17 @@ public class ReconfigureAccordFastPath implements Transformation
}
}
@Override
public String toString()
{
return "ReconfigureAccordFastPath{" +
"node=" + node +
", status=" + status +
", updateTimeMillis=" + updateTimeMillis +
", updateDelayMillis=" + updateDelayMillis +
'}';
}
public static final AsymmetricMetadataSerializer<Transformation, ReconfigureAccordFastPath> serializer = new AsymmetricMetadataSerializer<Transformation, ReconfigureAccordFastPath>()
{
public void serialize(Transformation t, DataOutputPlus out, Version version) throws IOException