Compare commits

..
185 Commits
Author SHA1 Message Date
chrislusf 722284701c Publish seaweedfs-4.56.0.tgz 2026-11-30 06:54:05 +00:00
chrislusf 4de5cbfb8c Publish seaweedfs-4.56.0.tgz 2026-11-30 03:14:53 +00:00
chrislusf 2411e56e24 Publish seaweedfs-4.55.0.tgz 2026-11-23 08:15:32 +00:00
chrislusf 01bc01cf08 Publish seaweedfs-4.55.0.tgz 2026-11-23 03:44:36 +00:00
chrislusf 516eb743f8 Publish seaweedfs-4.54.0.tgz 2026-11-16 08:47:34 +00:00
chrislusf b6d9fc477e Publish seaweedfs-4.54.0.tgz 2026-11-16 05:48:55 +00:00
chrislusf 47131b1f67 Publish seaweedfs-4.53.0.tgz 2026-11-08 20:49:54 +00:00
chrislusf 887b40ff24 Publish seaweedfs-4.53.0.tgz 2026-11-08 18:50:35 +00:00
chrislusf 91bcb0b94f Publish seaweedfs-4.52.0.tgz 2026-11-02 16:43:57 +00:00
chrislusf 6577f03fa8 Publish seaweedfs-4.52.0.tgz 2026-11-02 11:32:56 +00:00
chrislusf 161c014fcc Publish seaweedfs-4.51.0.tgz 2026-10-26 05:12:41 +00:00
chrislusf 60736f045a Publish seaweedfs-4.51.0.tgz 2026-10-25 19:56:06 +00:00
chrislusf b7abe9b74b Publish seaweedfs-4.50.0.tgz 2026-10-25 04:46:43 +00:00
chrislusf a257229598 Publish seaweedfs-4.50.0.tgz 2026-10-25 03:11:22 +00:00
chrislusf 4d2c7aa248 Publish seaweedfs-4.49.0.tgz 2026-10-23 07:18:09 +00:00
chrislusf 1401db06bc Publish seaweedfs-4.48.0.tgz 2026-09-28 18:58:52 +00:00
chrislusf f6b2aa6754 Publish seaweedfs-4.48.0.tgz 2026-09-28 16:26:09 +00:00
chrislusf 3c04f10b0a Publish seaweedfs-4.47.0.tgz 2026-09-14 02:50:02 +00:00
chrislusf 4b572ed99f Publish seaweedfs-4.47.0.tgz 2026-09-14 01:43:28 +00:00
chrislusf 81518b41e4 Publish seaweedfs-4.46.0.tgz 2026-09-08 05:14:30 +00:00
chrislusf cb4a1719ec Publish seaweedfs-4.46.0.tgz 2026-09-08 03:59:16 +00:00
chrislusf ee2ce79ad8 Publish seaweedfs-4.45.0.tgz 2026-09-01 01:23:18 +00:00
chrislusf e723bd7c59 Publish seaweedfs-4.45.0.tgz 2026-08-31 23:47:14 +00:00
chrislusf 3a7fd39ae6 Publish seaweedfs-4.44.0.tgz 2026-08-22 09:12:06 +00:00
chrislusf 3352c4d3ac Publish seaweedfs-4.44.0.tgz 2026-08-22 08:01:12 +00:00
chrislusf 3e3dab5df4 Publish seaweedfs-4.43.0.tgz 2026-08-21 08:24:22 +00:00
chrislusf c32cf710e9 Publish seaweedfs-4.43.0.tgz 2026-08-21 07:34:41 +00:00
chrislusf 923f632056 Publish seaweedfs-4.42.0.tgz 2026-08-17 08:36:23 +00:00
chrislusf 605b7d752e Publish seaweedfs-4.42.0.tgz 2026-08-17 07:27:30 +00:00
chrislusf 54ec9ff19d Publish seaweedfs-4.41.0.tgz 2026-08-06 08:41:42 +00:00
chrislusf 2495666699 Publish seaweedfs-4.41.0.tgz 2026-08-06 08:20:03 +00:00
chrislusf 050c93b91e Publish seaweedfs-4.41.0.tgz 2026-08-06 07:53:02 +00:00
chrislusf 7abbf9f768 Publish seaweedfs-4.40.0.tgz 2026-07-20 04:39:29 +00:00
chrislusf ce37fcc0aa Publish seaweedfs-4.40.0.tgz 2026-07-20 04:02:53 +00:00
chrislusf c0b15fdd23 Publish seaweedfs-4.39.0.tgz 2026-07-10 05:08:46 +00:00
chrislusf 7cbcff60eb Publish seaweedfs-4.39.0.tgz 2026-07-10 04:30:32 +00:00
chrislusf e4dc974012 Publish seaweedfs-4.38.0.tgz 2026-07-06 07:53:51 +00:00
chrislusf 655c4bd69f Publish seaweedfs-4.38.0.tgz 2026-07-06 06:06:07 +00:00
chrislusf 45ba61b08f Publish seaweedfs-4.37.0.tgz 2026-06-29 07:21:43 +00:00
chrislusf 5a2a589d14 Publish seaweedfs-4.37.0.tgz 2026-06-29 06:48:36 +00:00
chrislusf 53fadd1945 Publish seaweedfs-4.36.0.tgz 2026-06-25 08:08:28 +00:00
chrislusf 958e77706e Publish seaweedfs-4.36.0.tgz 2026-06-25 05:49:37 +00:00
chrislusf d23e3accc1 Publish seaweedfs-4.36.0.tgz 2026-06-25 05:13:55 +00:00
chrislusf 71b7078959 Publish seaweedfs-4.35.0.tgz 2026-06-22 08:22:06 +00:00
chrislusf fcb06699dc Publish seaweedfs-4.35.0.tgz 2026-06-22 07:32:42 +00:00
chrislusf 8af9e48a96 Publish seaweedfs-4.34.0.tgz 2026-06-15 06:26:55 +00:00
chrislusf c02e5bfb86 Publish seaweedfs-4.34.0.tgz 2026-06-15 05:51:05 +00:00
chrislusf bc1d56daf1 Publish seaweedfs-4.33.0.tgz 2026-06-11 09:14:02 +00:00
chrislusf 03f5e4cde5 Publish seaweedfs-4.33.0.tgz 2026-06-11 08:00:12 +00:00
chrislusf 194517214e Publish seaweedfs-4.32.0.tgz 2026-06-08 08:38:25 +00:00
chrislusf 341eca8c85 Publish seaweedfs-4.32.0.tgz 2026-06-08 07:13:56 +00:00
chrislusf 3796df02d7 Publish seaweedfs-4.31.0.tgz 2026-06-02 07:18:21 +00:00
chrislusf 0d521ee831 Publish seaweedfs-4.31.0.tgz 2026-06-02 06:49:32 +00:00
chrislusf fe52d86bb1 Publish seaweedfs-4.30.0.tgz 2026-05-30 21:27:08 +00:00
chrislusf 8970ef5fbb Publish seaweedfs-4.30.0.tgz 2026-05-30 18:13:06 +00:00
chrislusf 85eac39c2f Publish seaweedfs-4.29.0.tgz 2026-05-26 09:07:44 +00:00
chrislusf 7663e69b68 Publish seaweedfs-4.29.0.tgz 2026-05-26 06:06:45 +00:00
chrislusf 9ab3b31450 Publish seaweedfs-4.28.0.tgz 2026-05-22 03:33:34 +00:00
chrislusf ed3fc49457 Publish seaweedfs-4.28.0.tgz 2026-05-22 00:31:46 +00:00
chrislusf c3e6018c66 Publish seaweedfs-4.27.0.tgz 2026-05-20 13:10:02 +00:00
chrislusf a686a04f6e Publish seaweedfs-4.27.0.tgz 2026-05-20 08:47:05 +00:00
chrislusf 4a7d899ee4 Publish seaweedfs-4.27.0.tgz 2026-05-20 07:33:38 +00:00
chrislusf 74e8e92453 Publish seaweedfs-4.26.0.tgz 2026-05-18 10:04:25 +00:00
chrislusf 737fcdbc24 Publish seaweedfs-4.26.0.tgz 2026-05-18 07:06:09 +00:00
chrislusf 2ee4c9d80f Publish seaweedfs-4.25.1.tgz 2026-05-15 18:33:44 +00:00
chrislusf cc84a5a832 Publish seaweedfs-4.25.0.tgz 2026-05-15 01:25:05 +00:00
chrislusf c8737e6b95 Publish seaweedfs-4.25.0.tgz 2026-05-14 19:32:55 +00:00
chrislusf 835fdd9e43 Publish seaweedfs-4.24.0.tgz 2026-05-14 07:00:46 +00:00
chrislusf 92f301afdd Publish seaweedfs-4.24.0.tgz 2026-05-14 04:00:17 +00:00
chrislusf 2fa3ce59dc Publish seaweedfs-4.24.0.tgz 2026-05-14 03:19:27 +00:00
chrislusf 3364e9b307 Publish seaweedfs-4.23.0.tgz 2026-05-14 02:50:09 +00:00
chrislusf e2fe61212b Publish seaweedfs-4.23.0.tgz 2026-05-04 09:35:26 +00:00
chrislusf bd85e28b6b Publish seaweedfs-4.23.0.tgz 2026-05-04 06:26:49 +00:00
chrislusf d52dafd689 Publish seaweedfs-4.22.0.tgz 2026-04-30 08:51:04 +00:00
chrislusf eb81daa268 Publish seaweedfs-4.22.0.tgz 2026-04-27 07:45:42 +00:00
chrislusf 705a0565dc Publish seaweedfs-4.22.0.tgz 2026-04-27 04:21:35 +00:00
chrislusf 83880de1b9 Publish seaweedfs-4.21.0.tgz 2026-04-20 00:53:29 +00:00
chrislusf b7f7cbf721 Publish seaweedfs-4.21.0.tgz 2026-04-19 21:51:58 +00:00
chrislusf fa1ac8614a Publish seaweedfs-4.20.0.tgz 2026-04-14 09:37:39 +00:00
chrislusf 529c8625ff Publish seaweedfs-4.20.0.tgz 2026-04-13 23:55:26 +00:00
chrislusf 8594f81f2a Publish seaweedfs-4.19.0.tgz 2026-04-08 06:46:39 +00:00
chrislusf b34fa3fe89 Publish seaweedfs-4.18.0.tgz 2026-04-03 04:29:05 +00:00
chrislusf 43f70f524b Publish seaweedfs-4.18.0.tgz 2026-04-02 10:37:51 +00:00
chrislusf e04eeefb24 Publish seaweedfs-4.17.0.tgz 2026-03-11 12:48:01 +00:00
chrislusf 1a127ad862 Publish seaweedfs-4.16.0.tgz 2026-03-10 11:10:54 +00:00
chrislusf 2e19937fae Publish seaweedfs-4.16.0.tgz 2026-03-10 09:28:59 +00:00
chrislusf f916509bfe Publish seaweedfs-4.15.0.tgz 2026-03-05 09:56:41 +00:00
chrislusf 2e55a949c1 Publish seaweedfs-4.0.413.tgz 2026-02-17 03:23:23 +00:00
chrislusf 4713f88980 Publish seaweedfs-4.0.412.tgz 2026-02-11 21:22:44 +00:00
chrislusf 6df9f3a839 Publish seaweedfs-4.0.410.tgz 2026-02-09 08:11:27 +00:00
chrislusf 5613eabca5 Publish seaweedfs-4.0.409.tgz 2026-02-04 04:33:40 +00:00
chrislusf eb94c35a24 Publish seaweedfs-4.0.408.tgz 2026-02-03 07:02:37 +00:00
chrislusf de10b772e8 Publish seaweedfs-4.0.407.tgz 2026-01-19 01:58:08 +00:00
chrislusf e953e4e37f Publish seaweedfs-4.0.406.tgz 2026-01-10 22:18:48 +00:00
chrislusf f172d8622c Publish seaweedfs-4.0.405.tgz 2026-01-02 06:53:53 +00:00
chrislusf c0ac927a11 Publish seaweedfs-4.0.404.tgz 2025-12-23 08:00:00 +00:00
chrislusf 81fc2cf0de Publish seaweedfs-4.0.403.tgz 2025-12-15 09:19:37 +00:00
chrislusf 1d6dfa3086 Publish seaweedfs-4.0.402.tgz 2025-12-08 09:54:59 +00:00
chrislusf 5d719267f7 Publish seaweedfs-4.0.401.tgz 2025-11-28 07:19:47 +00:00
chrislusf 9125bf4111 Publish seaweedfs-4.0.401.tgz 2025-11-28 06:54:29 +00:00
chrislusf 00a0133c60 Publish seaweedfs-4.0.401.tgz 2025-11-28 00:18:09 +00:00
chrislusf 6011f60f5e Publish seaweedfs-4.0.401.tgz 2025-11-28 00:04:40 +00:00
chrislusf 192b70dd43 Publish seaweedfs-4.0.401.tgz 2025-11-27 23:20:42 +00:00
chrislusf a71bd4342c Publish seaweedfs-4.0.401.tgz 2025-11-27 23:16:16 +00:00
chrislusf 1d681e3b64 Publish seaweedfs-4.0.401.tgz 2025-11-27 23:03:15 +00:00
chrislusf cff1185e1b Publish seaweedfs-4.0.401.tgz 2025-11-27 21:47:04 +00:00
chrislusf 380b49dfe9 Publish seaweedfs-4.0.401.tgz 2025-11-27 20:06:39 +00:00
chrislusf a6d16ed325 Publish seaweedfs-4.0.400.tgz 2025-11-03 21:47:49 +00:00
chrislusf 29a1d61b09 Publish seaweedfs-4.0.400.tgz 2025-11-03 17:40:04 +00:00
chrislusf 1493e3ed34 Publish seaweedfs-4.0.400.tgz 2025-11-03 06:15:03 +00:00
chrislusf f6cfa1a8dc Publish seaweedfs-4.0.399.tgz 2025-10-28 00:22:14 +00:00
chrislusf a33087092a Publish seaweedfs-4.0.399.tgz 2025-10-27 06:45:23 +00:00
chrislusf ac2de828a8 Publish seaweedfs-4.0.398.tgz 2025-10-21 18:48:17 +00:00
chrislusf db5704e1a0 Publish seaweedfs-4.0.398.tgz 2025-10-21 08:25:54 +00:00
chrislusf 29a18d943b Publish seaweedfs-4.0.398.tgz 2025-10-21 06:58:43 +00:00
chrislusf 39e3d43b5b Publish seaweedfs-4.0.393.tgz 2025-07-07 04:55:53 +00:00
chrislusf 3aa709531e Publish seaweedfs-4.0.393.tgz 2025-07-07 04:17:16 +00:00
chrislusf db1373de47 Publish seaweedfs-4.0.392.tgz 2025-06-23 04:21:07 +00:00
chrislusf 41ba18c4e8 Publish seaweedfs-4.0.391.tgz 2025-06-16 03:44:10 +00:00
chrislusf 9069dc18d5 Publish seaweedfs-4.0.390.tgz 2025-06-16 03:40:29 +00:00
chrislusf 888c073f87 Publish seaweedfs-4.0.390.tgz 2025-06-09 04:02:54 +00:00
chrislusf 7234eddf81 Publish seaweedfs-4.0.389.tgz 2025-06-03 07:07:52 +00:00
chrislusf 8da877dcee Publish seaweedfs-4.0.388.tgz 2025-05-26 20:09:35 +00:00
chrislusf 88157c9457 Publish seaweedfs-4.0.387.tgz 2025-05-05 04:14:58 +00:00
chrislusf e04bc83e6f Publish seaweedfs-4.0.386.tgz 2025-04-16 01:45:08 +00:00
chrislusf e2a289f550 Publish seaweedfs-4.0.385.tgz 2025-02-18 00:11:29 +00:00
chrislusf 70573a9d95 Publish seaweedfs-4.0.384.tgz 2025-02-04 17:18:59 +00:00
chrislusf b6efe3d6dd Publish seaweedfs-4.0.384.tgz 2025-02-04 17:05:32 +00:00
chrislusf e0ae5cc2a4 Publish seaweedfs-4.0.384.tgz 2025-02-03 17:27:57 +00:00
chrislusf c86d3bf765 Publish seaweedfs-4.0.383.tgz 2025-02-02 01:45:37 +00:00
chrislusf df02212793 Publish seaweedfs-4.0.382.tgz 2025-01-21 06:38:06 +00:00
chrislusf f8e7fbe442 Publish seaweedfs-4.0.381.tgz 2025-01-06 19:54:55 +00:00
chrislusf e722ede743 Publish seaweedfs-4.0.380.tgz 2024-11-18 17:56:18 +00:00
chrislusf f30b5d78f7 Publish seaweedfs-4.0.379.tgz 2024-10-29 02:45:54 +00:00
chrislusf 3dbb407280 Publish seaweedfs-4.0.378.tgz 2024-10-28 00:47:13 +00:00
chrislusf 5a21dae240 Publish seaweedfs-4.0.377.tgz 2024-10-10 08:32:57 +00:00
chrislusf f00425c221 Publish seaweedfs-4.0.376.tgz 2024-10-07 02:39:03 +00:00
chrislusf abdbc51565 Publish seaweedfs-4.0.375.tgz 2024-10-03 15:37:42 +00:00
chrislusf 9956151673 Publish seaweedfs-4.0.2.tgz 2024-09-30 18:30:00 +00:00
chrislusf 81cb98f733 Publish seaweedfs-4.0.0.tgz 2024-09-12 20:20:25 +00:00
chrislusf cb4ed1e9d0 Publish seaweedfs-4.0.0.tgz 2024-08-19 05:08:34 +00:00
chrislusf f92d211dd0 Publish seaweedfs-4.0.0.tgz 2024-07-22 04:04:27 +00:00
chrislusf a6e22f91c2 Publish seaweedfs-4.0.0.tgz 2024-07-22 03:43:21 +00:00
chrislusf 24c055c7f8 Publish seaweedfs-4.0.0.tgz 2024-07-01 06:26:47 +00:00
chrislusf f3a4bb6e1b Publish seaweedfs-3.68.0.tgz 2024-06-10 04:16:58 +00:00
chrislusf b210346227 Publish seaweedfs-3.67.0.tgz 2024-05-07 15:49:46 +00:00
chrislusf 683b708894 Publish seaweedfs-3.66.0.tgz 2024-05-06 05:48:15 +00:00
chrislusf 07b453fc70 Publish seaweedfs-3.65.1.tgz 2024-04-28 18:46:07 +00:00
chrislusf fe9fa4c3d0 Publish seaweedfs-3.65.0.tgz 2024-04-15 03:34:18 +00:00
chrislusf 970c83e68c Publish seaweedfs-3.64.0.tgz 2024-03-16 18:49:45 +00:00
chrislusf a5da6a6ba7 Publish seaweedfs-3.63.0.tgz 2024-02-26 06:26:45 +00:00
chrislusf 93507936de Publish seaweedfs-3.62.0.tgz 2024-01-29 15:11:56 +00:00
chrislusf 64a8d4e38f Publish seaweedfs-3.62.0.tgz 2024-01-24 17:25:39 +00:00
chrislusf d26a3163b6 Publish seaweedfs-3.62.0.tgz 2024-01-16 15:40:43 +00:00
chrislusf e6c79a952d Publish seaweedfs-3.62.0.tgz 2024-01-16 04:44:24 +00:00
chrislusf 4991a898b1 Publish seaweedfs-3.61.0.tgz 2024-01-08 08:05:15 +00:00
chrislusf dca23153f1 Publish seaweedfs-3.60.1.tgz 2024-01-02 03:11:54 +00:00
chrislusf c585f379d1 Publish seaweedfs-3.60.0.tgz 2023-12-28 15:47:03 +00:00
chrislusf 38dd7b791a Publish seaweedfs-3.60.0.tgz 2023-12-20 23:05:09 +00:00
chrislusf 4542e64d97 Publish seaweedfs-3.60.0.tgz 2023-12-14 16:25:52 +00:00
chrislusf 935473414b Publish seaweedfs-3.59.4.tgz 2023-12-06 06:39:21 +00:00
chrislusf 4ebaf3ae77 Publish seaweedfs-3.59.4.tgz 2023-11-26 17:26:57 +00:00
chrislusf 0e6d43dc14 Publish seaweedfs-3.59.3.tgz 2023-11-24 14:40:44 +00:00
chrislusf b563337ef5 Publish seaweedfs-3.59.2.tgz 2023-11-21 22:03:00 +00:00
chrislusf 27c755ec27 Publish seaweedfs-3.59.2.tgz 2023-11-21 16:21:16 +00:00
chrislusf 5afee6de32 Publish seaweedfs-3.59.1.tgz 2023-11-20 21:52:24 +00:00
chrislusf 8024982fe9 Publish seaweedfs-3.59.0.tgz 2023-11-13 06:17:04 +00:00
chrislusf 234d75843b Publish seaweedfs-3.58.0.tgz 2023-10-30 06:26:12 +00:00
chrislusf 6688978311 Publish seaweedfs-3.57.0.tgz 2023-09-25 04:36:33 +00:00
chrislusf 7ca3670cd9 Publish seaweedfs-3.56.tgz 2023-09-11 05:18:43 +00:00
chrislusf a3ed23376c Publish seaweedfs-3.55.tgz 2023-07-24 06:15:06 +00:00
chrislusf 5fc608d153 Publish seaweedfs-3.54.tgz 2023-07-17 05:58:33 +00:00
chrislusf 1a901bdb53 Publish seaweedfs-3.53.tgz 2023-06-26 06:02:57 +00:00
chrislusf 57ec6ee3c7 Publish seaweedfs-3.52.tgz 2023-06-05 05:37:56 +00:00
chrislusf b5ced52b13 Publish seaweedfs-3.51.tgz 2023-05-22 06:50:17 +00:00
chrislusf e7141e4128 Publish seaweedfs-3.49.tgz 2023-05-10 06:46:06 +00:00
chrislusf f30584d747 Publish seaweedfs-3.49.tgz 2023-05-10 05:58:56 +00:00
chrislusf 7035a62066 Publish seaweedfs-3.49.tgz 2023-05-07 21:03:07 +00:00
chrislusf 753f5e58f3 Publish seaweedfs-3.48.tgz 2023-05-01 05:25:58 +00:00
chrislusf 1d7cffe6dd Publish seaweedfs-3.47.tgz 2023-04-24 05:51:00 +00:00
chrislusf 2d08966a41 Publish seaweedfs-3.46.tgz 2023-04-17 05:01:50 +00:00
chrislusf 1186fd1bbd Publish seaweedfs-3.45.tgz 2023-04-03 05:56:34 +00:00
chrislusf 14b87c9d4a Publish seaweedfs-3.44.tgz 2023-03-20 03:39:57 +00:00
Matt 02e31e9319 add last two helm releases to gh-pages (#4238) 2023-02-21 13:30:32 -08:00
chrislu 46c71b281b Initializing gh-pages branch 2023-02-21 11:54:31 -08:00
370 changed files with 1003 additions and 30837 deletions

No files matched your search

-22
View File
@@ -1,22 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
---
Sponsors SeaweedFS via Patreon https://www.patreon.com/seaweedfs
**Describe the bug**
A clear and concise description of what the bug is.
**System Setup**
List the command line to start "weed master", "weed volume", "weed filer", "weed s3", "weed mount".
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional context**
Add any other context about the problem here.
-80
View File
@@ -1,80 +0,0 @@
.goxc*
vendor
tags
*.swp
### OSX template
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
*.iml
## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:
# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/dictionaries
# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# .idea/uiDesigner.xml
# Gradle:
# .idea/gradle.xml
# .idea/libraries
# Mongo Explorer plugin:
# .idea/mongoSettings.xml
## File-based project format:
*.ipr
*.iws
## Plugin-specific files:
# IntelliJ
/out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
test_data
build
*.class
-13
View File
@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>seaweedfs</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
<nature>goclipse.goNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>
</projectDescription>
-43
View File
@@ -1,43 +0,0 @@
sudo: false
language: go
go:
- 1.10.x
- tip
before_install:
- export PATH=/home/travis/gopath/bin:$PATH
install:
- go get ./weed/...
script:
- go test ./weed/...
before_deploy:
- make release
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: ERL986+ncQ8lwAJUYDrQ8s2/FxF/cyNIwJIFCqspnWxQgGNNyokET9HapmlPSxjpFRF0q6L2WCg9OY3mSVRq4oI6hg1igOQ12KlLyN71XSJ3c8w0Ay5ho48TQ9l3f3Iu97mntBCe9l0R9pnT8wj1VI8YJxloXwUMG2yeTjA9aBI=
file:
- build/linux_arm.tar.gz
- build/linux_arm64.tar.gz
- build/linux_386.tar.gz
- build/linux_amd64.tar.gz
- build/darwin_amd64.tar.gz
- build/windows_386.zip
- build/windows_amd64.zip
- build/freebsd_arm.tar.gz
- build/freebsd_amd64.tar.gz
- build/freebsd_386.tar.gz
- build/netbsd_arm.tar.gz
- build/netbsd_amd64.tar.gz
- build/netbsd_386.tar.gz
- build/openbsd_arm.tar.gz
- build/openbsd_amd64.tar.gz
- build/openbsd_386.tar.gz
on:
tags: true
repo: chrislusf/seaweedfs
go: tip
-6
View File
@@ -1,6 +0,0 @@
FROM cydev/go
RUN go get github.com/chrislusf/seaweedfs/weed
EXPOSE 8080
EXPOSE 9333
VOLUME /data
ENTRYPOINT ["weed"]
-201
View File
@@ -1,201 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2016 Chris Lu
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-113
View File
@@ -1,113 +0,0 @@
BINARY = weed/weed
package = github.com/chrislusf/seaweedfs/weed
GO_FLAGS = #-v
SOURCE_DIR = ./weed/
appname := weed
sources := $(wildcard *.go)
build = GOOS=$(1) GOARCH=$(2) go build -o build/$(appname)$(3) $(SOURCE_DIR)
tar = cd build && tar -cvzf $(1)_$(2).tar.gz $(appname)$(3) && rm $(appname)$(3)
zip = cd build && zip $(1)_$(2).zip $(appname)$(3) && rm $(appname)$(3)
all: build
.PHONY : clean deps build linux release windows_build darwin_build linux_build bsd_build clean
clean:
go clean -i $(GO_FLAGS) $(SOURCE_DIR)
rm -f $(BINARY)
rm -rf build/
deps:
go get $(GO_FLAGS) -d $(SOURCE_DIR)
build: deps
go build $(GO_FLAGS) -o $(BINARY) $(SOURCE_DIR)
linux: deps
mkdir -p linux
GOOS=linux GOARCH=amd64 go build $(GO_FLAGS) -o linux/$(BINARY) $(SOURCE_DIR)
release: deps windows_build darwin_build linux_build bsd_build
##### LINUX BUILDS #####
linux_build: build/linux_arm.tar.gz build/linux_arm64.tar.gz build/linux_386.tar.gz build/linux_amd64.tar.gz
build/linux_386.tar.gz: $(sources)
$(call build,linux,386,)
$(call tar,linux,386)
build/linux_amd64.tar.gz: $(sources)
$(call build,linux,amd64,)
$(call tar,linux,amd64)
build/linux_arm.tar.gz: $(sources)
$(call build,linux,arm,)
$(call tar,linux,arm)
build/linux_arm64.tar.gz: $(sources)
$(call build,linux,arm64,)
$(call tar,linux,arm64)
##### DARWIN (MAC) BUILDS #####
darwin_build: build/darwin_amd64.tar.gz
build/darwin_amd64.tar.gz: $(sources)
$(call build,darwin,amd64,)
$(call tar,darwin,amd64)
##### WINDOWS BUILDS #####
windows_build: build/windows_386.zip build/windows_amd64.zip
build/windows_386.zip: $(sources)
$(call build,windows,386,.exe)
$(call zip,windows,386,.exe)
build/windows_amd64.zip: $(sources)
$(call build,windows,amd64,.exe)
$(call zip,windows,amd64,.exe)
##### BSD BUILDS #####
bsd_build: build/freebsd_arm.tar.gz build/freebsd_386.tar.gz build/freebsd_amd64.tar.gz \
build/netbsd_arm.tar.gz build/netbsd_386.tar.gz build/netbsd_amd64.tar.gz \
build/openbsd_arm.tar.gz build/openbsd_386.tar.gz build/openbsd_amd64.tar.gz
build/freebsd_386.tar.gz: $(sources)
$(call build,freebsd,386,)
$(call tar,freebsd,386)
build/freebsd_amd64.tar.gz: $(sources)
$(call build,freebsd,amd64,)
$(call tar,freebsd,amd64)
build/freebsd_arm.tar.gz: $(sources)
$(call build,freebsd,arm,)
$(call tar,freebsd,arm)
build/netbsd_386.tar.gz: $(sources)
$(call build,netbsd,386,)
$(call tar,netbsd,386)
build/netbsd_amd64.tar.gz: $(sources)
$(call build,netbsd,amd64,)
$(call tar,netbsd,amd64)
build/netbsd_arm.tar.gz: $(sources)
$(call build,netbsd,arm,)
$(call tar,netbsd,arm)
build/openbsd_386.tar.gz: $(sources)
$(call build,openbsd,386,)
$(call tar,openbsd,386)
build/openbsd_amd64.tar.gz: $(sources)
$(call build,openbsd,amd64,)
$(call tar,openbsd,amd64)
build/openbsd_arm.tar.gz: $(sources)
$(call build,openbsd,arm,)
$(call tar,openbsd,arm)
-444
View File
@@ -1,444 +0,0 @@
# SeaweedFS
[![Build Status](https://travis-ci.org/chrislusf/seaweedfs.svg?branch=master)](https://travis-ci.org/chrislusf/seaweedfs)
[![GoDoc](https://godoc.org/github.com/chrislusf/seaweedfs/weed?status.svg)](https://godoc.org/github.com/chrislusf/seaweedfs/weed)
[![Wiki](https://img.shields.io/badge/docs-wiki-blue.svg)](https://github.com/chrislusf/seaweedfs/wiki)
![SeaweedFS Logo](https://raw.githubusercontent.com/chrislusf/seaweedfs/master/note/seaweedfs.png)
<h2 align="center">Supporting SeaweedFS</h2>
SeaweedFS is Apache-licensed open source project, independent project with its ongoing development made
possible entirely thanks to the support by these awesome [backers](https://github.com/chrislusf/seaweedfs/blob/master/backers.md).
If you'd like to grow SeaweedFS even stronger, please consider to
<a href="https://www.patreon.com/seaweedfs">Sponsor SeaweedFS via Patreon</a>.
Platinum ($2500/month), Gold ($500/month): put your company logo on the SeaweedFS github page
Generous Backer($50/month), Backer($10/month): put your name on the SeaweedFS backer page.
Your support will be really appreciated by me and other supporters!
<h3 align="center"><a href="https://www.patreon.com/seaweedfs">Sponsors SeaweedFS via Patreon</a></h3>
<h4 align="center">Platinum</h4>
<p align="center">
<a href="" target="_blank">
Add your name or icon here
</a>
</p>
<h4 align="center">Gold</h4>
<table>
<tbody>
<tr>
<td align="center" valign="middle">
<a href="" target="_blank">
Add your name or icon here
</a>
</td>
</tr>
<tr></tr>
</tbody>
</table>
---
- [Download Binaries for different platforms](https://github.com/chrislusf/seaweedfs/releases/latest)
- [SeaweedFS on Slack](https://join.slack.com/t/seaweedfs/shared_invite/enQtMzI4MTMwMjU2MzA3LTc4MmVlYmFlNjBmZTgzZmJlYmI1MDE1YzkyNWYyZjkwZDFiM2RlMDdjNjVlNjdjYzc4NGFhZGIyYzEyMzJkYTA)
- [SeaweedFS Mailing List](https://groups.google.com/d/forum/seaweedfs)
- [Wiki Documentation](https://github.com/chrislusf/seaweedfs/wiki)
## Introduction
SeaweedFS is a simple and highly scalable distributed file system. There are two objectives:
1. to store billions of files!
2. to serve the files fast!
SeaweedFS started as an Object Store to handle small files efficiently. Instead of managing all file metadata in a central master, the central master only manages file volumes, and it lets these volume servers manage files and their metadata. This relieves concurrency pressure from the central master and spreads file metadata into volume servers, allowing faster file access (just one disk read operation).
There is only a 40 bytes disk storage overhead for each file's metadata. It is so simple with O(1) disk read that you are welcome to challenge the performance with your actual use cases.
SeaweedFS started by implementing [Facebook's Haystack design paper](http://www.usenix.org/event/osdi10/tech/full_papers/Beaver.pdf).
SeaweedFS can work very well with just the object store. [[Filer]] is added later to support directories and POSIX attributes. Filer is a separate linearly-scalable stateless server with customizable metadata stores, e.g., MySql/Postgres/Redis/Cassandra/LevelDB.
## Additional Features
* Can choose no replication or different replication level, rack and data center aware
* Automatic master servers failover - no single point of failure (SPOF)
* Automatic Gzip compression depending on file mime type
* Automatic compaction to reclaimed disk spaces after deletion or update
* Servers in the same cluster can have different disk spaces, file systems, OS etc.
* Adding/Removing servers does **not** cause any data re-balancing
* Optional [filer server][Filer] provides "normal" directories and files via http
* Optional [mount filer][Mount] to read and write files directly as a local directory
* Optional [Amazon S3 compatible API][AmazonS3API] to access files with S3 tooling.
* Optionally fix the orientation for jpeg pictures
* Support Etag, Accept-Range, Last-Modified, etc.
* Support in-memory/leveldb/boltdb/btree mode tuning for memory/performance balance.
[Filer]: https://github.com/chrislusf/seaweedfs/wiki/Directories-and-Files
[Mount]: https://github.com/chrislusf/seaweedfs/wiki/Mount
[AmazonS3API]: https://github.com/chrislusf/seaweedfs/wiki/Amazon-S3-API
## Example Usage
By default, the master node runs on port 9333, and the volume nodes run on port 8080.
Here I will start one master node, and two volume nodes on port 8080 and 8081. Ideally, they should be started from different machines. I just use localhost as an example.
SeaweedFS uses HTTP REST operations to write, read, delete. The responses are in JSON or JSONP format.
### Start Master Server
```
> ./weed master
```
### Start Volume Servers ###
```
> weed volume -dir="/tmp/data1" -max=5 -mserver="localhost:9333" -port=8080 &
> weed volume -dir="/tmp/data2" -max=10 -mserver="localhost:9333" -port=8081 &
```
### Write File ###
To upload a file: first, send a HTTP POST, PUT, or GET request to `/dir/assign` to get an `fid` and a volume server url:
```
> curl http://localhost:9333/dir/assign
{"count":1,"fid":"3,01637037d6","url":"127.0.0.1:8080","publicUrl":"localhost:8080"}
```
Second, to store the file content, send a HTTP multi-part POST request to `url + '/' + fid` from the response:
```
> curl -F file=@/home/chris/myphoto.jpg http://127.0.0.1:8080/3,01637037d6
{"size": 43234}
```
To update, send another POST request with updated file content.
For deletion, send an HTTP DELETE request to the same `url + '/' + fid` URL:
```
> curl -X DELETE http://127.0.0.1:8080/3,01637037d6
```
### Save File Id ###
Now you can save the `fid`, 3,01637037d6 in this case, to a database field.
The number 3 at the start represents a volume id. After the comma, it's one file key, 01, and a file cookie, 637037d6.
The volume id is an unsigned 32-bit integer. The file key is an unsigned 64-bit integer. The file cookie is an unsigned 32-bit integer, used to prevent URL guessing.
The file key and file cookie are both coded in hex. You can store the <volume id, file key, file cookie> tuple in your own format, or simply store the `fid` as string.
If stored as a string, in theory, you would need 8+1+16+8=33 bytes. A char(33) would be enough, if not more than enough, since most usage would not need 2^32 volumes.
If space is really a concern, you can store the file id in your own format. You would need one 4-byte integer for volume id, 8-byte long number for file key, 4-byte integer for file cookie. So 16 bytes are more than enough.
### Read File ###
Here is an example of how to render the URL.
First look up the volume server's URLs by the file's volumeId:
```
> curl http://localhost:9333/dir/lookup?volumeId=3
{"locations":[{"publicUrl":"localhost:8080","url":"localhost:8080"}]}
```
Since (usually) there are not too many volume servers, and volumes don't move often, you can cache the results most of the time. Depending on the replication type, one volume can have multiple replica locations. Just randomly pick one location to read.
Now you can take the public url, render the url or directly read from the volume server via url:
```
http://localhost:8080/3,01637037d6.jpg
```
Notice we add a file extension ".jpg" here. It's optional and just one way for the client to specify the file content type.
If you want a nicer URL, you can use one of these alternative URL formats:
```
http://localhost:8080/3/01637037d6/my_preferred_name.jpg
http://localhost:8080/3/01637037d6.jpg
http://localhost:8080/3,01637037d6.jpg
http://localhost:8080/3/01637037d6
http://localhost:8080/3,01637037d6
```
If you want to get a scaled version of an image, you can add some params:
```
http://localhost:8080/3/01637037d6.jpg?height=200&width=200
http://localhost:8080/3/01637037d6.jpg?height=200&width=200&mode=fit
http://localhost:8080/3/01637037d6.jpg?height=200&width=200&mode=fill
```
### Rack-Aware and Data Center-Aware Replication ###
SeaweedFS applies the replication strategy at a volume level. So, when you are getting a file id, you can specify the replication strategy. For example:
```
curl http://localhost:9333/dir/assign?replication=001
```
The replication parameter options are:
```
000: no replication
001: replicate once on the same rack
010: replicate once on a different rack, but same data center
100: replicate once on a different data center
200: replicate twice on two different data center
110: replicate once on a different rack, and once on a different data center
```
More details about replication can be found [on the wiki][Replication].
[Replication]: https://github.com/chrislusf/seaweedfs/wiki/Replication
You can also set the default replication strategy when starting the master server.
### Allocate File Key on specific data center ###
Volume servers can start with a specific data center name:
```
weed volume -dir=/tmp/1 -port=8080 -dataCenter=dc1
weed volume -dir=/tmp/2 -port=8081 -dataCenter=dc2
```
When requesting a file key, an optional "dataCenter" parameter can limit the assigned volume to the specific data center. For example, this specifies that the assigned volume should be limited to 'dc1':
```
http://localhost:9333/dir/assign?dataCenter=dc1
```
### Other Features ###
* [No Single Point of Failure][feat-1]
* [Insert with your own keys][feat-2]
* [Chunking large files][feat-3]
* [Collection as a Simple Name Space][feat-4]
[feat-1]: https://github.com/chrislusf/seaweedfs/wiki/Failover-Master-Server
[feat-2]: https://github.com/chrislusf/seaweedfs/wiki/Optimization#insert-with-your-own-keys
[feat-3]: https://github.com/chrislusf/seaweedfs/wiki/Optimization#upload-large-files
[feat-4]: https://github.com/chrislusf/seaweedfs/wiki/Optimization#collection-as-a-simple-name-space
## Architecture ##
Usually distributed file systems split each file into chunks, a central master keeps a mapping of filenames, chunk indices to chunk handles, and also which chunks each chunk server has.
The main drawback is that the central master can't handle many small files efficiently, and since all read requests need to go through the chunk master, might not scale well for many concurrent users.
Instead of managing chunks, SeaweedFS manages data volumes in the master server. Each data volume is size 32GB, and can hold a lot of files. And each storage node can have many data volumes. So the master node only needs to store the metadata about the volumes, which is fairly small amount of data and is generally stable.
The actual file metadata is stored in each volume on volume servers. Since each volume server only manages metadata of files on its own disk, with only 16 bytes for each file, all file access can read file metadata just from memory and only needs one disk operation to actually read file data.
For comparison, consider that an xfs inode structure in Linux is 536 bytes.
### Master Server and Volume Server ###
The architecture is fairly simple. The actual data is stored in volumes on storage nodes. One volume server can have multiple volumes, and can both support read and write access with basic authentication.
All volumes are managed by a master server. The master server contains volume id to volume server mapping. This is fairly static information, and could be cached easily.
On each write request, the master server also generates a file key, which is a growing 64-bit unsigned integer. Since write requests are not generally as frequent as read requests, one master server should be able to handle the concurrency well.
### Write and Read files ###
When a client sends a write request, the master server returns (volume id, file key, file cookie, volume node url) for the file. The client then contacts the volume node and POSTs the file content.
When a client needs to read a file based on (volume id, file key, file cookie), it can ask the master server by the volume id for the (volume node url, volume node public url), or retrieve this from a cache. Then the client can GET the content, or just render the URL on web pages and let browsers fetch the content.
Please see the example for details on the write-read process.
### Storage Size ###
In the current implementation, each volume can be 8x2^32 bytes (32GiB). This is because of we align content to 8 bytes. We can easily increase this to 64G, or 128G, or more, by changing 2 lines of code, at the cost of some wasted padding space due to alignment.
There can be 2^32 volumes. So total system size is 8 x 2^32 bytes x 2^32 = 8 x 4GiB x 4Gi = 128EiB (2^67 bytes, or 128 exbibytes).
Each individual file size is limited to the volume size.
### Saving memory ###
All file meta information on volume server is readable from memory without disk access. Each file just takes an 16-byte map entry of <64bit key, 32bit offset, 32bit size>. Of course, each map entry has its own the space cost for the map. But usually the disk runs out before the memory does.
## Compared to Other File Systems ##
Most other distributed file systems seem more complicated than necessary.
### Compared to Ceph ###
Ceph can be setup similar to SeaweedFS as a key->blob store. It is much more complicated, with the need to support layers on top of it. [Here is a more detailed comparison](https://github.com/chrislusf/seaweedfs/issues/120)
SeaweedFS is meant to be fast and simple, both during usage and during setup. If you do not understand how it works when you reach here, we failed! Please raise an issue with any questions or update this file with clarifications.
SeaweedFS has a centralized master to look up free volumes, while Ceph uses hashing to locate its objects. Having a centralized master makes it easy to code and manage. HDFS/GFS has the single name node for years. SeaweedFS now support multiple master nodes.
Ceph hashing avoids SPOF, but makes it complicated when moving or adding servers.
### Compared to HDFS ###
HDFS uses the chunk approach for each file, and is ideal for storing large files.
SeaweedFS is ideal for serving relatively smaller files quickly and concurrently.
SeaweedFS can also store extra large files by splitting them into manageable data chunks, and store the file ids of the data chunks into a meta chunk. This is managed by "weed upload/download" tool, and the weed master or volume servers are agnostic about it.
### Compared to GlusterFS, Ceph ###
The architectures are mostly the same. SeaweedFS aims to store and read files fast, with a simple and flat architecture. The main differences are
* SeaweedFS optimizes for small files, ensuring O(1) disk seek operation, and can also handle large files.
* SeaweedFS statically assign a volume id for a file. Locating file content becomes just a lookup of the volume id, which can be easily cached.
* SeaweedFS Filer metadata store can be any well-known and proven data stores, e.g., Cassandra, Redis, MySql, PostGres, etc, and is easy to customized.
* SeaweedFS Volume server also communicate directly with clients via HTTP, supporting range queries, direct uploads, etc.
| System | File Meta | File Content Read| POSIX | REST API | Optimized for small files |
| ------------- | ------------------------------- | ---------------- | ------ | -------- | ------------------------- |
| SeaweedFS | lookup volume id, cacheable | O(1) disk seek | | Yes | Yes |
| SeaweedFS Filer| Linearly Scalable, Customizable | O(1) disk seek | FUSE | Yes | Yes |
| GlusterFS | hashing | | FUSE, NFS | | |
| Ceph | hashing + rules | | FUSE | Yes | |
### Compared to GlusterFS ###
GlusterFS stores files, both directories and content, in configurable volumes called "bricks".
GlusterFS hashes the path and filename into ids, and assigned to virtual volumes, and then mapped to "bricks".
### Compared to Ceph ###
Same as SeaweedFS, Ceph is also based on a object store RADOS. Ceph is rather complicated with mixed reviews.
Ceph uses CRUSH hashing to automatically manage the data placement. SeaweedFS places data by assigned volumes.
| SeaweedFS | comparable to Ceph | advantage |
| ------------- | ------------- | ---------------- |
| Master | MDS | simpler |
| Volume | OSD | optimized for small files |
| Filer | Ceph FS | linearly scalable, Customizable, O(1) or O(logN) |
## Dev plan ##
More tools and documentation, on how to maintain and scale the system. For example, how to move volumes, automatically balancing data, how to grow volumes, how to check system status, etc.
Other key features include: Erasure Encoding, support S3 API, JWT security.
This is a super exciting project! And I need helpers and [support](https://www.patreon.com/seaweedfs)!
## Installation guide for users who are not familiar with golang
step 1: install go on your machine and setup the environment by following the instructions from the following link:
https://golang.org/doc/install
make sure you set up your $GOPATH
step 2: also you may need to install Mercurial by following the instructions below
http://mercurial.selenic.com/downloads
step 3: download, compile, and install the project by executing the following command
go get github.com/chrislusf/seaweedfs/weed
once this is done, you should see the executable "weed" under $GOPATH/bin
step 4: after you modify your code locally, you could start a local build by calling "go install" under $GOPATH/src/github.com/chrislusf/seaweedfs/weed
## Disk Related topics ##
### Hard Drive Performance ###
When testing read performance on SeaweedFS, it basically becomes performance test for your hard drive's random read speed. Hard Drive usually get 100MB/s~200MB/s.
### Solid State Disk
To modify or delete small files, SSD must delete a whole block at a time, and move content in existing blocks to a new block. SSD is fast when brand new, but will get fragmented over time and you have to garbage collect, compacting blocks. SeaweedFS is friendly to SSD since it is append-only. Deletion and compaction are done on volume level in the background, not slowing reading and not causing fragmentation.
## Benchmark
My Own Unscientific Single Machine Results on Mac Book with Solid State Disk, CPU: 1 Intel Core i7 2.6GHz.
Write 1 million 1KB file:
```
Concurrency Level: 16
Time taken for tests: 88.796 seconds
Complete requests: 1048576
Failed requests: 0
Total transferred: 1106764659 bytes
Requests per second: 11808.87 [#/sec]
Transfer rate: 12172.05 [Kbytes/sec]
Connection Times (ms)
min avg max std
Total: 0.2 1.3 44.8 0.9
Percentage of the requests served within a certain time (ms)
50% 1.1 ms
66% 1.3 ms
75% 1.5 ms
80% 1.7 ms
90% 2.1 ms
95% 2.6 ms
98% 3.7 ms
99% 4.6 ms
100% 44.8 ms
```
Randomly read 1 million files:
```
Concurrency Level: 16
Time taken for tests: 34.263 seconds
Complete requests: 1048576
Failed requests: 0
Total transferred: 1106762945 bytes
Requests per second: 30603.34 [#/sec]
Transfer rate: 31544.49 [Kbytes/sec]
Connection Times (ms)
min avg max std
Total: 0.0 0.5 20.7 0.7
Percentage of the requests served within a certain time (ms)
50% 0.4 ms
75% 0.5 ms
95% 0.6 ms
98% 0.8 ms
99% 1.2 ms
100% 20.7 ms
```
## License
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
## Stargazers over time
[![Stargazers over time](https://starcharts.herokuapp.com/chrislusf/seaweedfs.svg)](https://starcharts.herokuapp.com/chrislusf/seaweedfs)
-12
View File
@@ -1,12 +0,0 @@
<h1 align="center">Sponsors &amp; Backers</h1>
- [Become a backer or sponsor on Patreon](https://www.patreon.com/seaweedfs).
<h2 align="center">Generous Backers ($50+)</h2>
- [Evercam Camera Management Software](https://evercam.io/)
<h2 align="center">Backers</h2>
- [ColorfulClouds Tech Co. Ltd.](https://caiyunai.com/)
- [Haravan - Ecommerce Platform](https://www.haravan.com)
-20
View File
@@ -1,20 +0,0 @@
FROM frolvlad/alpine-glibc:alpine-3.5
# Tried to use curl only (curl -o /tmp/linux_amd64.tar.gz ...), however it turned out that the following tar command failed with "gzip: stdin: not in gzip format"
RUN apk add --no-cache --virtual build-dependencies --update wget curl ca-certificates && \
wget -P /tmp https://github.com/$(curl -s -L https://github.com/chrislusf/seaweedfs/releases/latest | egrep -o 'chrislusf/seaweedfs/releases/download/.*/linux_amd64.tar.gz') && \
tar -C /usr/bin/ -xzvf /tmp/linux_amd64.tar.gz && \
apk del build-dependencies && \
rm -rf /tmp/*
EXPOSE 8080
EXPOSE 8888
EXPOSE 9333
VOLUME /data
COPY filer.toml /etc/seaweedfs/filer.toml
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
-38
View File
@@ -1,38 +0,0 @@
version: '2'
services:
master:
#image: chrislusf/seaweedfs # use a remote image
build: . # build our container from the local Dockerfile
ports:
- 9333:9333
command: "master"
networks:
default:
aliases:
- seaweed_master
volume:
#image: chrislusf/seaweedfs # use a remote image
build: . # build our container from the local Dockerfile
ports:
- 8080:8080
command: 'volume -max=5 -mserver="master:9333" -port=8080'
depends_on:
- master
networks:
default:
aliases:
- seaweed_volume
filer:
#image: chrislusf/seaweedfs # use a remote image
build: . # build our container from the local Dockerfile
ports:
- 8888:8888
command: 'filer -master="master:9333"'
depends_on:
- master
- volume
networks:
default:
aliases:
- seaweed_filer
-42
View File
@@ -1,42 +0,0 @@
#!/bin/sh
case "$1" in
'master')
ARGS="-ip `hostname -i` -mdir /data"
# Is this instance linked with an other master? (Docker commandline "--link master1:master")
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
ARGS="$ARGS -peers=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"
fi
exec /usr/bin/weed $@ $ARGS
;;
'volume')
ARGS="-ip `hostname -i` -dir /data"
# Is this instance linked with a master? (Docker commandline "--link master1:master")
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
ARGS="$ARGS -mserver=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"
fi
exec /usr/bin/weed $@ $ARGS
;;
'server')
ARGS="-ip `hostname -i` -dir /data"
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
ARGS="$ARGS -master.peers=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"
fi
exec /usr/bin/weed $@ $ARGS
;;
'filer')
ARGS="-ip `hostname -i`"
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
ARGS="$ARGS -master=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"
fi
exec /usr/bin/weed $@ $ARGS
;;
*)
exec /usr/bin/weed $@
;;
esac
-3
View File
@@ -1,3 +0,0 @@
[leveldb]
enabled = true
dir = "."
+1003
View File
File diff suppressed because it is too large. Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loaded 100 of 370 files, more files were not shown because too many files have changed in this diff. Show more