-
Notifications
You must be signed in to change notification settings - Fork 0
BUGFIX_SUMMARY
Datum: 11. Dezember 2025
Status: ✅ ERFOLGREICH ABGESCHLOSSEN
Der HTTP-Endpoint /entities/batch für Batch-Operationen auf Entitäten wurde nicht erkannt und gab immer 404 Not Found zurück.
Im classifyRoute()-Function in src/server/http_server.cpp war die exakte Route /entities/batch nach dem Präfix-Matcher für /entities/... definiert. Dies führte dazu, dass /entities/batch vom Präfix-Matcher abgefangen wurde, bevor die exakte Überprüfung stattfand.
-
Code-Änderung in
src/server/http_server.cpp(Zeile 1009)- Verlagert die exakte Überprüfung für
/entities/batchVOR den Präfix-Matcher für/entities/:key - Zielroutine
handleEntitiesBatch()war bereits implementiert
- Verlagert die exakte Überprüfung für
-
MSVC-Ambiguitätsfehler behoben
- In
include/utils/tracing.h: Cast zuint64_tfürspan.setAttribute()hinzugefügt - Behebt Mehrdeutigkeit bei overloaded
setAttribute()Funktionen
- In
// Exact matches for /entities endpoints BEFORE parametrized routes
if (target == "/entities" && method == http::verb::post) return Route::EntitiesPost;
if (target == "/entities/batch" && method == http::verb::post) return Route::EntitiesBatchPost;
// Parametrized entity by key (e.g., /entities/users:123)
if (target.rfind("/entities/", 0) == 0) {
if (method == http::verb::get) return Route::EntitiesGet;
if (method == http::verb::put) return Route::EntitiesPut;
if (method == http::verb::delete_) return Route::EntitiesDelete;
return Route::NotFound;
}✅ Lokale Tests (Windows MSVC)
- Build erfolgreich:
themis_server.exein Release-Modus - Endpoint-Test: 3/3 Batch-Operationen erfolgreich
- Response: HTTP 200 OK
✅ Docker Single-Arch Test
- Build erfolgreich mit neuem Code
- Container auf Port 8080→8765 gemappt
- Health Check: ✅ healthy
✅ Docker Multi-Arch Build (amd64, arm64)
- Build läuft für beide Architekturen
- Tags:
themisdb/themisdb:latest,themisdb/themisdb:v1.0.1-fix - Push zu Docker Registry
{
"operations": [
{
"op": "put",
"key": "table:id",
"blob": "{\"field\": \"value\", ...}"
},
{
"op": "delete",
"key": "table:id2"
}
]
}Response (200 OK):
{
"success": true,
"total": 2,
"succeeded": 1,
"failed": 1,
"errors": [...]
}- Commit: 47c8cec (main branch)
- Message: "Fix critical routing bug: /entities/batch returned 404"
-
Files:
src/server/http_server.cppinclude/utils/tracing.h
- ✅ Multi-Arch Docker Build abwarten (amd64 + arm64)
- Automatisiertes Testing durchführen
- Docker-Images pushen zu Registry
- Release-Notes aktualisieren
Status der Multi-Arch Build: In Progress (ca. 3-4 Stunden Gesamtdauer für vcpkg + Kompilation beider Architekturen)
ThemisDB v1.3.4 | GitHub | Documentation | Discussions | License
Last synced: January 02, 2026 | Commit: 6add659
Version: 1.3.0 | Stand: Dezember 2025
- Übersicht
- Home
- Dokumentations-Index
- Quick Reference
- Sachstandsbericht 2025
- Features
- Roadmap
- Ecosystem Overview
- Strategische Übersicht
- Geo/Relational Storage
- RocksDB Storage
- MVCC Design
- Transaktionen
- Time-Series
- Memory Tuning
- Chain of Thought Storage
- Query Engine & AQL
- AQL Syntax
- Explain & Profile
- Rekursive Pfadabfragen
- Temporale Graphen
- Zeitbereichs-Abfragen
- Semantischer Cache
- Hybrid Queries (Phase 1.5)
- AQL Hybrid Queries
- Hybrid Queries README
- Hybrid Query Benchmarks
- Subquery Quick Reference
- Subquery Implementation
- Content Pipeline
- Architektur-Details
- Ingestion
- JSON Ingestion Spec
- Enterprise Ingestion Interface
- Geo-Processor Design
- Image-Processor Design
- Hybrid Search Design
- Fulltext API
- Hybrid Fusion API
- Stemming
- Performance Tuning
- Migration Guide
- Future Work
- Pagination Benchmarks
- Enterprise README
- Scalability Features
- HTTP Client Pool
- Build Guide
- Implementation Status
- Final Report
- Integration Analysis
- Enterprise Strategy
- Verschlüsselungsstrategie
- Verschlüsselungsdeployment
- Spaltenverschlüsselung
- Encryption Next Steps
- Multi-Party Encryption
- Key Rotation Strategy
- Security Encryption Gap Analysis
- Audit Logging
- Audit & Retention
- Compliance Audit
- Compliance
- Extended Compliance Features
- Governance-Strategie
- Compliance-Integration
- Governance Usage
- Security/Compliance Review
- Threat Model
- Security Hardening Guide
- Security Audit Checklist
- Security Audit Report
- Security Implementation
- Development README
- Code Quality Pipeline
- Developers Guide
- Cost Models
- Todo Liste
- Tool Todo
- Core Feature Todo
- Priorities
- Implementation Status
- Roadmap
- Future Work
- Next Steps Analysis
- AQL LET Implementation
- Development Audit
- Sprint Summary (2025-11-17)
- WAL Archiving
- Search Gap Analysis
- Source Documentation Plan
- Changefeed README
- Changefeed CMake Patch
- Changefeed OpenAPI
- Changefeed OpenAPI Auth
- Changefeed SSE Examples
- Changefeed Test Harness
- Changefeed Tests
- Dokumentations-Inventar
- Documentation Summary
- Documentation TODO
- Documentation Gap Analysis
- Documentation Consolidation
- Documentation Final Status
- Documentation Phase 3
- Documentation Cleanup Validation
- API
- Authentication
- Cache
- CDC
- Content
- Geo
- Governance
- Index
- LLM
- Query
- Security
- Server
- Storage
- Time Series
- Transaction
- Utils
Vollständige Dokumentation: https://makr-code.github.io/ThemisDB/