Skip to content

History / Especificacao Tecnica

Revisions

  • feat: add verify_integrity option for pre-rotate archive validation Adds a new StorageInfo field 'verify_integrity' (default: false) that validates the integrity of compressed tar archives (.tar.gz / .tar.zst) after commit and before rotation. This prevents deletion of old backups when the newly committed backup is corrupted (fail-safe). The verification reads and decompresses the entire tarball, equivalent to: tar -I zstd -tf archive.tar.zst > /dev/null Changes: - New: internal/server/integrity.go — VerifyArchiveIntegrity() - New: internal/server/integrity_test.go — 9 test cases (valid, corrupt, truncated, empty, unsupported extension, non-existent) - Modified: internal/config/server.go — VerifyIntegrity field in StorageInfo - Modified: internal/server/handler_single.go — integrate between Commit/Rotate - Modified: internal/server/handler_parallel.go — integrate between Commit/Rotate - Modified: configs/server.example.yaml — document new option - Modified: docs/specification.md, docs/usage.md, wiki/Especificacao-Tecnica.md

    Lucas Nishimura committed Mar 3, 2026
  • docs(wiki): add Object Storage page and update references New wiki/Object-Storage.md with comprehensive documentation. Update _Sidebar, Home, Especificacao-Tecnica, and Arquitetura with links and references to the new Object Storage feature.

    Lucas Nishimura committed Mar 2, 2026
  • docs(wiki): atualiza wiki para v3.1.0 - Espelha ParallelJoin com JoinReason Flags na Especificacao-Tecnica - Espelha Final ChunkSACK Drain e SACK Timeout na Especificacao-Tecnica e Arquitetura - Adiciona seção Final Drain no FAQ com exemplo de logs - Adiciona seção Ferramentas de Diagnostico no Guia-de-Uso - Adiciona scripts/ na estrutura do projeto (Arquitetura)

    Lucas Nishimura committed Mar 2, 2026
  • docs(spec): update protocol to v5 with SlotID and new control frames - ChunkHeader: StreamIndex+ChunkSeq → GlobalSeq+Length+SlotID - Protocol version: 0x03 → 0x05 - Add ControlSlotPark (CSLP) and ControlSlotResume (CSLR) frames - Add port_rotation configuration section - Remove WebUI/Zstd from 'out of scope' (already implemented)

    Lucas Nishimura committed Mar 1, 2026
  • Normalize wiki filenames and fix references

    @nishisan nishisan committed Feb 27, 2026