From 027aff96a3661299335c2228b8f240fbf43ed400 Mon Sep 17 00:00:00 2001 From: Brian Kroth Date: Wed, 13 Dec 2023 21:09:13 +0000 Subject: [PATCH] FIXME --- .../oltpbenchmark/benchmarks/wikipedia/WikipediaLoader.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/oltpbenchmark/benchmarks/wikipedia/WikipediaLoader.java b/src/main/java/com/oltpbenchmark/benchmarks/wikipedia/WikipediaLoader.java index 51ce4431d..0b71a0e89 100644 --- a/src/main/java/com/oltpbenchmark/benchmarks/wikipedia/WikipediaLoader.java +++ b/src/main/java/com/oltpbenchmark/benchmarks/wikipedia/WikipediaLoader.java @@ -500,6 +500,9 @@ private void loadRevision(Connection conn) throws SQLException { int old_text_length = h_textLength.nextValue(); char[] old_text = TextGenerator.randomChars(rng(), old_text_length); + // FIXME: Need to break up the num_revised into multiple batches to avoid + // packet size limits in loader. + // See Also: #405 for (int i = 0; i < num_revised; i++) { // Generate the User who's doing the revision and the Page revised // Makes sure that we always update their counter