Skip to content

Commit 0fd11f2

Browse files
committed
change hash seed to 0
1 parent 3bd9e63 commit 0fd11f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/logsdb/src/main/java/org/elasticsearch/xpack/logsdb/patternedtext/PatternedTextValueProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ record Parts(String template, List<String> args) {
2525
String templateId() {
2626
byte[] bytes = template.getBytes(StandardCharsets.UTF_8);
2727
MurmurHash3.Hash128 hash = new MurmurHash3.Hash128();
28-
MurmurHash3.hash128(bytes, 0, bytes.length, 2395629059195601932L, hash);
28+
MurmurHash3.hash128(bytes, 0, bytes.length, 0, hash);
2929
byte[] hashBytes = new byte[8];
3030
ByteUtils.writeLongLE(hash.h1, hashBytes, 0);
3131
return Strings.BASE_64_NO_PADDING_URL_ENCODER.encodeToString(hashBytes);

0 commit comments

Comments
 (0)