summaryrefslogtreecommitdiff
path: root/internal/mapr
AgeCommit message (Collapse)Author
2025-06-19Add comprehensive documentation across DTail codebasePaul Buetow
Documented all major Go packages and command-line tools with comprehensive comments explaining functionality, architecture, and usage patterns. Major documentation additions: - All cmd/ binaries with detailed package descriptions and main function docs - Core internal packages: config, protocol, clients, server, mapr, discovery - File system operations, error handling, and version management - Complete API documentation for all public interfaces - Architecture insights and component relationships Benefits: - Improved developer onboarding and maintainability - Clear understanding of distributed architecture - Proper Go documentation format for godoc compatibility - Enhanced troubleshooting through error categorization - Comprehensive API reference for all client types 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19Refactor: Extract magic numbers as constants and reduce client code duplicationPaul Buetow
- Created internal/constants package with organized constant files: - timeouts.go: All time duration constants (timeouts, intervals, delays) - channels.go: Channel buffer size constants - limits.go: Numeric limits and configuration values - buffers.go: Buffer size constants in bytes - Replaced all magic numbers throughout codebase with named constants: - Time durations (2s, 3s, 5s, 10s, 100ms, 24h) now use descriptive constants - Buffer sizes (8KB, 64KB, 1MB) extracted to constants - Channel buffer sizes and multipliers - Configuration limits (max connections, concurrency, etc.) - Health check status codes - Percentage calculations - Reduced code duplication in client implementations: - Created CommonClient to share functionality between CatClient, GrepClient, and TailClient - All three clients now inherit from CommonClient - Eliminated duplicate makeHandler() and makeCommands() methods - Simplified client constructors This refactoring improves code maintainability by centralizing configuration values and reducing redundant code across similar client implementations.
2023-09-07refactor go build tagsPaul Buetow
2023-09-07add mapr aggregration on CSV integr testPaul Buetow
2023-09-07Can quote fields in select conditions, e.g. select `count($foo)`, ..Paul Buetow
2023-09-07add CSV to parserPaul Buetow
2023-09-07Add CSV unit testPaul Buetow
2023-09-07Add `custom1` and `custom2` log formats.Paul Buetow
2023-09-07Add mimecast parser stub. Open source version of DTail won't be with it.Paul Buetow
2023-09-07Refactor logformats so that they don't use reflection anymore.Paul Buetow
2023-09-07DTail: Restrict SSH MAC algorithms allowed - Update of few dependenciesPaul Buetow
2023-09-07Refactor - reduce code complexityPaul Buetow
2023-09-07document Outfile - tidy modsPaul Buetow
2022-03-14a 0666 to OpenFile will respect the user's default umaskPaul Buetow
2022-03-14add integration test for "outfile append.."Paul Buetow
2022-03-14"append" now actually will append to an outfile now. previously we only ↵Paul Buetow
added the syntax to the mapr query
2022-03-14Add "append" modifier for "outfile" keyword to the mapreduce languagePaul Buetow
2022-01-27Dont auto lowercase all mapreduce keysPaul Buetow
2021-12-23refactorPaul Buetow
2021-12-23refactor query parserPaul Buetow
2021-12-23Refactor code to reduce function sizePaul Buetow
2021-12-16documenting how to implement a custom log formatPaul Buetow
2021-12-14Refactor makeWhereConditionsPaul Buetow
2021-12-12add set condition integraion testPaul Buetow
2021-12-10remove trace loggingPaul Buetow
2021-12-10RefactorPaul Buetow
2021-12-10If rString is not a field name, use actual value for set condition.Paul Buetow
2021-12-10RefactorPaul Buetow
2021-12-10RefactorPaul Buetow
2021-12-09Documenting log formatsPaul Buetow
2021-12-09Refactor result methodPaul Buetow
2021-12-09Refactor WriteResult method.Paul Buetow
2021-12-08add missing dmap test filePaul Buetow
2021-12-08add where clause integration test to dmap1, all mapreduce token fields are ↵Paul Buetow
lower case
2021-12-08Reduce cognitive code complexityPaul Buetow
2021-12-05buffer line.Line for performancePaul Buetow
2021-10-29explicitly use dlog.Server for server packages and dlog.Clent for client ↵Paul Buetow
packages for logging
2021-10-24Fix DCat color test.Paul Buetow
2021-10-24Fix deadlock around aggregating data + server max concurrent file read limiterPaul Buetow
2021-10-10vetting and linting and some code restylingPaul Buetow
2021-10-10add dtail health check unit test.Paul Buetow
2021-10-09refactorPaul Buetow
2021-10-03when a mapreduce outfile is specified also always write a outfile.query filePaul Buetow
2021-10-02add more default fields to MAPREDUCEPaul Buetow
2021-10-02refactor config reader - also looks in additional search paths for config ↵Paul Buetow
file unless NONE is specified
2021-10-02move args to config packagePaul Buetow
logger package rewrite as dlog
2021-10-02bugfix: dmap skipped the last couple of mapreduce linesPaul Buetow
2021-10-02limit mapreduce table output to 10 rows by defaultPaul Buetow
2021-10-02mapreduce tables are in colors now tooPaul Buetow
2021-09-08Don't fail parsing whole line when one kv could not be parsedPaul Buetow