Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server-side (de)compressor filters [CORE6431] #6668

Open
firebird-automations opened this issue Oct 27, 2020 · 3 comments
Open

Server-side (de)compressor filters [CORE6431] #6668

firebird-automations opened this issue Oct 27, 2020 · 3 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Basil A. Sidorov (basid)

Votes: 1

Add ability automatic (de)compressor filter for backup (gbak) and dump (nbackup) on engine level via firebird.conf settings.
Motivation - universal (de)compression for services "by suffix".

New directives in firebird.conf:
FilterCompressor: type - string, value - suffix and compressor command line (.zst,"zstd -1q" and so on). Multiple directives allowed. Default value - None (no filter).
FilterDecompressor: type - sting, value - suffix and decompressor command line (.zst,"zstd -qd" and soon). Mulitple directives allowed. Default value - None (no filter).

Compressor filters not used for special name stdout and apply only for file with "known" suffix.
If input stream (from stdin or from file) not accepted "by suffix" (filter command return non-zero error code) and not accepted "without filter", engine may try all known decompressors (in some order).
If filter applied, engine must add message about filter into log.

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Looks like it's time to think about compression plugins, usable where needed (wire compression, backup compression, etc.)

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

Fix Version: 4.1 Initial [ 10961 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants