Commit Graph
518 Commits
Author SHA1 Message Date
houseme be8a615cd7 fix typo 2025-05-19 16:21:22 +08:00
houseme dff7476143 improve comment 2025-05-19 13:39:46 +08:00
houseme 6659b77f9a improve comment and error 2025-05-16 17:00:56 +08:00
weisdandhouseme 44958797e5 add legalhold api 2025-05-14 20:56:33 +08:00
housemeandGitHub dd7da015e3 Feature/rustfs config (#396)
* init rustfs config

* improve code for rustfs-config crate

* add

* improve code for comment

* fix: modify rustfs-config crate name

* add default fn

* improve error logger

* fix: modify docker config yaml

* improve code for config

* feat: restrict kafka feature to Linux only

- Add target-specific feature configuration in Cargo.toml for obs and event-notifier crates
- Implement conditional compilation for kafka feature only on Linux systems
- Add appropriate error handling for non-Linux platforms
- Ensure backward compatibility with existing code

* refactor(ci): optimize build workflow for better efficiency

- Integrate GUI build steps into main build-rustfs job
- Add conditional GUI build execution based on tag releases
- Simplify workflow by removing redundant build-rustfs-gui job
- Copy binary directly to embedded-rustfs directory without downloading artifacts
- Update merge job dependency to only rely on build-rustfs
- Improve cross-platform compatibility for Windows binary naming (.exe)
- Streamline artifact uploading and OSS publishing process
- Maintain consistent conditional logic for release operations

* refactor(ci): optimize build workflow for better efficiency

- Integrate GUI build steps into main build-rustfs job
- Add conditional GUI build execution based on tag releases
- Simplify workflow by removing redundant build-rustfs-gui job
- Copy binary directly to embedded-rustfs directory without downloading artifacts
- Update merge job dependency to only rely on build-rustfs
- Improve cross-platform compatibility for Windows binary naming (.exe)
- Streamline artifact uploading and OSS publishing process
- Maintain consistent conditional logic for release operations

* fix(ci): add repo-token to setup-protoc action for authentication

- Add GITHUB_TOKEN parameter to arduino/setup-protoc@v3 action
- Ensure proper authentication for Protoc installation in CI workflow
- Maintain consistent setup across different CI environments

* modify config

* improve readme.md

* remove env config relation

* add allow(dead_code)
2025-05-12 01:17:31 +08:00
weisd db100a6db9 rm log 2025-05-09 22:57:09 +08:00
loverustfsandGitHub fd85b55d37 Merge pull request #393 from rustfs/pref
improve multi put speed
2025-05-09 22:40:03 +08:00
junxiang Mu fd03ba54f3 improve multi put speed
Signed-off-by: junxiang Mu <[email protected]>
2025-05-09 17:13:25 +08:00
loverustfsandGitHub e6e0821512 Merge pull request #389 from rustfs/feat/zip
feat: auto-extract support
2025-05-09 16:19:21 +08:00
weisdandGitHub 57cbd35de1 Merge branch 'main' into feat/zip 2025-05-09 14:38:14 +08:00
weisdandGitHub d7cac5c727 Merge branch 'main' into dada/fix-entry 2025-05-09 14:33:30 +08:00
junxiang Mu 5cb040f863 fix zero size object bug
Signed-off-by: junxiang Mu <[email protected]>
2025-05-08 19:34:58 +08:00
junxiang Mu 7a94363b38 improve speed
Signed-off-by: junxiang Mu <[email protected]>
2025-05-08 18:37:36 +08:00
weisd 76fdefeca4 feat: auto-extract support 2025-05-08 17:42:20 +08:00
29ddf4dbc8 refactor: standardize constant management and fix typos (#387)
* init rustfs config

* init rustfs-utils crate

* improve code for rustfs-config crate

* add

* improve code for comment

* init rustfs config

* improve code for rustfs-config crate

* add

* improve code for comment

* Unified management of configurations and constants

* fix: modify rustfs-config crate name

* add default fn

* improve code for rustfs config

* refactor: standardize constant management and fix typos

- Create centralized constants module for global static constants
- Replace runtime format! expressions with compile-time constants
- Fix DEFAULT_PORT reference issues in configuration arguments
- Use const-str crate for compile-time string concatenation
- Update tokio dependency from 1.42.2 to 1.45.0
- Ensure consistent naming convention for configuration constants

* fix

* Update common/workers/src/workers.rs

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
2025-05-07 17:23:22 +08:00
junxiang Mu 7e1135df8f tmp3
Signed-off-by: junxiang Mu <[email protected]>
2025-04-29 10:53:03 +00:00
junxiang Mu 1dde7015de tmp2
Signed-off-by: junxiang Mu <[email protected]>
2025-04-29 03:41:45 +00:00
junxiang Mu e346d20228 tmp1
Signed-off-by: junxiang Mu <[email protected]>
2025-04-29 02:53:42 +00:00
junxiang Muandweisd cdcf5d0917 fix readme
Signed-off-by: junxiang Mu <[email protected]>
2025-04-29 09:10:03 +08:00
junxiang Mu 66f5bf1bbc tmp1
Signed-off-by: junxiang Mu <[email protected]>
2025-04-28 21:55:31 +08:00
junxiang Mu c1590a054c tmp
Signed-off-by: junxiang Mu <[email protected]>
2025-04-28 10:00:28 +00:00
weisd 738a81e50e test 2025-04-28 17:35:27 +08:00
weisd 26d69cdc7f test 2025-04-28 16:58:37 +08:00
junxiang Mu 569099af9e fix readme
Signed-off-by: junxiang Mu <[email protected]>
2025-04-28 06:25:32 +00:00
weisd 750194e4dc test 2025-04-28 13:17:06 +08:00
e9d6e2ca95 feat: improve address binding and port handling mechanism (#366)
* feat: improve address binding and port handling mechanism

1. Add support for ":port" format to enable dual-stack binding (IPv4/IPv6)
2. Implement automatic port allocation when port 0 is specified
3. Optimize server startup process with unified address resolution
4. Enhance error handling and logging for address resolution
5. Improve graceful shutdown with signal listening
6. Clean up commented code in console.rs

Files:
- ecstore/src/utils/net.rs
- rustfs/src/console.rs
- rustfs/src/main.rs

Branch: feature/server-and-console-port

* improve code for console

* improve code

* improve code for console and net.rs

* Update rustfs/src/main.rs

Co-authored-by: Copilot <[email protected]>

* Update rustfs/src/utils/mod.rs

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
2025-04-27 23:44:26 +08:00
weisd 87bec2e6a6 fix rebalance/decom 2025-04-26 22:55:37 +08:00
guojidanandGitHub ed4a9db9a0 Merge pull request #362 from rustfs/pref
fix
2025-04-25 17:02:03 +08:00
junxiang Mu 8e3c22b595 fix
Signed-off-by: junxiang Mu <[email protected]>
2025-04-25 08:59:39 +00:00
weisd 9fc4bb919e fix:#355 multi pools select error 2025-04-25 14:52:20 +08:00
guojidanandGitHub a095a607c0 Merge pull request #360 from rustfs/pref
fix
2025-04-24 16:42:32 +08:00
junxiang Mu 4613b36697 fix
Signed-off-by: junxiang Mu <[email protected]>
2025-04-24 08:41:40 +00:00
guojidanandGitHub 35dac63c36 Merge pull request #358 from rustfs/pref
Pref
2025-04-24 16:13:44 +08:00
junxiang Mu b2da8148bd support concurrency write
Signed-off-by: junxiang Mu <[email protected]>
2025-04-24 08:12:57 +00:00
weisd 56575d58f4 fix:#352, #353
fix: verify_file bug
2025-04-24 15:32:12 +08:00
weisd a745b91ded fix:#351 delete object err 2025-04-24 13:22:34 +08:00
junxiang Mu 08d0021cd6 support async calculate etag
Signed-off-by: junxiang Mu <[email protected]>
2025-04-24 03:04:05 +00:00
weisd 707c773dd9 rm unuse log 2025-04-24 09:22:31 +08:00
guojidanandGitHub e58eaacb20 Merge pull request #349 from rustfs/fix-data-scan
Fix data scan
2025-04-23 17:30:05 +08:00
junxiang Mu 380a451bc1 fix capacity
Signed-off-by: junxiang Mu <[email protected]>
2025-04-23 09:26:22 +00:00
weisd 827818b493 update info version output 2025-04-23 17:03:03 +08:00
weisd cffd4fc28d merge fix/pools 2025-04-23 16:48:57 +08:00
weisd cf2ed47fe8 fix: #331 admin info version,uptime 2025-04-23 16:34:39 +08:00
guojidanandGitHub ad7ff448d6 Merge pull request #348 from rustfs/fix-data-scan
fix
2025-04-23 16:28:12 +08:00
junxiang Mu 8981dfae9f fix
Signed-off-by: junxiang Mu <[email protected]>
2025-04-23 07:26:37 +00:00
weisdandweisd fff7e5f827 pool select idx
fixs:#346, #339, #338, #337, #336, #334

test healbucket

test get_available_pool_idx

fix
2025-04-23 15:11:43 +08:00
houseme e4453adf82 feat(event-notifier): improve environment variable handling
- Fix deserialization error when parsing config from environment variables
- Add proper array format support for adapters configuration
- Update environment variable examples with correct format
- Improve documentation for configuration loading
- Implement helper functions for environment variable validation

This change fixes the "invalid type: map, expected a sequence" error
by ensuring proper formatting of array-type fields in environment variables.
2025-04-22 20:31:38 +08:00
weisd 59c008b0ee fix pool select idx 2025-04-22 09:07:43 +08:00
weisd 8ea6f7e627 fix scstore::new bugs, stop ns_lock 2025-04-19 01:52:27 +08:00
weisd cf70e12e14 add tracing 2025-04-18 16:21:14 +08:00