This is an automated email from the ASF dual-hosted git repository.
gkoszyk pushed a commit to branch partition_remaster
in repository https://gitbox.apache.org/repos/asf/iggy.git
The following commit(s) were added to refs/heads/partition_remaster by this
push:
new 04aab07bb fix licence
04aab07bb is described below
commit 04aab07bba2be7a25139cdec432bbd54152afa20
Author: numinex <[email protected]>
AuthorDate: Thu Mar 26 13:40:07 2026 +0100
fix licence
---
core/partitions/src/iggy_index.rs | 17 +++++++++++++++++
core/partitions/src/iggy_index_writer.rs | 17 +++++++++++++++++
core/partitions/src/segment.rs | 17 +++++++++++++++++
3 files changed, 51 insertions(+)
diff --git a/core/partitions/src/iggy_index.rs
b/core/partitions/src/iggy_index.rs
index e792aa617..d3cd90aa2 100644
--- a/core/partitions/src/iggy_index.rs
+++ b/core/partitions/src/iggy_index.rs
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
pub const IGGY_INDEX_SIZE: usize = std::mem::size_of::<u64>() * 3;
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
diff --git a/core/partitions/src/iggy_index_writer.rs
b/core/partitions/src/iggy_index_writer.rs
index f14f50bf4..13cba4718 100644
--- a/core/partitions/src/iggy_index_writer.rs
+++ b/core/partitions/src/iggy_index_writer.rs
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
use compio::fs::{File, OpenOptions};
use compio::io::AsyncWriteAtExt;
use iggy_common::IggyError;
diff --git a/core/partitions/src/segment.rs b/core/partitions/src/segment.rs
index 6bff38b35..873f8621f 100644
--- a/core/partitions/src/segment.rs
+++ b/core/partitions/src/segment.rs
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
use iggy_common::{IggyByteSize, IggyExpiry, IggyTimestamp};
use std::fmt::Display;