From 9a30b9f884886341a5163b93f8adc12b5d6e9dd4 Mon Sep 17 00:00:00 2001 From: leonrayang Date: Mon, 22 Aug 2022 12:45:41 +0800 Subject: [PATCH] update: update to CubeFS Signed-off-by: leonrayang --- NOTICE | 8 ++--- authnode/api_service.go | 2 +- authnode/authnode_manager.go | 2 +- authnode/cluster.go | 2 +- authnode/config.go | 2 +- authnode/const.go | 2 +- authnode/http_server.go | 2 +- authnode/keystore_fsm.go | 2 +- authnode/keystore_fsm_op.go | 2 +- authnode/keystore_snapshot.go | 2 +- authnode/server.go | 2 +- blockcache/bcache/bcache_client.go | 2 +- blockcache/bcache/bcache_disk_store.go | 2 +- blockcache/bcache/bcache_store_service.go | 2 +- blockcache/bcache/stat_linux.go | 2 +- blockcache/bcache/stat_windows.go | 2 +- blockcache/cmd.go | 6 ++-- cli/api/metaapi.go | 2 +- cli/cli.go | 2 +- cli/cmd/cluster.go | 8 ++--- cli/cmd/compatibility.go | 2 +- cli/cmd/config.go | 2 +- cli/cmd/const.go | 2 +- cli/cmd/datanode.go | 2 +- cli/cmd/datapartition.go | 2 +- cli/cmd/fmt.go | 2 +- cli/cmd/gen_config.go | 2 +- cli/cmd/metanode.go | 2 +- cli/cmd/metapartition.go | 2 +- cli/cmd/root.go | 10 +++--- cli/cmd/user.go | 6 ++-- cli/cmd/valid.go | 2 +- cli/cmd/vol.go | 2 +- cli/cmd/zone.go | 2 +- client/fs/const.go | 2 +- client/fs/dcache.go | 2 +- client/fs/dio_darwin.go | 2 +- client/fs/dio_linux.go | 2 +- client/fs/dio_windows.go | 2 +- client/fs/dir.go | 2 +- client/fs/file.go | 2 +- client/fs/icache.go | 2 +- client/fs/inode.go | 2 +- client/fs/orphan.go | 2 +- client/fs/super.go | 2 +- client/fuse.go | 6 ++-- cmd/cfg/console.json | 2 +- cmd/cmd.go | 6 ++-- console/cutil/handler.go | 2 +- datanode/const.go | 2 +- datanode/data_partition_repair.go | 2 +- datanode/disk.go | 2 +- datanode/metric.go | 2 +- datanode/partition.go | 2 +- datanode/partition_op_by_raft.go | 2 +- datanode/partition_raft.go | 2 +- datanode/partition_raftfsm.go | 2 +- datanode/server.go | 2 +- datanode/server_handler.go | 2 +- datanode/space_manager.go | 2 +- datanode/stat.go | 2 +- datanode/wrap_operator.go | 2 +- datanode/wrap_post.go | 2 +- datanode/wrap_prepare.go | 2 +- .../tiglabs/raft/storage/wal/log_file_test.go | 2 +- docker/build_docker_cfs.sh | 6 ++-- docker/monitor/grafana/init.sh | 2 +- .../provisioning/dashboards/dashboard.yml | 2 +- docker/run_docker.sh | 8 ++--- docker/s3tests/base.py | 2 +- docker/s3tests/env.py | 2 +- docker/s3tests/test_acl.py | 2 +- docker/s3tests/test_bucket.py | 2 +- docker/s3tests/test_bucket_policy.py | 2 +- docker/s3tests/test_cors.py | 2 +- docker/s3tests/test_list_uploads.py | 2 +- docker/s3tests/test_object_get_range.py | 2 +- docker/s3tests/test_object_head.py | 2 +- docker/s3tests/test_object_list.py | 2 +- docker/s3tests/test_object_list_page.py | 2 +- docker/s3tests/test_object_put.py | 2 +- docker/s3tests/test_tagging.py | 2 +- docker/s3tests/test_transfer.py | 2 +- docker/script/start_client.sh | 2 +- docs/source/admin-api/cli/cli.rst | 2 +- docs/source/admin-api/master/user.rst | 4 +-- docs/source/admin-api/master/volume.rst | 2 +- docs/source/conf.py | 10 +++--- docs/source/contributing.rst | 2 +- docs/source/design/authnode.rst | 10 +++--- docs/source/design/client.rst | 4 +-- docs/source/design/datanode.rst | 6 ++-- docs/source/design/master.rst | 2 +- docs/source/design/objectnode.rst | 16 ++++----- docs/source/env.rst | 2 +- docs/source/evaluation.rst | 4 +-- docs/source/faq.rst | 34 +++++++++---------- docs/source/index.rst | 2 +- docs/source/overview.rst | 10 +++--- docs/source/use-case.rst | 18 +++++----- docs/source/user-guide/console.rst | 6 ++-- docs/source/user-guide/master.rst | 2 +- docs/source/user-guide/monitor.rst | 4 +-- docs/source/user-guide/objectnode.rst | 20 +++++------ fdstore/fdstore.go | 6 ++-- fsck/cmd/check.go | 2 +- fsck/cmd/clean.go | 2 +- fsck/cmd/common.go | 2 +- fsck/cmd/root.go | 4 +-- fsck/main.go | 2 +- master/admin_task_manager.go | 2 +- master/api_service.go | 2 +- master/api_service_test.go | 2 +- master/cluster.go | 2 +- master/cluster_stat.go | 2 +- master/cluster_task.go | 2 +- master/config.go | 2 +- master/const.go | 2 +- master/data_node.go | 2 +- master/data_partition.go | 2 +- master/data_partition_check.go | 2 +- master/data_partition_map.go | 2 +- master/data_replica.go | 2 +- master/disk_manager.go | 2 +- master/filecheck.go | 2 +- master/filecrc.go | 2 +- master/filemeta.go | 2 +- master/http_server.go | 2 +- master/id_allocator.go | 2 +- master/master_manager.go | 2 +- master/meta_node.go | 2 +- master/meta_partition.go | 2 +- master/meta_partition_manager.go | 2 +- master/metadata_fsm.go | 2 +- master/metadata_fsm_op.go | 2 +- master/metadata_snapshot.go | 2 +- master/mocktest/data_server.go | 2 +- master/mocktest/meta_server.go | 2 +- master/monitor_metrics.go | 2 +- master/node_selector.go | 2 +- master/operate_util.go | 2 +- master/server.go | 2 +- master/topology.go | 2 +- master/user.go | 4 +-- master/userdata_fsm_op.go | 2 +- master/vol.go | 2 +- metanode/api_handler.go | 2 +- metanode/btree.go | 2 +- metanode/const.go | 2 +- metanode/datapartition.go | 2 +- metanode/dentry.go | 2 +- metanode/extend.go | 2 +- metanode/extend_test.go | 2 +- metanode/free_list.go | 2 +- metanode/inode.go | 2 +- metanode/manager.go | 2 +- metanode/manager_op.go | 2 +- metanode/manager_proxy.go | 2 +- metanode/manager_resp.go | 2 +- metanode/metanode.go | 2 +- metanode/metrics.go | 2 +- metanode/multipart.go | 2 +- metanode/multipart_test.go | 2 +- metanode/packet.go | 2 +- metanode/partition.go | 2 +- metanode/partition_delete_extents.go | 2 +- metanode/partition_free_list.go | 2 +- metanode/partition_fsm.go | 2 +- metanode/partition_fsmop.go | 2 +- metanode/partition_fsmop_dentry.go | 2 +- metanode/partition_fsmop_extend.go | 2 +- metanode/partition_fsmop_inode.go | 2 +- metanode/partition_fsmop_multipart.go | 2 +- metanode/partition_item.go | 2 +- metanode/partition_op_dentry.go | 2 +- metanode/partition_op_extend.go | 2 +- metanode/partition_op_extent.go | 2 +- metanode/partition_op_inode.go | 2 +- metanode/partition_op_multipart.go | 2 +- metanode/partition_store.go | 2 +- metanode/partition_store_ticket.go | 2 +- metanode/raft_server.go | 2 +- metanode/server.go | 2 +- metanode/time.go | 2 +- objectnode/acl.go | 2 +- objectnode/acl_handler.go | 2 +- objectnode/acl_test.go | 2 +- objectnode/api_context.go | 2 +- objectnode/api_handler.go | 2 +- objectnode/api_handler_bucket.go | 2 +- objectnode/api_handler_multipart.go | 2 +- objectnode/api_handler_object.go | 2 +- objectnode/api_middleware.go | 2 +- objectnode/auth.go | 2 +- objectnode/auth_signature_v2.go | 2 +- objectnode/auth_signature_v4.go | 2 +- objectnode/chunk.go | 2 +- objectnode/const.go | 4 +-- objectnode/etag_test.go | 2 +- objectnode/fs.go | 2 +- objectnode/fs_manager.go | 2 +- objectnode/fs_store.go | 2 +- objectnode/fs_store_object.go | 2 +- objectnode/fs_store_user.go | 2 +- objectnode/fs_store_xattr.go | 2 +- objectnode/fs_volume.go | 2 +- objectnode/fs_volume_meta.go | 2 +- objectnode/fs_volume_test.go | 2 +- objectnode/policy.go | 2 +- objectnode/policy_condition.go | 2 +- objectnode/policy_handler.go | 2 +- objectnode/policy_handler_test.go | 2 +- objectnode/policy_statement.go | 2 +- objectnode/policy_test.go | 2 +- objectnode/result.go | 2 +- objectnode/result_error.go | 2 +- objectnode/result_test.go | 2 +- objectnode/router.go | 8 ++--- objectnode/server.go | 2 +- objectnode/signer.go | 2 +- objectnode/util.go | 2 +- objectnode/wildcard.go | 2 +- objectnode/wildcard_test.go | 2 +- preload/preload_test.go | 2 +- preload/sdk/preloadsdk.go | 2 +- preload/sdk/preloadsdk_test.go | 2 +- proto/admin_proto.go | 2 +- proto/admin_task.go | 2 +- proto/auth_proto.go | 2 +- proto/errors.go | 2 +- proto/extent_key.go | 2 +- proto/fs_proto.go | 2 +- proto/meta_proto.go | 2 +- proto/model.go | 2 +- proto/obj_extent_key.go | 2 +- proto/packet.go | 2 +- proto/perm_action.go | 2 +- proto/status.go | 2 +- proto/user_proto.go | 2 +- proto/version.go | 2 +- raftstore/config.go | 2 +- raftstore/partition.go | 2 +- raftstore/raftstore.go | 2 +- raftstore/resolver.go | 2 +- raftstore/store_rocksdb.go | 2 +- repl/const.go | 2 +- repl/packet.go | 2 +- repl/repl_protocol.go | 2 +- sdk/auth/client.go | 2 +- sdk/data/blobstore/blobstore_client.go | 2 +- sdk/data/blobstore/blobstore_client_test.go | 2 +- sdk/data/blobstore/reader.go | 2 +- sdk/data/blobstore/reader_test.go | 2 +- sdk/data/blobstore/task_pool.go | 2 +- sdk/data/blobstore/task_pool_test.go | 2 +- sdk/data/blobstore/writer.go | 2 +- sdk/data/blobstore/writer_test.go | 2 +- sdk/data/stream/extent_cache.go | 2 +- sdk/data/stream/extent_client.go | 2 +- sdk/data/stream/extent_dirtylist.go | 2 +- sdk/data/stream/extent_handler.go | 2 +- sdk/data/stream/extent_reader.go | 2 +- sdk/data/stream/packet.go | 2 +- sdk/data/stream/stream_conn.go | 2 +- sdk/data/stream/stream_reader.go | 2 +- sdk/data/stream/stream_writer.go | 2 +- sdk/data/wrapper/data_partition.go | 2 +- sdk/data/wrapper/data_partition_selector.go | 2 +- sdk/data/wrapper/data_partition_test.go | 2 +- sdk/data/wrapper/default_random_selector.go | 2 +- sdk/data/wrapper/k_faster_random_selector.go | 2 +- sdk/data/wrapper/wrapper.go | 2 +- sdk/master/api_admin.go | 2 +- sdk/master/api_client.go | 2 +- sdk/master/api_node.go | 2 +- sdk/master/client.go | 2 +- sdk/master/request.go | 2 +- sdk/meta/api.go | 2 +- sdk/meta/conn.go | 2 +- sdk/meta/meta.go | 2 +- sdk/meta/operation.go | 2 +- sdk/meta/partition.go | 2 +- sdk/meta/view.go | 2 +- storage/error.go | 2 +- storage/extent.go | 2 +- storage/extent_cache.go | 2 +- storage/extent_store.go | 2 +- storage/fallocate_darwin.go | 2 +- storage/fallocate_linux.go | 2 +- storage/fallocate_windows.go | 2 +- storage/persistence_crc.go | 2 +- util/config/config.go | 2 +- util/conn_pool.go | 2 +- util/cryptoutil/const.go | 2 +- util/cryptoutil/cryptoutil.go | 2 +- util/cryptoutil/ticket.go | 2 +- util/errors/errors.go | 2 +- util/exporter/alarm.go | 2 +- util/exporter/consul_register.go | 2 +- util/exporter/counter.go | 2 +- util/exporter/exporter.go | 2 +- util/exporter/exporter_test.go | 2 +- util/exporter/gauge.go | 2 +- util/exporter/timepoint.go | 2 +- util/exporter/util.go | 2 +- util/iputil/addrselect.go | 2 +- util/iputil/ip.go | 2 +- util/log/log.go | 2 +- util/log/log_get.go | 2 +- util/log/log_test.go | 2 +- util/log/rotate.go | 2 +- util/master_helper.go | 2 +- util/mem.go | 2 +- util/multipart.go | 2 +- util/smux_conn_pool.go | 2 +- util/stat/statistic.go | 2 +- util/stat/statistic_test.go | 2 +- util/string.go | 2 +- util/synclist/synclist.go | 2 +- util/synclist/synclist_test.go | 2 +- util/sys/dup_darwin.go | 2 +- util/sys/dup_linux.go | 2 +- util/sys/dup_windows.go | 2 +- util/ump/ump.go | 2 +- util/ump/ump_async_log.go | 2 +- util/unit.go | 2 +- 326 files changed, 417 insertions(+), 417 deletions(-) diff --git a/NOTICE b/NOTICE index ee8e21436..a124b0fc5 100644 --- a/NOTICE +++ b/NOTICE @@ -1,10 +1,10 @@ -ChubaoFS -Copyright 2017-present The Chubao Authors. +CubeFS +Copyright 2017-present The CubeFS Authors. This product includes software devoloped at The Apache Software Foundation (http://www.apache.org/). -ChubaoFS reused the code from the MinIO project to implement the +CubeFS reused the code from the MinIO project to implement the signature algorithm V2, signature algorithm V4 and policy-related logic for S3-compatible object storage interfaces. @@ -16,4 +16,4 @@ This product includes software developed at MinIO, Inc. The MinIO project contains unmodified/modified subcomponents too with separate copyright notices and license terms. Your use of the source code for these subcomponents is subject to the terms and conditions -of Apache License Version 2.0 \ No newline at end of file +of Apache License Version 2.0 diff --git a/authnode/api_service.go b/authnode/api_service.go index 40e73b489..1f41c3013 100644 --- a/authnode/api_service.go +++ b/authnode/api_service.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/authnode/authnode_manager.go b/authnode/authnode_manager.go index 2dc08682d..abba16691 100644 --- a/authnode/authnode_manager.go +++ b/authnode/authnode_manager.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/authnode/cluster.go b/authnode/cluster.go index e736c8ccc..c03c8d70d 100644 --- a/authnode/cluster.go +++ b/authnode/cluster.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/authnode/config.go b/authnode/config.go index 13e6b5fd2..de6536e55 100644 --- a/authnode/config.go +++ b/authnode/config.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/authnode/const.go b/authnode/const.go index 1085bdc10..af03b93de 100644 --- a/authnode/const.go +++ b/authnode/const.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/authnode/http_server.go b/authnode/http_server.go index 6d0a7d7c0..57d177704 100644 --- a/authnode/http_server.go +++ b/authnode/http_server.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/authnode/keystore_fsm.go b/authnode/keystore_fsm.go index 3221b8811..4db956601 100644 --- a/authnode/keystore_fsm.go +++ b/authnode/keystore_fsm.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/authnode/keystore_fsm_op.go b/authnode/keystore_fsm_op.go index a631e838a..a20cc284d 100644 --- a/authnode/keystore_fsm_op.go +++ b/authnode/keystore_fsm_op.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/authnode/keystore_snapshot.go b/authnode/keystore_snapshot.go index fe365028f..f2651379f 100644 --- a/authnode/keystore_snapshot.go +++ b/authnode/keystore_snapshot.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/authnode/server.go b/authnode/server.go index 2166263c7..91aea5e5c 100644 --- a/authnode/server.go +++ b/authnode/server.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/blockcache/bcache/bcache_client.go b/blockcache/bcache/bcache_client.go index 4330dd456..6c61241db 100644 --- a/blockcache/bcache/bcache_client.go +++ b/blockcache/bcache/bcache_client.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/blockcache/bcache/bcache_disk_store.go b/blockcache/bcache/bcache_disk_store.go index 7d03e8e89..1a1d8d875 100644 --- a/blockcache/bcache/bcache_disk_store.go +++ b/blockcache/bcache/bcache_disk_store.go @@ -1,5 +1,5 @@ // Copyright (C) 2020 Juicefs -// Modified work Copyright 2022 The ChubaoFS Authors. +// Modified work Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/blockcache/bcache/bcache_store_service.go b/blockcache/bcache/bcache_store_service.go index a2c12e282..42cd0049d 100644 --- a/blockcache/bcache/bcache_store_service.go +++ b/blockcache/bcache/bcache_store_service.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/blockcache/bcache/stat_linux.go b/blockcache/bcache/stat_linux.go index 818d1f7fa..1b0322a03 100644 --- a/blockcache/bcache/stat_linux.go +++ b/blockcache/bcache/stat_linux.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/blockcache/bcache/stat_windows.go b/blockcache/bcache/stat_windows.go index 8e75eabd1..2c9773a53 100644 --- a/blockcache/bcache/stat_windows.go +++ b/blockcache/bcache/stat_windows.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/blockcache/cmd.go b/blockcache/cmd.go index fade81211..e11a52d5b 100644 --- a/blockcache/cmd.go +++ b/blockcache/cmd.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Chubao Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -222,7 +222,7 @@ func main() { os.Exit(1) } - syslog.Printf("Hello, ChubaoFS Storage\n%s\n", Version) + syslog.Printf("Hello, CubeFS Storage\n%s\n", Version) err = modifyOpenFiles() if err != nil { @@ -260,7 +260,7 @@ func main() { err = server.Start(cfg) if err != nil { log.LogFlush() - err = errors.NewErrorf("Fatal: failed to start the ChubaoFS %s daemon err %v - ", role, err) + err = errors.NewErrorf("Fatal: failed to start the CubeFS %s daemon err %v - ", role, err) syslog.Println(err) daemonize.SignalOutcome(err) os.Exit(1) diff --git a/cli/api/metaapi.go b/cli/api/metaapi.go index 2b460a63f..24864c5ef 100644 --- a/cli/api/metaapi.go +++ b/cli/api/metaapi.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cli/cli.go b/cli/cli.go index 65b72f78e..e65f87fde 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cli/cmd/cluster.go b/cli/cmd/cluster.go index 39a43d5bb..9bcd0c785 100644 --- a/cli/cmd/cluster.go +++ b/cli/cmd/cluster.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ const ( cmdClusterShort = "Manage cluster components" ) -func (cmd *ChubaoFSCmd) newClusterCmd(client *master.MasterClient) *cobra.Command { +func (cmd *CubeFSCmd) newClusterCmd(client *master.MasterClient) *cobra.Command { var clusterCmd = &cobra.Command{ Use: cmdClusterUse, Short: cmdClusterShort, @@ -123,11 +123,11 @@ func newClusterFreezeCmd(client *master.MasterClient) *cobra.Command { Short: cmdClusterFreezeShort, Args: cobra.MinimumNArgs(1), Long: `Turn on or off the automatic allocation of the data partitions. -If 'freeze=false', ChubaoFS WILL automatically allocate new data partitions for the volume when: +If 'freeze=false', CubeFS WILL automatically allocate new data partitions for the volume when: 1. the used space is below the max capacity, 2. and the number of r&w data partition is less than 20. -If 'freeze=true', ChubaoFS WILL NOT automatically allocate new data partitions `, +If 'freeze=true', CubeFS WILL NOT automatically allocate new data partitions `, Run: func(cmd *cobra.Command, args []string) { var ( err error diff --git a/cli/cmd/compatibility.go b/cli/cmd/compatibility.go index 896f47381..8de2849b4 100644 --- a/cli/cmd/compatibility.go +++ b/cli/cmd/compatibility.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cli/cmd/config.go b/cli/cmd/config.go index fde390d74..f04514aed 100644 --- a/cli/cmd/config.go +++ b/cli/cmd/config.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cli/cmd/const.go b/cli/cmd/const.go index 09184b5cc..e64097848 100644 --- a/cli/cmd/const.go +++ b/cli/cmd/const.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cli/cmd/datanode.go b/cli/cmd/datanode.go index 4826ca40a..1add85a2e 100644 --- a/cli/cmd/datanode.go +++ b/cli/cmd/datanode.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cli/cmd/datapartition.go b/cli/cmd/datapartition.go index 66706891b..094bb5af2 100644 --- a/cli/cmd/datapartition.go +++ b/cli/cmd/datapartition.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cli/cmd/fmt.go b/cli/cmd/fmt.go index bc6147fdb..8e1b5ddc2 100644 --- a/cli/cmd/fmt.go +++ b/cli/cmd/fmt.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cli/cmd/gen_config.go b/cli/cmd/gen_config.go index 9ce301577..b4b785f76 100644 --- a/cli/cmd/gen_config.go +++ b/cli/cmd/gen_config.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Chubao Authors. +// Copyright 2021 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cli/cmd/metanode.go b/cli/cmd/metanode.go index 090c67272..aee0ca91d 100644 --- a/cli/cmd/metanode.go +++ b/cli/cmd/metanode.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cli/cmd/metapartition.go b/cli/cmd/metapartition.go index e5af9109b..c06a99070 100644 --- a/cli/cmd/metapartition.go +++ b/cli/cmd/metapartition.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cli/cmd/root.go b/cli/cmd/root.go index 0ac46f985..a3964597e 100644 --- a/cli/cmd/root.go +++ b/cli/cmd/root.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,16 +26,16 @@ import ( ) const ( - cmdRootShort = "ChubaoFS Command Line Interface (CLI)" + cmdRootShort = "CubeFS Command Line Interface (CLI)" ) -type ChubaoFSCmd struct { +type CubeFSCmd struct { CFSCmd *cobra.Command } -func NewRootCmd(client *master.MasterClient) *ChubaoFSCmd { +func NewRootCmd(client *master.MasterClient) *CubeFSCmd { var optShowVersion bool - var cmd = &ChubaoFSCmd{ + var cmd = &CubeFSCmd{ CFSCmd: &cobra.Command{ Use: path.Base(os.Args[0]), Short: cmdRootShort, diff --git a/cli/cmd/user.go b/cli/cmd/user.go index 2342c97cf..00915796b 100644 --- a/cli/cmd/user.go +++ b/cli/cmd/user.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -93,7 +93,7 @@ func newUserCreateCmd(client *master.MasterClient) *cobra.Command { displaySecretKey = optSecretKey } var displayUserType = userType.String() - fmt.Printf("Create a new ChubaoFS cluster user\n") + fmt.Printf("Create a new CubeFS cluster user\n") stdout(" User ID : %v\n", userID) stdout(" Password : %v\n", displayPassword) stdout(" Access Key: %v\n", displayAccessKey) @@ -181,7 +181,7 @@ func newUserUpdateCmd(client *master.MasterClient) *cobra.Command { if optUserType != "" { displayUserType = optUserType } - fmt.Printf("Update ChubaoFS cluster user\n") + fmt.Printf("Update CubeFS cluster user\n") stdout(" User ID : %v\n", userID) stdout(" Access Key: %v\n", displayAccessKey) stdout(" Secret Key: %v\n", displaySecretKey) diff --git a/cli/cmd/valid.go b/cli/cmd/valid.go index cceb64120..53e98ec8d 100644 --- a/cli/cmd/valid.go +++ b/cli/cmd/valid.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cli/cmd/vol.go b/cli/cmd/vol.go index 62f1aa31c..eabbcdb9c 100644 --- a/cli/cmd/vol.go +++ b/cli/cmd/vol.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cli/cmd/zone.go b/cli/cmd/zone.go index 98cd34e73..935acf8ff 100644 --- a/cli/cmd/zone.go +++ b/cli/cmd/zone.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/fs/const.go b/client/fs/const.go index 54419f36b..b8c57ccda 100644 --- a/client/fs/const.go +++ b/client/fs/const.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/fs/dcache.go b/client/fs/dcache.go index 6d4d5ab2c..36c02f820 100644 --- a/client/fs/dcache.go +++ b/client/fs/dcache.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/fs/dio_darwin.go b/client/fs/dio_darwin.go index 85b119164..949b9ebda 100644 --- a/client/fs/dio_darwin.go +++ b/client/fs/dio_darwin.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/fs/dio_linux.go b/client/fs/dio_linux.go index 83b4679b1..ced02417c 100644 --- a/client/fs/dio_linux.go +++ b/client/fs/dio_linux.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/fs/dio_windows.go b/client/fs/dio_windows.go index 35cd4da3a..64d790613 100644 --- a/client/fs/dio_windows.go +++ b/client/fs/dio_windows.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/fs/dir.go b/client/fs/dir.go index 1d0e3f2ef..5cd88e093 100644 --- a/client/fs/dir.go +++ b/client/fs/dir.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/fs/file.go b/client/fs/file.go index a0c90ff37..d460cd3ea 100644 --- a/client/fs/file.go +++ b/client/fs/file.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/fs/icache.go b/client/fs/icache.go index cefd13ec3..6eb33e628 100644 --- a/client/fs/icache.go +++ b/client/fs/icache.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/fs/inode.go b/client/fs/inode.go index f8f90788c..16da6c300 100644 --- a/client/fs/inode.go +++ b/client/fs/inode.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/fs/orphan.go b/client/fs/orphan.go index d8aee6aba..3ede8de4f 100644 --- a/client/fs/orphan.go +++ b/client/fs/orphan.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/fs/super.go b/client/fs/super.go index 0ce348a8a..eee4f456b 100644 --- a/client/fs/super.go +++ b/client/fs/super.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client/fuse.go b/client/fuse.go index 79049b323..66a597e6c 100644 --- a/client/fuse.go +++ b/client/fuse.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -83,8 +83,8 @@ const ( Role = "Client" DefaultIP = "127.0.0.1" - DynamicUDSNameFormat = "/tmp/ChubaoFS-fdstore-%v.sock" - DefaultUDSName = "/tmp/ChubaoFS-fdstore.sock" + DynamicUDSNameFormat = "/tmp/CubeFS-fdstore-%v.sock" + DefaultUDSName = "/tmp/CubeFS-fdstore.sock" DefaultLogPath = "/var/log/chubaofs" ) diff --git a/cmd/cfg/console.json b/cmd/cfg/console.json index 10a5a39e6..81e83c639 100644 --- a/cmd/cfg/console.json +++ b/cmd/cfg/console.json @@ -8,7 +8,7 @@ "192.168.0.12:17010", "192.168.0.13:17010" ], - "objectNodeDomain": "object.chubao.io", + "objectNodeDomain": "object.cubefs.io", "monitor_addr": "http://192.168.0.102:9090", "dashboard_addr": "http://192.168.0.103", "monitor_app": "cfs", diff --git a/cmd/cmd.go b/cmd/cmd.go index 250791f8a..5b9083459 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -245,7 +245,7 @@ func main() { os.Exit(1) } - syslog.Printf("Hello, ChubaoFS Storage\n%s\n", Version) + syslog.Printf("Hello, CubeFS Storage\n%s\n", Version) err = modifyOpenFiles() if err != nil { @@ -283,7 +283,7 @@ func main() { err = server.Start(cfg) if err != nil { log.LogFlush() - err = errors.NewErrorf("Fatal: failed to start the ChubaoFS %s daemon err %v - ", role, err) + err = errors.NewErrorf("Fatal: failed to start the CubeFS %s daemon err %v - ", role, err) syslog.Println(err) daemonize.SignalOutcome(err) os.Exit(1) diff --git a/console/cutil/handler.go b/console/cutil/handler.go index 304b5ae03..63bd5e448 100644 --- a/console/cutil/handler.go +++ b/console/cutil/handler.go @@ -1,7 +1,7 @@ /* * MIT License * Copyright (c) 2016 Samsara Networks Inc. - * Modifications copyright 2020 The ChubaoFS Authors. + * Modifications copyright 2020 The CubeFS Authors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/datanode/const.go b/datanode/const.go index d414d9cec..e96f0afe9 100644 --- a/datanode/const.go +++ b/datanode/const.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/datanode/data_partition_repair.go b/datanode/data_partition_repair.go index b62373bb9..1f6f3491a 100644 --- a/datanode/data_partition_repair.go +++ b/datanode/data_partition_repair.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/datanode/disk.go b/datanode/disk.go index 1bc4a146a..6252b52e8 100644 --- a/datanode/disk.go +++ b/datanode/disk.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/datanode/metric.go b/datanode/metric.go index 1a953d3be..022c6cf82 100644 --- a/datanode/metric.go +++ b/datanode/metric.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/datanode/partition.go b/datanode/partition.go index a9841d896..3041a51b5 100644 --- a/datanode/partition.go +++ b/datanode/partition.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/datanode/partition_op_by_raft.go b/datanode/partition_op_by_raft.go index 679f6383d..203d6c64a 100644 --- a/datanode/partition_op_by_raft.go +++ b/datanode/partition_op_by_raft.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/datanode/partition_raft.go b/datanode/partition_raft.go index 2ed3a826a..8bbaca0c9 100644 --- a/datanode/partition_raft.go +++ b/datanode/partition_raft.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/datanode/partition_raftfsm.go b/datanode/partition_raftfsm.go index 64de9b404..729bf88df 100644 --- a/datanode/partition_raftfsm.go +++ b/datanode/partition_raftfsm.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/datanode/server.go b/datanode/server.go index 49baf9795..3b70da0a8 100644 --- a/datanode/server.go +++ b/datanode/server.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/datanode/server_handler.go b/datanode/server_handler.go index 23d1b989b..c3431ddeb 100644 --- a/datanode/server_handler.go +++ b/datanode/server_handler.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/datanode/space_manager.go b/datanode/space_manager.go index c3b85c66f..1f9b75f1e 100644 --- a/datanode/space_manager.go +++ b/datanode/space_manager.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/datanode/stat.go b/datanode/stat.go index 85c226589..2272c9aef 100644 --- a/datanode/stat.go +++ b/datanode/stat.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/datanode/wrap_operator.go b/datanode/wrap_operator.go index 4ddb523d4..e8e720d72 100644 --- a/datanode/wrap_operator.go +++ b/datanode/wrap_operator.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/datanode/wrap_post.go b/datanode/wrap_post.go index ce317e66a..85b3ea1be 100644 --- a/datanode/wrap_post.go +++ b/datanode/wrap_post.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/datanode/wrap_prepare.go b/datanode/wrap_prepare.go index 2c8554987..86a58adf6 100644 --- a/datanode/wrap_prepare.go +++ b/datanode/wrap_prepare.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/depends/tiglabs/raft/storage/wal/log_file_test.go b/depends/tiglabs/raft/storage/wal/log_file_test.go index 390e1cbf9..207a80125 100644 --- a/depends/tiglabs/raft/storage/wal/log_file_test.go +++ b/depends/tiglabs/raft/storage/wal/log_file_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Chubao Authors. +// Copyright 2021 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/docker/build_docker_cfs.sh b/docker/build_docker_cfs.sh index 7f790583a..f937e9a9f 100755 --- a/docker/build_docker_cfs.sh +++ b/docker/build_docker_cfs.sh @@ -2,15 +2,15 @@ Version="1.0.0" if [[ -n "$1" ]] ;then - # docker image tag of ChubaoFS + # docker image tag of CubeFS Version=$1 fi RootPath=$(cd $(dirname $0)/..; pwd) source ${RootPath}/build/build.sh -CfsServer="chubaofs/cfs-server:$Version" -CfsClient="chubaofs/cfs-client:$Version" +CfsServer="cubefs/cfs-server:$Version" +CfsClient="cubefs/cfs-client:$Version" docker build -t ${CfsServer} -f ${RootPath}/docker/Dockerfile-cfs --target server ${RootPath} docker build -t ${CfsClient} -f ${RootPath}/docker/Dockerfile-cfs --target client ${RootPath} diff --git a/docker/monitor/grafana/init.sh b/docker/monitor/grafana/init.sh index 3e23648a1..c72357d3d 100755 --- a/docker/monitor/grafana/init.sh +++ b/docker/monitor/grafana/init.sh @@ -10,7 +10,7 @@ url2="http://${host}:${port}" ds_url="${url2}/api/datasources" dashboard_url="${url2}/api/dashboard/db" -org="chubaofs.io" +org="cubefs.io" parse_json(){ echo "$1" | sed "s/.*\"$2\":\([^,}]*\).*/\1/" diff --git a/docker/monitor/grafana/provisioning/dashboards/dashboard.yml b/docker/monitor/grafana/provisioning/dashboards/dashboard.yml index 03101d20f..3fc69ad27 100644 --- a/docker/monitor/grafana/provisioning/dashboards/dashboard.yml +++ b/docker/monitor/grafana/provisioning/dashboards/dashboard.yml @@ -1,7 +1,7 @@ apiVersion: 1 providers: -- name: 'ChubaoFS' +- name: 'CubeFS' orgId: 1 folder: '' type: file diff --git a/docker/run_docker.sh b/docker/run_docker.sh index 36227b5fa..cdb1d977c 100755 --- a/docker/run_docker.sh +++ b/docker/run_docker.sh @@ -11,10 +11,10 @@ help() { Usage: ./run_docker.sh [ -h | --help ] [ -d | --disk ] [ -l | --ltptest ] -h, --help show help info - -d, --disk set ChubaoFS DataNode local disk path - -b, --build build ChubaoFS server and client - -s, --server start ChubaoFS servers docker image - -c, --client start ChubaoFS client docker image + -d, --disk set CubeFS DataNode local disk path + -b, --build build CubeFS server and client + -s, --server start CubeFS servers docker image + -c, --client start CubeFS client docker image -m, --monitor start monitor web ui -l, --ltptest run ltp test -r, --run run servers, client and monitor diff --git a/docker/s3tests/base.py b/docker/s3tests/base.py index acc64fb9d..78e092e1b 100644 --- a/docker/s3tests/base.py +++ b/docker/s3tests/base.py @@ -1,4 +1,4 @@ -# Copyright 2020 The ChubaoFS Authors. +# Copyright 2020 The CubeFS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docker/s3tests/env.py b/docker/s3tests/env.py index fc57b40b2..40c89d531 100644 --- a/docker/s3tests/env.py +++ b/docker/s3tests/env.py @@ -1,4 +1,4 @@ -# Copyright 2020 The ChubaoFS Authors. +# Copyright 2020 The CubeFS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docker/s3tests/test_acl.py b/docker/s3tests/test_acl.py index 7a90a318f..523b35819 100644 --- a/docker/s3tests/test_acl.py +++ b/docker/s3tests/test_acl.py @@ -1,4 +1,4 @@ -# Copyright 2020 The ChubaoFS Authors. +# Copyright 2020 The CubeFS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docker/s3tests/test_bucket.py b/docker/s3tests/test_bucket.py index 539d76ec4..a56564980 100644 --- a/docker/s3tests/test_bucket.py +++ b/docker/s3tests/test_bucket.py @@ -1,4 +1,4 @@ -# Copyright 2020 The ChubaoFS Authors. +# Copyright 2020 The CubeFS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docker/s3tests/test_bucket_policy.py b/docker/s3tests/test_bucket_policy.py index 67ada97c9..e77dee54a 100644 --- a/docker/s3tests/test_bucket_policy.py +++ b/docker/s3tests/test_bucket_policy.py @@ -1,4 +1,4 @@ -# Copyright 2020 The ChubaoFS Authors. +# Copyright 2020 The CubeFS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docker/s3tests/test_cors.py b/docker/s3tests/test_cors.py index 5176cdd3b..8e6099913 100644 --- a/docker/s3tests/test_cors.py +++ b/docker/s3tests/test_cors.py @@ -1,4 +1,4 @@ -# Copyright 2020 The ChubaoFS Authors. +# Copyright 2020 The CubeFS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docker/s3tests/test_list_uploads.py b/docker/s3tests/test_list_uploads.py index e93e40ca4..749e2958e 100644 --- a/docker/s3tests/test_list_uploads.py +++ b/docker/s3tests/test_list_uploads.py @@ -1,4 +1,4 @@ -# Copyright 2020 The ChubaoFS Authors. +# Copyright 2020 The CubeFS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docker/s3tests/test_object_get_range.py b/docker/s3tests/test_object_get_range.py index f14081b1f..5761a712e 100644 --- a/docker/s3tests/test_object_get_range.py +++ b/docker/s3tests/test_object_get_range.py @@ -1,4 +1,4 @@ -# Copyright 2020 The ChubaoFS Authors. +# Copyright 2020 The CubeFS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docker/s3tests/test_object_head.py b/docker/s3tests/test_object_head.py index 071c54f7e..d46adce63 100644 --- a/docker/s3tests/test_object_head.py +++ b/docker/s3tests/test_object_head.py @@ -1,4 +1,4 @@ -# Copyright 2020 The ChubaoFS Authors. +# Copyright 2020 The CubeFS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docker/s3tests/test_object_list.py b/docker/s3tests/test_object_list.py index 003f4e5f7..058461c10 100644 --- a/docker/s3tests/test_object_list.py +++ b/docker/s3tests/test_object_list.py @@ -1,4 +1,4 @@ -# Copyright 2020 The ChubaoFS Authors. +# Copyright 2020 The CubeFS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docker/s3tests/test_object_list_page.py b/docker/s3tests/test_object_list_page.py index feb7b3bcc..9a4fcef9b 100644 --- a/docker/s3tests/test_object_list_page.py +++ b/docker/s3tests/test_object_list_page.py @@ -1,4 +1,4 @@ -# Copyright 2020 The ChubaoFS Authors. +# Copyright 2020 The CubeFS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docker/s3tests/test_object_put.py b/docker/s3tests/test_object_put.py index ceb1a6bef..796e59d55 100644 --- a/docker/s3tests/test_object_put.py +++ b/docker/s3tests/test_object_put.py @@ -1,4 +1,4 @@ -# Copyright 2020 The ChubaoFS Authors. +# Copyright 2020 The CubeFS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docker/s3tests/test_tagging.py b/docker/s3tests/test_tagging.py index 05c80d96b..775dcae6e 100644 --- a/docker/s3tests/test_tagging.py +++ b/docker/s3tests/test_tagging.py @@ -1,4 +1,4 @@ -# Copyright 2020 The ChubaoFS Authors. +# Copyright 2020 The CubeFS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docker/s3tests/test_transfer.py b/docker/s3tests/test_transfer.py index 22ff00d66..aa4d2e08c 100644 --- a/docker/s3tests/test_transfer.py +++ b/docker/s3tests/test_transfer.py @@ -1,4 +1,4 @@ -# Copyright 2020 The ChubaoFS Authors. +# Copyright 2020 The CubeFS Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/docker/script/start_client.sh b/docker/script/start_client.sh index beab6dfd6..ee9ecfc2d 100755 --- a/docker/script/start_client.sh +++ b/docker/script/start_client.sh @@ -32,7 +32,7 @@ init_cli() { cd ${conf_path} ${cli} completion &> /dev/null echo 'source '${conf_path}'/cfs-cli.sh' >> ~/.bashrc - echo -n "Installing ChubaoFS cli tool ... " + echo -n "Installing CubeFS cli tool ... " echo -e "\033[32mdone\033[0m" } check_cluster() { diff --git a/docs/source/admin-api/cli/cli.rst b/docs/source/admin-api/cli/cli.rst index 73983624e..08a23213e 100644 --- a/docs/source/admin-api/cli/cli.rst +++ b/docs/source/admin-api/cli/cli.rst @@ -8,7 +8,7 @@ As the CLI continues to improve, it will eventually achieve 100% coverage of the Compile and Configure ----------------------- -After downloading the ChubaoFS source code, execute the command ``go build`` in the directory ``chubaofs/cli`` to generate ``cli``. +After downloading the CubeFS source code, execute the command ``go build`` in the directory ``chubaofs/cli`` to generate ``cli``. At the same time, a configuration file named ``.cfs-cli.json`` will be generated in the directory ``root``, and the master address can be changed to the current cluster master address. You can also get or set the master address by executing the command ``./cli config info`` or ``./cli config set``. diff --git a/docs/source/admin-api/master/user.rst b/docs/source/admin-api/master/user.rst index 75199d26b..6d89fbbe0 100644 --- a/docs/source/admin-api/master/user.rst +++ b/docs/source/admin-api/master/user.rst @@ -10,7 +10,7 @@ Create Create a user in the cluster to access object storage service. When the cluster starts, the ``root`` user is automatically created (the value of ``type`` is ``0x1``). -ChubaoFS treats every ``Owner`` of volume as a ``user``. For example, if the value of **Owner** is ``testuser`` when creating a volume, the volume is owned by user ``testuser``. +CubeFS treats every ``Owner`` of volume as a ``user``. For example, if the value of **Owner** is ``testuser`` when creating a volume, the volume is owned by user ``testuser``. If there is no user ID with the same value as the **Owner** when creating the volume, the user named the value of **Owner** will be automatically created when creating the volume. @@ -18,7 +18,7 @@ If there is no user ID with the same value as the **Owner** when creating the vo :header: "Key", "Type", "Description", "Range", "Mandatory", "Default" "id", "string", "user ID", "Consists of letters, numbers and underscores, no more than 20 characters", "Yes", "None" - "pwd", "string", "user's password", "Unlimited", "No", "``ChubaoFSUser``" + "pwd", "string", "user's password", "Unlimited", "No", "``CubeFSUser``" "ak", "string", "Access Key", "Consists of 16-bits letters and numbers", "No", "Random value" "sk", "string","Secret Key", "Consists of 32-bits letters and numbers", "No", "Random value" "type", "int", "user type", "2: [admin] / 3: [normal user]", "Yes", "None" diff --git a/docs/source/admin-api/master/volume.rst b/docs/source/admin-api/master/volume.rst index 1dedc6cf4..46435292c 100644 --- a/docs/source/admin-api/master/volume.rst +++ b/docs/source/admin-api/master/volume.rst @@ -11,7 +11,7 @@ Create | Allocate a set of data partition and a meta partition to the user. | Default create 10 data partition and 3 meta partition when create volume. -| ChubaoFS uses the **Owner** parameter as the user ID. When creating a volume, if there is no user named the owner of the volume, a user with the user ID same as **Owner** will be automatically created; if a user named Owner already exists in the cluster, the volume will be owned by the user. For details, please see:: doc: `/admin-api/master/user` +| CubeFS uses the **Owner** parameter as the user ID. When creating a volume, if there is no user named the owner of the volume, a user with the user ID same as **Owner** will be automatically created; if a user named Owner already exists in the cluster, the volume will be owned by the user. For details, please see:: doc: `/admin-api/master/user` .. csv-table:: Parameters :header: "Parameter", "Type", "Description", "Mandatory", "Default" diff --git a/docs/source/conf.py b/docs/source/conf.py index 0662a4a49..e5cf1ceb4 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -20,7 +20,7 @@ # -- Project information ----------------------------------------------------- -project = u'ChubaoFS' +project = u'CubeFS' copyright = u'2018, The Chubao Authors' author = u'The Chubao Authors' @@ -104,7 +104,7 @@ html_theme = 'sphinx_rtd_theme' # Output file base name for HTML help builder. -htmlhelp_basename = 'ChubaoFS Doc' +htmlhelp_basename = 'CubeFS Doc' @@ -113,7 +113,7 @@ htmlhelp_basename = 'ChubaoFS Doc' # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - (master_doc, 'ChubaoFS', u'ChubaoFS Documentation', + (master_doc, 'CubeFS', u'CubeFS Documentation', [author], 1) ] @@ -124,8 +124,8 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - (master_doc, 'ChubaoFS', u'ChubaoFS Documentation', - author, 'ChubaoFS', 'One line description of project.', + (master_doc, 'CubeFS', u'CubeFS Documentation', + author, 'CubeFS', 'One line description of project.', 'Miscellaneous'), ] diff --git a/docs/source/contributing.rst b/docs/source/contributing.rst index 053222938..a5162c33f 100644 --- a/docs/source/contributing.rst +++ b/docs/source/contributing.rst @@ -1,4 +1,4 @@ -Contributing to ChubaoFS +Contributing to CubeFS ======================== Bug Reports diff --git a/docs/source/design/authnode.rst b/docs/source/design/authnode.rst index 2b2b58aa3..7cd2df055 100644 --- a/docs/source/design/authnode.rst +++ b/docs/source/design/authnode.rst @@ -1,7 +1,7 @@ Authnode ========= -Internet and Intranet are insecure places where malicious hackers usually use tools to "sniff" sensitive information off of the network. Worse yet, client/server are not trusted to be honest about their identities. Therefore, ChubaoFS encounters some common security problems once deployed in the Network. +Internet and Intranet are insecure places where malicious hackers usually use tools to "sniff" sensitive information off of the network. Worse yet, client/server are not trusted to be honest about their identities. Therefore, CubeFS encounters some common security problems once deployed in the Network. Security Problems ------------------ @@ -12,7 +12,7 @@ Security Problems High Level Architecture ----------------------- -`Authnode` is the security node providing a general Authentication & Authorization framework for `ChubaoFS`. Besides, `Authnode` acts as a centralized key store of both symmetric and asymmetric key. `Authnode` adopts and customizes the idea of authentication from `Kerberos` which is built on top of tickets. Specifically, whenever a client node (`Master`, `Meta`, `Data` or `Client` node) accesses a service, it's firstly required to show the shared secret key for authentication in `Authnode`. If successful, `Authnode` would issue a time-limited ticket specifically for that service. With the purpose of authorization, capabilities are embedded in tickets to indicate `who can do what on what resource`. +`Authnode` is the security node providing a general Authentication & Authorization framework for `CubeFS`. Besides, `Authnode` acts as a centralized key store of both symmetric and asymmetric key. `Authnode` adopts and customizes the idea of authentication from `Kerberos` which is built on top of tickets. Specifically, whenever a client node (`Master`, `Meta`, `Data` or `Client` node) accesses a service, it's firstly required to show the shared secret key for authentication in `Authnode`. If successful, `Authnode` would issue a time-limited ticket specifically for that service. With the purpose of authorization, capabilities are embedded in tickets to indicate `who can do what on what resource`. .. image:: pic/authflow.png :align: center @@ -20,7 +20,7 @@ High Level Architecture :alt: Architecture -In the context of `Authnode`, we define a node as `Client` if it is responsible to initialize a service request while `Server` or `Service` is defined as the node responding that request. In this case, any `ChubaoFS` nodes can be acted as either `Client` or `Server`. +In the context of `Authnode`, we define a node as `Client` if it is responsible to initialize a service request while `Server` or `Service` is defined as the node responding that request. In this case, any `CubeFS` nodes can be acted as either `Client` or `Server`. The communication between `Client` and `Server` is based on `HTTPS` or `TCP` and the workflow of `Authnode` is depicted in the graph above and briefly described as follows: @@ -61,7 +61,7 @@ If a service request is sent via TCP protocol, it has the following steps: Future Work ----------- -`Authnode` supports a general authentication and authorization which is an emergent need for `ChubaoFS`. There are two directions of security enhancements for `ChubaoFS` in the future. +`Authnode` supports a general authentication and authorization which is an emergent need for `CubeFS`. There are two directions of security enhancements for `ChubaoFS` in the future. Feature Enrichment @@ -71,7 +71,7 @@ Current implementation of `Authnode` doesn't support some advanced features: - Key rotation: Shared secret keys are hardcoded in client and server and would not changed. It increases security risks that attacks break the encryption and find the keys. Rotating keys on a regular basis would help to mitigate such risks. - Ticket revocation: For performance considerations, ticket would be valid for a while (such as several hours). If a client unfortunately leaks its ticket, malicious parties are able to use the ticket for service request during the period of being valid. Ticket revocation mechanism can prevent such an issue by revoking it once leakage happens. -- HSM support: `Authnode` is the security bottleneck in `ChubaoFS`. Breaking `Authnode` means compromising the whole system since it manages the key store. Hardware Security Module or HSM provides physical safeguards for key management. Having `Authnode` protected by HSM (for example *SGX*) can mitigate the risk of `Authnode` being compromised. +- HSM support: `Authnode` is the security bottleneck in `CubeFS`. Breaking `Authnode` means compromising the whole system since it manages the key store. Hardware Security Module or HSM provides physical safeguards for key management. Having `Authnode` protected by HSM (for example *SGX*) can mitigate the risk of `Authnode` being compromised. End-to-End Data Encryption diff --git a/docs/source/design/client.rst b/docs/source/design/client.rst index 798577992..681b7514b 100644 --- a/docs/source/design/client.rst +++ b/docs/source/design/client.rst @@ -16,9 +16,9 @@ To reduce the communication with the data nodes, the client caches the most rec Integration with FUSE ----------------------- -The ChubaoFS client has been integrated with FUSE to provide a file system interface in the user space. In the past, low performance is considered the main disadvantage of such user-space file systems. But over the years, FUSE has made several improvement on its performance such as multithreading and write-back cache. In the future, we plan to develop our own POSIX-compliant file system interface in the kernel space to completely eliminate the overhead from FUSE. +The CubeFS client has been integrated with FUSE to provide a file system interface in the user space. In the past, low performance is considered the main disadvantage of such user-space file systems. But over the years, FUSE has made several improvement on its performance such as multithreading and write-back cache. In the future, we plan to develop our own POSIX-compliant file system interface in the kernel space to completely eliminate the overhead from FUSE. -Currently the write-back cache feature does not work well in ChubaoFS due to the following reason. The default write behavior of FUSE is called directIO, which bypasses the kernel's page cache. This results in performance problems on writing small files as each write pushes the file data to the user daemon. The solution FUSE implemented was to make the page cache support a write-back policy that aggregates small data first, and then make writes asynchronous. With that change, file data can be pushed to the user daemon in larger blobs at a time. However, in real production, we found that the write-back cache is not very useful, because a write operation usually invoke another process that tries to balance the dirty pages (pages in the main memory that have been modified during writing data to disk are marked as "dirty" and have to be flushed to disk before they can be freed), which incurs extra overhead. This overhead becomes more obvious when small files are continuously written through FUSE. +Currently the write-back cache feature does not work well in CubeFS due to the following reason. The default write behavior of FUSE is called directIO, which bypasses the kernel's page cache. This results in performance problems on writing small files as each write pushes the file data to the user daemon. The solution FUSE implemented was to make the page cache support a write-back policy that aggregates small data first, and then make writes asynchronous. With that change, file data can be pushed to the user daemon in larger blobs at a time. However, in real production, we found that the write-back cache is not very useful, because a write operation usually invoke another process that tries to balance the dirty pages (pages in the main memory that have been modified during writing data to disk are marked as "dirty" and have to be flushed to disk before they can be freed), which incurs extra overhead. This overhead becomes more obvious when small files are continuously written through FUSE. Live Upgrade ----------------------- diff --git a/docs/source/design/datanode.rst b/docs/source/design/datanode.rst index e0bfadfec..f1d390cc6 100644 --- a/docs/source/design/datanode.rst +++ b/docs/source/design/datanode.rst @@ -17,13 +17,13 @@ Writing a new file to the extent store always causes the data to be written at t - Small File Storage -The contents of multiple small files are aggregated and stored in a single extent, and the physical offset of each file content in the extent is recorded in the corresponding meta node. ChubaoFS relies on the punch hole interface, \textit{fallocate()}\footnote{\url{http://man7.org/linux/man-pages/man2/fallocate.2.html}}, to \textit{asynchronous} free the disk space occupied by the to-be-deleted file. The advantage of this design is to eliminate the need of implementing a garbage collection mechanism and therefore avoid to employ a mapping from logical offset to physical offset in an extent~\cite{haystack}. Note that this is different from deleting large files, where the extents of the file can be removed directly from the disk. +The contents of multiple small files are aggregated and stored in a single extent, and the physical offset of each file content in the extent is recorded in the corresponding meta node. CubeFS relies on the punch hole interface, \textit{fallocate()}\footnote{\url{http://man7.org/linux/man-pages/man2/fallocate.2.html}}, to \textit{asynchronous} free the disk space occupied by the to-be-deleted file. The advantage of this design is to eliminate the need of implementing a garbage collection mechanism and therefore avoid to employ a mapping from logical offset to physical offset in an extent~\cite{haystack}. Note that this is different from deleting large files, where the extents of the file can be removed directly from the disk. - Replication - The replication is performed in terms of partitions during file writes. Depending on the file write pattern, ChubaoFS adopts different replication strategies. + The replication is performed in terms of partitions during file writes. Depending on the file write pattern, CubeFS adopts different replication strategies. - When a file is sequentially written into ChubaoFS, a primary-backup replication protocol is used to ensure the strong consistency with optimized IO throughput. + When a file is sequentially written into CubeFS, a primary-backup replication protocol is used to ensure the strong consistency with optimized IO throughput. .. image:: ../pic/workflow-sequential-write.png :align: center diff --git a/docs/source/design/master.rst b/docs/source/design/master.rst index 872edc32e..4596ebef4 100644 --- a/docs/source/design/master.rst +++ b/docs/source/design/master.rst @@ -1,7 +1,7 @@ Resource Manager (Master) ========================= -The resource manager manages the file system by processing different types of tasks, such as creating/deleting/updating/loading partitions and keeping track of the resource status (such as the memory/disk utilization). The resource manager is also responsible for creating new volumes and adding new meta/data nodes to the ChubaoFS cluster. It has multiple replicas, among which the consistency is maintained by a consensus algorithm such as Raft, and persisted to a key value store such as RocksDB for backup and recovery. +The resource manager manages the file system by processing different types of tasks, such as creating/deleting/updating/loading partitions and keeping track of the resource status (such as the memory/disk utilization). The resource manager is also responsible for creating new volumes and adding new meta/data nodes to the CubeFS cluster. It has multiple replicas, among which the consistency is maintained by a consensus algorithm such as Raft, and persisted to a key value store such as RocksDB for backup and recovery. Utilization-Based Distribution/Placement ----------------------------------------- diff --git a/docs/source/design/objectnode.rst b/docs/source/design/objectnode.rst index 1963c6fa9..c41eda7be 100644 --- a/docs/source/design/objectnode.rst +++ b/docs/source/design/objectnode.rst @@ -2,8 +2,8 @@ Object Subsystem (ObjectNode) ============================= The object subsystem provides S3-compatible object storage interface. -It makes possible for ChubaoFS becomes a fusion storage that expose two type interface (POSIX and S3-compatible). -So that user can operate files stored in ChubaoFS by using native Amazon S3 SDKs. +It makes possible for CubeFS becomes a fusion storage that expose two type interface (POSIX and S3-compatible). +So that user can operate files stored in CubeFS by using native Amazon S3 SDKs. Structure --------- @@ -14,7 +14,7 @@ Structure The ObjectNode is a functional subsystem node. It fetch volume view (volume topology) on demand from Resource Manager (Master). Each ObjectNode communicate with metadata subsystem (MetaNode) and data subsystem (DataNode) directly. -ObjectNode is stateless design with high scalability and it have ability to operate all files stored in the ChubaoFS cluster +ObjectNode is stateless design with high scalability and it have ability to operate all files stored in the CubeFS cluster which it belong to directly without any volume-mount operation. Features @@ -47,7 +47,7 @@ User Before using the object storage service, you need to create a user through the Master. While creating users, *AccessKey* and *SecretKey* will be generated for each user. -ChubaoFS uses the field **Owner** of the volume as the user ID. There are two ways to create users: +CubeFS uses the field **Owner** of the volume as the user ID. There are two ways to create users: - When creating a volume through the API of the Master, if there is no user with the same name as the owner of the volume in the cluster, a user with the user ID of Owner will be automatically created. - Create a user by calling the user management API of the Master. @@ -56,7 +56,7 @@ Authentication -------------- The signature validation algorithm in object storage interface is fully compatible with native Amazon S3 service. The authentication consisting of *AccessKey* and *SecretKey* generated by Resource Manager (Master) with user creation, which can be obtained through the Master API. -The *AccessKey* is a 16-character string unique in the entire ChubaoFS cluster. +The *AccessKey* is a 16-character string unique in the entire CubeFS cluster. The user has all access permissions to the volume owned by him. Users can grant other users specified permissions to access volumes under their own names. The permissions are divided into the following three categories: @@ -64,7 +64,7 @@ The user has all access permissions to the volume owned by him. Users can grant - Permission for a single operation, such as *GetObject*, *PutObject*, etc. - Custom permission. -When a user uses the object storage service to execute a certain operation, ChubaoFS will identify whether the user has the corresponding permission. +When a user uses the object storage service to execute a certain operation, CubeFS will identify whether the user has the corresponding permission. Invisible Temporary Data ------------------------- @@ -78,9 +78,9 @@ Object Mode Conflict (Important) The POSIX and object storage are two different types of storage product, and the object storage is a Key-Value pair storage service. So that the object with key '*a/b/c*' and the object with key '*a/b*' are different object without any conflict. -But ChubaoFS is based on POSIX design. According to semantic transformation rule, the '*b*' part in key '*a/b/c*' transform to folder '*b*' under the folder '*a*' , and in key '*a/b*' transform to file '*b*' under the folder '*a*'. +But CubeFS is based on POSIX design. According to semantic transformation rule, the '*b*' part in key '*a/b/c*' transform to folder '*b*' under the folder '*a*' , and in key '*a/b*' transform to file '*b*' under the folder '*a*'. -The object key like this is conflict in ChubaoFS. +The object key like this is conflict in CubeFS. When the object being operated has conflicts with the existing object due to the above mode inconsistency, the ObjectNode will return a ``409`` status code to the client. diff --git a/docs/source/env.rst b/docs/source/env.rst index 9e9dcbfe2..96ba1ad5f 100644 --- a/docs/source/env.rst +++ b/docs/source/env.rst @@ -34,7 +34,7 @@ Multi-Zone Deploy ----------------------- -If you want the cluster to support fault tolerance in the computer room, you can deploy a ChubaoFS cluster across computer rooms. At the same time, it should be noted that since the communication delay between computer rooms is higher than that of a single computer room, if the requirements for high availability are greater than low latency, you can choose a cross-computer room deployment solution. If you have higher performance requirements, it is recommended to deploy clusters in a single computer room. +If you want the cluster to support fault tolerance in the computer room, you can deploy a CubeFS cluster across computer rooms. At the same time, it should be noted that since the communication delay between computer rooms is higher than that of a single computer room, if the requirements for high availability are greater than low latency, you can choose a cross-computer room deployment solution. If you have higher performance requirements, it is recommended to deploy clusters in a single computer room. Configuration scheme: Modify the zoneName parameter in the DataNode/MetaNode configuration file, specify the name of the computer room where you are, and then start the DataNode/MetaNode process, the computer room will be stored and recorded by the Master along with the registration of DataNode/MetaNode. diff --git a/docs/source/evaluation.rst b/docs/source/evaluation.rst index 36cc3eec4..c61da62af 100644 --- a/docs/source/evaluation.rst +++ b/docs/source/evaluation.rst @@ -60,7 +60,7 @@ Small file operation performance and scalability benchmark test by mdtest_. #!/bin/bash set -e - TARGET_PATH="/mnt/test/mdtest" # mount point of ChubaoFS volume + TARGET_PATH="/mnt/test/mdtest" # mount point of CubeFS volume for FILE_SIZE in 1024 2048 4096 8192 16384 32768 65536 131072 # file size do mpirun --allow-run-as-root -np 512 --hostfile hfile64 mdtest -n 1000 -w $i -e $FILE_SIZE -y -u -i 3 -N 1 -F -R -d $TARGET_PATH; @@ -303,7 +303,7 @@ Metadata performance and scalability benchmark test by mdtest_. .. code-block:: bash #!/bin/bash - TEST_PATH=/mnt/cfs/mdtest # mount point of ChubaoFS volume + TEST_PATH=/mnt/cfs/mdtest # mount point of CubeFS volume for CLIENTS in 1 2 4 8 # number of clients do mpirun --allow-run-as-root -np $CLIENTS --hostfile hfile01 mdtest -n 5000 -u -z 2 -i 3 -d $TEST_PATH; diff --git a/docs/source/faq.rst b/docs/source/faq.rst index 268ce9c8c..b2f97674a 100644 --- a/docs/source/faq.rst +++ b/docs/source/faq.rst @@ -1,10 +1,10 @@ Q&A ============== -- If you are new to ChubaoFS and want to start quickly, please refer to :doc:`user-guide/docker` -- If you are interested in ChubaoFS and want to conduct a performance test before applying it in the product environment, please refer to :doc:`evaluation` -- If you have completed the assessment of ChubaoFS and want to put it into product environment, and want to learn how to carry out capacity planning and environment preparing, please refer to :doc:`env` -- If you want to know about best practices of ChubaoFS, please refer to :doc:`use-case` +- If you are new to CubeFS and want to start quickly, please refer to :doc:`user-guide/docker` +- If you are interested in CubeFS and want to conduct a performance test before applying it in the product environment, please refer to :doc:`evaluation` +- If you have completed the assessment of CubeFS and want to put it into product environment, and want to learn how to carry out capacity planning and environment preparing, please refer to :doc:`env` +- If you want to know about best practices of CubeFS, please refer to :doc:`use-case` - If you encounter some problems in the product environment, the following content may help to solve your problems. For the convenience of description, we define the following keyword abbreviations @@ -23,7 +23,7 @@ For the convenience of description, we define the following keyword abbreviation Compile ---------- -1. Compile ChubaoFS on one machine, but it cannot be started when deployed to other machines. +1. Compile CubeFS on one machine, but it cannot be started when deployed to other machines. First please make sure to use the ``PORTABLE=1 make static_lib`` command to compile RocksDB, then use the ``ldd`` command to check whether the dependent libraries are installed on the machine. After installing the missing libraries, execute the ``ldconfig`` command. @@ -120,7 +120,7 @@ It is recommended set `reserved space` in the dn startup json file, it is behind Performance of Data and Metadata ---------------------------------- -1. How does ChubaoFS compare with its alternatives ? +1. How does CubeFS compare with its alternatives ? - Ceph @@ -130,26 +130,26 @@ Ceph (e.g., various storage backends) also make it very complicated and difficul - GFS and HDFS GFS and its open source implementation HDFS (https://github.com/apache/hadoop) are designed for storing large files with sequential access. -Both of them adopt the master-slave architecture, where the single master stores all the file metadata. Unlike GFS and HDFS, ChubaoFS employs a separate metadata subsystem to provide a scalable solution for the metadata storage so that the resource manager has less chance to become the bottleneck. +Both of them adopt the master-slave architecture, where the single master stores all the file metadata. Unlike GFS and HDFS, CubeFS employs a separate metadata subsystem to provide a scalable solution for the metadata storage so that the resource manager has less chance to become the bottleneck. - Hadoop Ozone Hadoop Ozone is a scalable distributed object storage system designed for Hadoop. It was originally proposed to solve the problem of HDFS namenode expansion. It reconstructs the namenode metadata management part of hdfs and reuses the datanode of hdfs. -ChubaoFS has many of the same design concepts like ozone such as: supporting for volume isolation, compatible with both raft/master-slave synchronous replication mechanisms, implenting for s3-compatible interfaces. In addition, ChubaoFS's POSIX fuse-client interface supports random file reading and writing, and optimizes reading and writing of small files. +CubeFS has many of the same design concepts like ozone such as: supporting for volume isolation, compatible with both raft/master-slave synchronous replication mechanisms, implenting for s3-compatible interfaces. In addition, ChubaoFS's POSIX fuse-client interface supports random file reading and writing, and optimizes reading and writing of small files. - Haystack Haystack from Facebook takes after log-structured filesystems to serve long tail of requests seen by sharing photos in a large social network. The key insight is to avoid disk operations when accessing metadata. -ChubaoFS adopts similar ideas by putting the file metadata into the main memory. +CubeFS adopts similar ideas by putting the file metadata into the main memory. However, different from Haystack, the actually physical offsets instead of logical indices of the file contents are stored in the memory, and deleting a file is achieved by the punch hole interface provided by the underlying file system instead of relying on the garbage collector to perform merging and compacting regularly for more efficient disk utilization. In addition, Haystack does not guarantee the strong consistency among the replicas when deleting the files, and it needs to perform merging and compacting regularly for more efficient disk utilization, which could be a performance killer. -ChubaoFS takes a different design principle to separate the storage of file metadata and contents. In this way, we can have more flexible and cost-effective deployments of meta and data nodes. +CubeFS takes a different design principle to separate the storage of file metadata and contents. In this way, we can have more flexible and cost-effective deployments of meta and data nodes. - Public Cloud Windows Azure Storage (https://azure.microsoft.com/en-us/) is a cloud storage system that provides strong consistency and multi-tenancy to the clients. -Different from ChubaoFS, it builds an extra partition layer to handle random writes before streaming data into the lower level. +Different from CubeFS, it builds an extra partition layer to handle random writes before streaming data into the lower level. AWS EFS (https://aws.amazon.com/efs/) is a cloud storage service that provides scalable and elastic file storage. Depending on the use cases, there could be a considerable amount of cost associated with using these cloud storage services. @@ -159,7 +159,7 @@ GlusterFS (https://www.gluster.org/) is a scalable distributed file system that 2. If the scale of metadata is huge, how to improve cluster performance? -The metadata of ChubaoFS is stored in the memory. Expanding memory of the mn or expanding the amount of mn horizontally will significantly improve the metadata performance and support a large number of small files. +The metadata of CubeFS is stored in the memory. Expanding memory of the mn or expanding the amount of mn horizontally will significantly improve the metadata performance and support a large number of small files. 3. If a dn/mn is added to the cluster, will it be automatically rebalanced, for example the dp/mp on the old node are migrated to the new node? @@ -197,7 +197,7 @@ Capacity Management 2. How to optimize the read/write performance from the Volume side? -The more dp that can be read and written, the better read and write performance of the Volume. ChubaoFS adopts a dynamic space allocation mechanism. After creating a Volume, it will pre-allocate a certain data partition dp for the Volume. When the number of dp that can be read and written is less than 10, the dp number will be automatically expanded by a step of 10. If you want to manually increase the number of readable and writable dp, you can use the following command: +The more dp that can be read and written, the better read and write performance of the Volume. CubeFS adopts a dynamic space allocation mechanism. After creating a Volume, it will pre-allocate a certain data partition dp for the Volume. When the number of dp that can be read and written is less than 10, the dp number will be automatically expanded by a step of 10. If you want to manually increase the number of readable and writable dp, you can use the following command: .. code-block:: bash @@ -240,7 +240,7 @@ Most of the parameters in the cluster have default values, and the default zone 3. The meaning of NodeSet? -Each zone will have several NodeSets, and each NodeSet can carry 18 nodes by default. Because ChubaoFS implements multi-raft, each node starts a raft server process, and each raft server manages m raft instances on the node. If the other replication group members of these raft members are distributed on N nodes, then the raft heartbeat will be transmitted between N nodes. As the cluster scale expands, N will become larger. Through the NodeSet restriction, the heartbeat is relatively independent within the NodeSet, which avoids the heartbeat storm of the cluster dimension. We use the multi raft and nodeset mechanisms together to avoid the problem of the raft heartbeat storm. +Each zone will have several NodeSets, and each NodeSet can carry 18 nodes by default. Because CubeFS implements multi-raft, each node starts a raft server process, and each raft server manages m raft instances on the node. If the other replication group members of these raft members are distributed on N nodes, then the raft heartbeat will be transmitted between N nodes. As the cluster scale expands, N will become larger. Through the NodeSet restriction, the heartbeat is relatively independent within the NodeSet, which avoids the heartbeat storm of the cluster dimension. We use the multi raft and nodeset mechanisms together to avoid the problem of the raft heartbeat storm. .. image:: pic/nodeset.png :align: center @@ -307,7 +307,7 @@ Upgrade 1. Steps - a. Download and unzip the latest binary file compression package from ChubaoFS official website https://github.com/cubefs/cubefs/releases + a. Download and unzip the latest binary file compression package from CubeFS official website https://github.com/cubefs/cubefs/releases b. Freeze the cluster .. code-block:: bash @@ -592,9 +592,9 @@ Fuse Client - Because the client reads and writes files through the http protocol, please check whether the network status is healthy - Check whether there is an overloaded mn, whether the mn process is hanging, you can restart mn, or expand a new mn to the cluster and take the mp on the overloaded mn decommission to relieve the pressure of mn -4. Does ChubaoFS provide strong consistence guarantees? +4. Does CubeFS provide strong consistence guarantees? -No.ChubaoFS has relaxed POSIX consistency semantics, i.e., instead of providing strong consistency guarantees, it only ensures sequential consistency for file/directory operations, and does not have any leasing mechanism to prevent multiple clients writing to the same file/directory. It depends on the upperlevel application to maintain a more restrict consistency level if necessary. +No.CubeFS has relaxed POSIX consistency semantics, i.e., instead of providing strong consistency guarantees, it only ensures sequential consistency for file/directory operations, and does not have any leasing mechanism to prevent multiple clients writing to the same file/directory. It depends on the upperlevel application to maintain a more restrict consistency level if necessary. 5. Is it feasible to kill the client to directly stop the client service diff --git a/docs/source/index.rst b/docs/source/index.rst index 749d57a50..2f8ea8f84 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -1,4 +1,4 @@ -Welcome to ChubaoFS(Chubao File System) +Welcome to CubeFS(Chubao File System) ============================================== .. toctree:: diff --git a/docs/source/overview.rst b/docs/source/overview.rst index f9014ae1b..39345d30f 100644 --- a/docs/source/overview.rst +++ b/docs/source/overview.rst @@ -1,7 +1,7 @@ Introduction ============= -ChubaoFS(Chubao File System) is a distributed file system that is designed to natively support large scale container platforms. +CubeFS(Chubao File System) is a distributed file system that is designed to natively support large scale container platforms. High Level Architecture ----------------------- @@ -11,16 +11,16 @@ High Level Architecture :scale: 50 % :alt: Architecture -ChubaoFS consists of a *metadata subsystem*, a *data subsystem*, and a *resource manager*, and can be accessed by different *clients* (as a set of application processes) hosted on the containers through different file system instances called *volumes*. +CubeFS consists of a *metadata subsystem*, a *data subsystem*, and a *resource manager*, and can be accessed by different *clients* (as a set of application processes) hosted on the containers through different file system instances called *volumes*. The metadata subsystem stores the file metadata, and consists of a set of *meta nodes*. Each meta node consists of a set of *meta partitions*. The data subsystem stores the file contents, and consists of a set of *data nodes*. Each data node consists of a set of *data partitions*. -The volume is a logical concept in ChubaoFS and consists of one or multiple meta partitions and one or multiple data partitions. Each partition can only be assigned to a single volume. +The volume is a logical concept in CubeFS and consists of one or multiple meta partitions and one or multiple data partitions. Each partition can only be assigned to a single volume. From a client's perspective, the volume can be viewed as a file system instance that contains data accessible by the containers. A volume can be mounted to multiple containers so that files can be shared among different clients simultaneously, and needs to be created at the very beginning before the any file operation. -A ChubaoFS cluster deployed at each data center can have hundreds of thousands of volumes, whose data sizes vary from a few gigabytes to several terabytes. +A CubeFS cluster deployed at each data center can have hundreds of thousands of volumes, whose data sizes vary from a few gigabytes to several terabytes. Generally speaking, the resource manager periodically communicates with the metadata subsystem and data subsystem to manage the meta nodes and data nodes, respectively. Each client periodically communicates with the resource manager to obtain the up-to-date view of the mounted volume. A file operation usually initiates the communications from the client to the corresponding meta node and data node directly, without the involvement of the resource manager. The updated view of the mounted volume, as well as the file metadata are usually cached at the client side to reduce the communication overhead. @@ -49,7 +49,7 @@ E-commence venders who move their line of business applications to the cloud usu Relaxed POSIX Semantics and Metadata Atomicity ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -In a POSIX-compliant distributed file system, the behavior of serving multiple processes on multiple client nodes should be the same as the behavior of a local file system serving multiple processes on a single node with direct attached storage. ChubaoFS provides POSIX-compliant APIs. However, the POSIX consistency semantics, as well as the atomicity requirement between the inode and dentry of the same file, have been carefully relaxed in order to better align with the needs of applications and to improve the system performance. +In a POSIX-compliant distributed file system, the behavior of serving multiple processes on multiple client nodes should be the same as the behavior of a local file system serving multiple processes on a single node with direct attached storage. CubeFS provides POSIX-compliant APIs. However, the POSIX consistency semantics, as well as the atomicity requirement between the inode and dentry of the same file, have been carefully relaxed in order to better align with the needs of applications and to improve the system performance. diff --git a/docs/source/use-case.rst b/docs/source/use-case.rst index d8c749a9f..e50df38c7 100644 --- a/docs/source/use-case.rst +++ b/docs/source/use-case.rst @@ -1,7 +1,7 @@ Use Cases ============= -ChubaoFS is a distributed file system that is compatible with most POSIX file system semantics. When ChubaoFS is mounted, it can be as simple as using a local file system. Basically, it can be used in any case where a file system is needed, replacing the local file system, and realizing infinitely expandable storage without physical boundaries. It has been applied in various scenarios, and the following are some of the extracted scenes. +CubeFS is a distributed file system that is compatible with most POSIX file system semantics. When ChubaoFS is mounted, it can be as simple as using a local file system. Basically, it can be used in any case where a file system is needed, replacing the local file system, and realizing infinitely expandable storage without physical boundaries. It has been applied in various scenarios, and the following are some of the extracted scenes. Machine Learning -------------------- @@ -12,7 +12,7 @@ Disadvantages of using a local disk to store training data sets: - Training data sets need to be updated frequently, requiring more disk space. - Risk of loss of training data set if machine crashes. -The advantages of using ChubaoFS to store training data sets: +The advantages of using CubeFS to store training data sets: - Unlimited disk space, easy to expand capacity. It can automatically expand disk capacity according to the percentage of disk usage, enabling storage system capacity expansion on demand, greatly saving storage costs. - Multiple replicas of data to ensure high data reliability without worrying about losing data. @@ -27,7 +27,7 @@ Using local disks to store data often encounters the following problems: - Disk usage is uneven and disk IO cannot be fully utilized. - Local disk space is limited. -The advantages of using ChubaoFS as a backend storage: +The advantages of using CubeFS as a backend storage: - Unlimited disk space, easy to expand capacity. It can automatically expand disk capacity according to the percentage of disk usage, enabling storage system capacity expansion on demand, greatly saving storage costs. - Disk IO usage is uniform and disk IO is fully utilized. @@ -37,32 +37,32 @@ The advantages of using ChubaoFS as a backend storage: Nginx Log Storage --------------------- -Do you often worry about running out of local disk space? With ChubaoFS, you can store datas in a distributed file system without worrying about running out of disk space. +Do you often worry about running out of local disk space? With CubeFS, you can store datas in a distributed file system without worrying about running out of disk space. If you use a local disk to store logs, you may often worry about the following issues: - Docker local disk space is small. - If the docker container crashes, the log is lost and unrecoverable. - The mixed deployment of physical machine and docker machine is difficult to manage and has high operation and maintenance cost. -The advantages of using ChubaoFS to store nginx logs are: +The advantages of using CubeFS to store nginx logs are: - The disk space is unlimited and easy to expand. The disk capacity is automatically expanded according to the percentage of disk usage. The storage system can be expanded on demand, which greatly saves storage costs. - Ensure data is highly reliable and do not worry about losing data. - Multiple replicas to solve the problem of unable to write to the log caused by disk error and datanode crashes. - Compatible with the POSIX file system interface, no changes required by the application. -- The operation and maintenance of ChubaoFS are simple, and one person can easily manage the cluster of tens of thousands of machines. +- The operation and maintenance of CubeFS are simple, and one person can easily manage the cluster of tens of thousands of machines. Spark ---------- -In the big data set scenario, are you worried about the amount of data stored in Spark intermediate calculation results in order to carefully calculate each task? You can store the shuffle results to ChubaoFS, and no longer worry about the disk has no free space which causes the task to fail. This enables the separation of storage and computation. +In the big data set scenario, are you worried about the amount of data stored in Spark intermediate calculation results in order to carefully calculate each task? You can store the shuffle results to CubeFS, and no longer worry about the disk has no free space which causes the task to fail. This enables the separation of storage and computation. The pain points of using local disk to store shuffle intermediate results: - Insufficient disk space. - Too many temporary directory files to create new files. -The advantages of using ChubaoFS: +The advantages of using CubeFS: - Unlimited disk space, easy to expand capacity. It can automatically expand disk capacity according to the percentage of disk usage, enabling storage system capacity expansion on demand, greatly saving storage costs. - Meta node manages file metadata, which can be expanded horizontally and the number of files is unlimited. @@ -78,7 +78,7 @@ Disadvantages of using OSS(Object Storage Service) to back up MySQL database: - After backing up files to OSS, it is not convenient to check whether the files are successfully uploaded. - Backup files are processed by multiple layers of services, which affects performance. -Advantages of using ChubaoFS to back up MySQL databases: +Advantages of using CubeFS to back up MySQL databases: - Easy to use, compatible with POSIX file interface, and can be used as a local file system. - Complete and detailed operation logs are stored in the local file system, making it easy to troubleshoot problems. diff --git a/docs/source/user-guide/console.rst b/docs/source/user-guide/console.rst index 040b1fb99..d8b649edf 100644 --- a/docs/source/user-guide/console.rst +++ b/docs/source/user-guide/console.rst @@ -4,7 +4,7 @@ Console How To Start Console --------------------- -Start a Console process by execute the server binary of ChubaoFS you built with ``-c`` argument and specify configuration file. +Start a Console process by execute the server binary of CubeFS you built with ``-c`` argument and specify configuration file. .. code-block:: bash @@ -53,5 +53,5 @@ Notice * add `127.0.0.1 console.chubao.io grafana.chubao.io` in `/etc/hosts` * you can visit it by `http://127.0.0.1:80` - * in console default user is `root` default password is `ChubaoFSRoot` - * If you are upgrading your ChubaoFS from v2.0.0 or earlier version, the password may not be compatible, you can use `curl -H "Content-Type:application/json" -X POST --data '{"id":"testuser","pwd":"12345","type":2}' "http://10.196.59.198:17010/user/create"` to create new user to use it + * in console default user is `root` default password is `CubeFSRoot` + * If you are upgrading your CubeFS from v2.0.0 or earlier version, the password may not be compatible, you can use `curl -H "Content-Type:application/json" -X POST --data '{"id":"testuser","pwd":"12345","type":2}' "http://10.196.59.198:17010/user/create"` to create new user to use it diff --git a/docs/source/user-guide/master.rst b/docs/source/user-guide/master.rst index fbc1280fe..c37938b33 100644 --- a/docs/source/user-guide/master.rst +++ b/docs/source/user-guide/master.rst @@ -17,7 +17,7 @@ Features Configurations -------------- -ChubaoFS use **JSON** as configuration file format. +CubeFS use **JSON** as configuration file format. .. csv-table:: Properties :header: "Key", "Type", "Description", "Mandatory" diff --git a/docs/source/user-guide/monitor.rst b/docs/source/user-guide/monitor.rst index 77a0d061b..1ad4bf98d 100644 --- a/docs/source/user-guide/monitor.rst +++ b/docs/source/user-guide/monitor.rst @@ -1,7 +1,7 @@ Monitor ----------------------- -ChubaoFS use prometheus as metrics collector. It simply config as follow in master, metanode, datanode, client's config file: +CubeFS use prometheus as metrics collector. It simply config as follow in master, metanode, datanode, client's config file: .. code-block:: json @@ -15,7 +15,7 @@ ChubaoFS use prometheus as metrics collector. It simply config as follow in mast * exporterPort:prometheus exporter Port. when set, can export prometheus metrics from URL(http://$hostip:$exporterPort/metrics). If not set, prometheus exporter will unavailable; -* consulAddr: consul register address, it can work with prometheus to auto discover deployed ChubaoFS nodes, if not set, consul register will not work. +* consulAddr: consul register address, it can work with prometheus to auto discover deployed CubeFS nodes, if not set, consul register will not work. * consulMeta: conusl meta config, not necessary, it can set meta info when register to consul. * ipFilter: it's a ip regular filter, exposed to consul, not necessary, default empty, which is used for multiple ip machine. it can support positive or negative filter, for example: * ipFilter="10.17.*", means that ip, regular match ipFilter, is ok diff --git a/docs/source/user-guide/objectnode.rst b/docs/source/user-guide/objectnode.rst index 540437a33..53f15d040 100644 --- a/docs/source/user-guide/objectnode.rst +++ b/docs/source/user-guide/objectnode.rst @@ -4,7 +4,7 @@ Object Subsystem (ObjectNode) How To start ObjectNode ------------------------ -Start a ObjectNode process by execute the server binary of ChubaoFS you built with ``-c`` argument and specify configuration file. +Start a ObjectNode process by execute the server binary of CubeFS you built with ``-c`` argument and specify configuration file. .. code-block:: bash @@ -115,7 +115,7 @@ Edit s3cmd configuration file ``$HOME/.s3cfg`` s3cmd mb s3://my_volume Bucket 's3://my_volume/' created -**Example: uploading an local file to ChubaoFS** +**Example: uploading an local file to CubeFS** .. code-block:: bash @@ -129,7 +129,7 @@ Edit s3cmd configuration file ``$HOME/.s3cfg`` s3cmd ls 2020-05-10 15:29 s3://my_volume -**Example: listing files stored in a ChubaoFS volume** +**Example: listing files stored in a CubeFS volume** .. code-block:: bash @@ -138,7 +138,7 @@ Edit s3cmd configuration file ``$HOME/.s3cfg`` 2020-05-10 15:31 10485760 s3://my_volume/data.dat 2020005-10 15:33 10 s3://my_volume/hello.txt -**Example: deleting file stored in a ChubaoFS volume** +**Example: deleting file stored in a CubeFS volume** .. code-block:: bash @@ -165,7 +165,7 @@ Use AWS Java SDK to access the ObjectNode deployed locally. -**Example: uploading file to ChubaoFS volume (PutObject)** +**Example: uploading file to CubeFS volume (PutObject)** .. code-block:: java @@ -173,7 +173,7 @@ Use AWS Java SDK to access the ObjectNode deployed locally. String endpoint = "http://127.0.0.1"; // Setup endpoint String accessKey = "*** Access Key ***"; // Setup AccessKey String secretKey = "*** Secret Key ***"; // Setup SecretKey - String bucketName = "*** Bucket name ***"; // Setup target bucket (ChubaoFS Volume) + String bucketName = "*** Bucket name ***"; // Setup target bucket (CubeFS Volume) String objectKey = "*** File object key name ***"; // Setup object key []byte data = "*** Example File Data as String **".getBytes(); @@ -205,7 +205,7 @@ Use AWS Java SDK to access the ObjectNode deployed locally. -**Example: downloading file stored in ChubaoFS volume (GetObject)** +**Example: downloading file stored in CubeFS volume (GetObject)** .. code-block:: java @@ -213,7 +213,7 @@ Use AWS Java SDK to access the ObjectNode deployed locally. String endpoint = "http://127.0.0.1"; // Setup endpoint String accessKey = "*** Access Key ***"; // Setup AccessKey String secretKey = "*** Secret Key ***"; // Setup SecretKey - String bucketName = "*** Bucket name ***"; // Setup target bucket (ChubaoFS Volume) + String bucketName = "*** Bucket name ***"; // Setup target bucket (CubeFS Volume) String objectKey = "*** File object key name ***"; // Setup object key try { @@ -260,7 +260,7 @@ Use AWS Python SDK (Boto3) to access the ObjectNode deployed locally. $ pip install boto3 -**Example: uploading file to ChubaoFS volume (PutObject)** +**Example: uploading file to CubeFS volume (PutObject)** .. code-block:: python @@ -280,7 +280,7 @@ Use AWS Python SDK (Boto3) to access the ObjectNode deployed locally. client = session.client(service_name="s3", region_name=region_name, endpoint_url=endpoint) client.put_object(Bucket=bucket, Key=key, Body=bytes("hello world")) -**Example: downloading file stored in ChubaoFS volume (GetObject)** +**Example: downloading file stored in CubeFS volume (GetObject)** .. code-block:: python diff --git a/fdstore/fdstore.go b/fdstore/fdstore.go index 144045700..e7f527ba0 100644 --- a/fdstore/fdstore.go +++ b/fdstore/fdstore.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Chubao Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ var ( ) const ( - DefaultUDS string = "/tmp/ChubaoFS-fdstore.sock" + DefaultUDS string = "/tmp/CubeFS-fdstore.sock" DefaultIP string = "127.0.0.1" ) @@ -49,7 +49,7 @@ func createUDS() (listener net.Listener, err error) { var addr *net.UnixAddr if *optDynamicUDS { - sockAddr = fmt.Sprintf("/tmp/ChubaoFS-fdstore-%v.sock", os.Getpid()) + sockAddr = fmt.Sprintf("/tmp/CubeFS-fdstore-%v.sock", os.Getpid()) } else { sockAddr = DefaultUDS } diff --git a/fsck/cmd/check.go b/fsck/cmd/check.go index 62a93a122..aab553f28 100644 --- a/fsck/cmd/check.go +++ b/fsck/cmd/check.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Chubao Authors. +// Copyright 2020 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fsck/cmd/clean.go b/fsck/cmd/clean.go index 642aa2c22..bed8f2103 100644 --- a/fsck/cmd/clean.go +++ b/fsck/cmd/clean.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Chubao Authors. +// Copyright 2020 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fsck/cmd/common.go b/fsck/cmd/common.go index dd0f78078..bd5a28b00 100644 --- a/fsck/cmd/common.go +++ b/fsck/cmd/common.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Chubao Authors. +// Copyright 2020 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fsck/cmd/root.go b/fsck/cmd/root.go index f8989ed65..26a2a9df5 100644 --- a/fsck/cmd/root.go +++ b/fsck/cmd/root.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Chubao Authors. +// Copyright 2020 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,7 +27,7 @@ func NewRootCmd() *cobra.Command { var optShowVersion bool var c = &cobra.Command{ Use: path.Base(os.Args[0]), - Short: "ChubaoFS fsck tool", + Short: "CubeFS fsck tool", Args: cobra.MinimumNArgs(0), Run: func(cmd *cobra.Command, args []string) { if optShowVersion { diff --git a/fsck/main.go b/fsck/main.go index 24267d70a..6781147d6 100644 --- a/fsck/main.go +++ b/fsck/main.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Chubao Authors. +// Copyright 2020 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/admin_task_manager.go b/master/admin_task_manager.go index 1f2bc474a..a32e0ddc0 100644 --- a/master/admin_task_manager.go +++ b/master/admin_task_manager.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/api_service.go b/master/api_service.go index 5097ea19e..5606f8767 100644 --- a/master/api_service.go +++ b/master/api_service.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/api_service_test.go b/master/api_service_test.go index cc77f8881..34354d897 100644 --- a/master/api_service_test.go +++ b/master/api_service_test.go @@ -81,7 +81,7 @@ func createDefaultMasterServerForTest() *Server { "logLevel":"DEBUG", "walDir":"/tmp/chubaofs/raft", "storeDir":"/tmp/chubaofs/rocksdbstore", - "clusterName":"chubaofs" + "clusterName":"cubefs" }` testServer, err := createMasterServer(cfgJSON) diff --git a/master/cluster.go b/master/cluster.go index 09172b3fd..b953efa5f 100644 --- a/master/cluster.go +++ b/master/cluster.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/cluster_stat.go b/master/cluster_stat.go index d675e7f33..ea08bcbfa 100644 --- a/master/cluster_stat.go +++ b/master/cluster_stat.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/cluster_task.go b/master/cluster_task.go index 573ab9265..ec2011e6a 100644 --- a/master/cluster_task.go +++ b/master/cluster_task.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/config.go b/master/config.go index d5755154e..21207f569 100644 --- a/master/config.go +++ b/master/config.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/const.go b/master/const.go index a4d2cc5a0..122c8f103 100644 --- a/master/const.go +++ b/master/const.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/data_node.go b/master/data_node.go index 18a0c1cd5..20022a5d3 100644 --- a/master/data_node.go +++ b/master/data_node.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/data_partition.go b/master/data_partition.go index 682628b38..b03ff55d3 100644 --- a/master/data_partition.go +++ b/master/data_partition.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/data_partition_check.go b/master/data_partition_check.go index 807bb840a..6b009b1ad 100644 --- a/master/data_partition_check.go +++ b/master/data_partition_check.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/data_partition_map.go b/master/data_partition_map.go index f04adf291..75507422d 100644 --- a/master/data_partition_map.go +++ b/master/data_partition_map.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/data_replica.go b/master/data_replica.go index 3fb140ece..0eff71d75 100644 --- a/master/data_replica.go +++ b/master/data_replica.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/disk_manager.go b/master/disk_manager.go index 5a7880c6b..b1e19513b 100644 --- a/master/disk_manager.go +++ b/master/disk_manager.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/filecheck.go b/master/filecheck.go index 017e606d7..517436f5e 100644 --- a/master/filecheck.go +++ b/master/filecheck.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/filecrc.go b/master/filecrc.go index 8c4239a0d..91d813b0e 100644 --- a/master/filecrc.go +++ b/master/filecrc.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/filemeta.go b/master/filemeta.go index 686d3829c..c9857ac28 100644 --- a/master/filemeta.go +++ b/master/filemeta.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/http_server.go b/master/http_server.go index 51d65042b..d0e5503ed 100644 --- a/master/http_server.go +++ b/master/http_server.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/id_allocator.go b/master/id_allocator.go index ae154cd2b..df7128865 100644 --- a/master/id_allocator.go +++ b/master/id_allocator.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/master_manager.go b/master/master_manager.go index 64ba3397c..1efe2b66a 100644 --- a/master/master_manager.go +++ b/master/master_manager.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/meta_node.go b/master/meta_node.go index 298e33d3f..021c272a8 100644 --- a/master/meta_node.go +++ b/master/meta_node.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/meta_partition.go b/master/meta_partition.go index 1244c3b05..9564e1183 100644 --- a/master/meta_partition.go +++ b/master/meta_partition.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/meta_partition_manager.go b/master/meta_partition_manager.go index bf150a9ac..f7314d7a8 100644 --- a/master/meta_partition_manager.go +++ b/master/meta_partition_manager.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/metadata_fsm.go b/master/metadata_fsm.go index 8d6465eb6..0eb97b46a 100644 --- a/master/metadata_fsm.go +++ b/master/metadata_fsm.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/metadata_fsm_op.go b/master/metadata_fsm_op.go index 8aaee25da..eefe9120c 100644 --- a/master/metadata_fsm_op.go +++ b/master/metadata_fsm_op.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/metadata_snapshot.go b/master/metadata_snapshot.go index 2da57ce70..ded3796f6 100644 --- a/master/metadata_snapshot.go +++ b/master/metadata_snapshot.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/mocktest/data_server.go b/master/mocktest/data_server.go index 4952fec56..20f29e202 100644 --- a/master/mocktest/data_server.go +++ b/master/mocktest/data_server.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/mocktest/meta_server.go b/master/mocktest/meta_server.go index a7762a784..8a82ff6fc 100644 --- a/master/mocktest/meta_server.go +++ b/master/mocktest/meta_server.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/monitor_metrics.go b/master/monitor_metrics.go index ecb5e9f76..2c6f7f2a5 100644 --- a/master/monitor_metrics.go +++ b/master/monitor_metrics.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/node_selector.go b/master/node_selector.go index e7839f33a..fe1e7dcb3 100644 --- a/master/node_selector.go +++ b/master/node_selector.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/operate_util.go b/master/operate_util.go index 8ee20c7c2..5233ac10c 100644 --- a/master/operate_util.go +++ b/master/operate_util.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/server.go b/master/server.go index e04a44d5f..b74f63697 100644 --- a/master/server.go +++ b/master/server.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/topology.go b/master/topology.go index 2a10f1fc4..b0dcc4494 100644 --- a/master/topology.go +++ b/master/topology.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/user.go b/master/user.go index 74ec132f0..25e45238f 100644 --- a/master/user.go +++ b/master/user.go @@ -18,8 +18,8 @@ const ( accessKeyLength = 16 secretKeyLength = 32 RootUserID = "root" - DefaultRootPasswd = "ChubaoFSRoot" - DefaultUserPassword = "ChubaoFSUser" + DefaultRootPasswd = "CubeFSRoot" + DefaultUserPassword = "CubeFSUser" ) type User struct { diff --git a/master/userdata_fsm_op.go b/master/userdata_fsm_op.go index 8e72ea44a..86ba937b9 100644 --- a/master/userdata_fsm_op.go +++ b/master/userdata_fsm_op.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/master/vol.go b/master/vol.go index 8f3596300..d1647b9b5 100644 --- a/master/vol.go +++ b/master/vol.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/api_handler.go b/metanode/api_handler.go index 1aa791af1..68561dc05 100644 --- a/metanode/api_handler.go +++ b/metanode/api_handler.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/btree.go b/metanode/btree.go index 0132f7c1f..8976cc289 100644 --- a/metanode/btree.go +++ b/metanode/btree.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/const.go b/metanode/const.go index aaf26e142..caac34275 100644 --- a/metanode/const.go +++ b/metanode/const.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/datapartition.go b/metanode/datapartition.go index 867094825..0909fc176 100644 --- a/metanode/datapartition.go +++ b/metanode/datapartition.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/dentry.go b/metanode/dentry.go index b43d1b710..bb94dd39d 100644 --- a/metanode/dentry.go +++ b/metanode/dentry.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/extend.go b/metanode/extend.go index 0f98e2e41..9b3c2c59b 100644 --- a/metanode/extend.go +++ b/metanode/extend.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/extend_test.go b/metanode/extend_test.go index 9f5335e4b..1c8cfac3c 100644 --- a/metanode/extend_test.go +++ b/metanode/extend_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/free_list.go b/metanode/free_list.go index 32b1d71bb..9608defe0 100644 --- a/metanode/free_list.go +++ b/metanode/free_list.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/inode.go b/metanode/inode.go index dba474253..0dde4e667 100644 --- a/metanode/inode.go +++ b/metanode/inode.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/manager.go b/metanode/manager.go index 27f94f51f..1d01320c1 100644 --- a/metanode/manager.go +++ b/metanode/manager.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/manager_op.go b/metanode/manager_op.go index 86c843684..bc5a5515d 100644 --- a/metanode/manager_op.go +++ b/metanode/manager_op.go @@ -1,4 +1,4 @@ -// Copyright 2018 The The Chubao Authors. +// Copyright 2018 The The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/manager_proxy.go b/metanode/manager_proxy.go index af0bf5e11..00d7ac6e1 100644 --- a/metanode/manager_proxy.go +++ b/metanode/manager_proxy.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/manager_resp.go b/metanode/manager_resp.go index e5388331e..671f786c4 100644 --- a/metanode/manager_resp.go +++ b/metanode/manager_resp.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/metanode.go b/metanode/metanode.go index 095d81520..f2704271b 100644 --- a/metanode/metanode.go +++ b/metanode/metanode.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/metrics.go b/metanode/metrics.go index f89a09285..3c1d8d55b 100644 --- a/metanode/metrics.go +++ b/metanode/metrics.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/multipart.go b/metanode/multipart.go index c30ff6dd6..23a760c90 100644 --- a/metanode/multipart.go +++ b/metanode/multipart.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/multipart_test.go b/metanode/multipart_test.go index 276a6a3fe..cfa545a89 100644 --- a/metanode/multipart_test.go +++ b/metanode/multipart_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/packet.go b/metanode/packet.go index e2953a049..d6138e727 100644 --- a/metanode/packet.go +++ b/metanode/packet.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition.go b/metanode/partition.go index 9b57c17d1..6e5429353 100644 --- a/metanode/partition.go +++ b/metanode/partition.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_delete_extents.go b/metanode/partition_delete_extents.go index 49158d4e6..5f29fb57a 100644 --- a/metanode/partition_delete_extents.go +++ b/metanode/partition_delete_extents.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_free_list.go b/metanode/partition_free_list.go index c7c7a43b2..659acbdd2 100644 --- a/metanode/partition_free_list.go +++ b/metanode/partition_free_list.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_fsm.go b/metanode/partition_fsm.go index 2f06177f3..636deaf1c 100644 --- a/metanode/partition_fsm.go +++ b/metanode/partition_fsm.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_fsmop.go b/metanode/partition_fsmop.go index 954b9241f..027476e83 100644 --- a/metanode/partition_fsmop.go +++ b/metanode/partition_fsmop.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_fsmop_dentry.go b/metanode/partition_fsmop_dentry.go index 55255006e..66c34a6a1 100644 --- a/metanode/partition_fsmop_dentry.go +++ b/metanode/partition_fsmop_dentry.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_fsmop_extend.go b/metanode/partition_fsmop_extend.go index 6568285ad..4ac836df7 100644 --- a/metanode/partition_fsmop_extend.go +++ b/metanode/partition_fsmop_extend.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_fsmop_inode.go b/metanode/partition_fsmop_inode.go index b00cc4f16..01bd4c4d6 100644 --- a/metanode/partition_fsmop_inode.go +++ b/metanode/partition_fsmop_inode.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_fsmop_multipart.go b/metanode/partition_fsmop_multipart.go index 30f25d5e8..eb20eb759 100644 --- a/metanode/partition_fsmop_multipart.go +++ b/metanode/partition_fsmop_multipart.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_item.go b/metanode/partition_item.go index 78236884b..539752aa2 100644 --- a/metanode/partition_item.go +++ b/metanode/partition_item.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_op_dentry.go b/metanode/partition_op_dentry.go index ba8f618b6..c8a561e77 100644 --- a/metanode/partition_op_dentry.go +++ b/metanode/partition_op_dentry.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_op_extend.go b/metanode/partition_op_extend.go index 65c05bcca..61aa5a238 100644 --- a/metanode/partition_op_extend.go +++ b/metanode/partition_op_extend.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_op_extent.go b/metanode/partition_op_extent.go index 8bb393002..f1fce9ddd 100644 --- a/metanode/partition_op_extent.go +++ b/metanode/partition_op_extent.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_op_inode.go b/metanode/partition_op_inode.go index e3164c3e9..509937bba 100644 --- a/metanode/partition_op_inode.go +++ b/metanode/partition_op_inode.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_op_multipart.go b/metanode/partition_op_multipart.go index b6582ea62..0b702c964 100644 --- a/metanode/partition_op_multipart.go +++ b/metanode/partition_op_multipart.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_store.go b/metanode/partition_store.go index 2971e7a52..584ae89fb 100644 --- a/metanode/partition_store.go +++ b/metanode/partition_store.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/partition_store_ticket.go b/metanode/partition_store_ticket.go index 1697c532f..8a5546d69 100644 --- a/metanode/partition_store_ticket.go +++ b/metanode/partition_store_ticket.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/raft_server.go b/metanode/raft_server.go index 06cef4aee..94fd9538d 100644 --- a/metanode/raft_server.go +++ b/metanode/raft_server.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/server.go b/metanode/server.go index 6f1fd9033..8290d7cf2 100644 --- a/metanode/server.go +++ b/metanode/server.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/metanode/time.go b/metanode/time.go index 89b7577f8..01ace4581 100644 --- a/metanode/time.go +++ b/metanode/time.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/acl.go b/objectnode/acl.go index 18360f029..591ec1248 100644 --- a/objectnode/acl.go +++ b/objectnode/acl.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/acl_handler.go b/objectnode/acl_handler.go index 44ba8951d..444a9fe13 100644 --- a/objectnode/acl_handler.go +++ b/objectnode/acl_handler.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/acl_test.go b/objectnode/acl_test.go index d8cd5e9eb..387abefcc 100644 --- a/objectnode/acl_test.go +++ b/objectnode/acl_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/api_context.go b/objectnode/api_context.go index 627e1306f..da2e13968 100644 --- a/objectnode/api_context.go +++ b/objectnode/api_context.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/api_handler.go b/objectnode/api_handler.go index 762e3e443..e909294e0 100644 --- a/objectnode/api_handler.go +++ b/objectnode/api_handler.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/api_handler_bucket.go b/objectnode/api_handler_bucket.go index 0155c1556..af0499c3e 100644 --- a/objectnode/api_handler_bucket.go +++ b/objectnode/api_handler_bucket.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/api_handler_multipart.go b/objectnode/api_handler_multipart.go index 22c62ad18..5bfc3aba8 100644 --- a/objectnode/api_handler_multipart.go +++ b/objectnode/api_handler_multipart.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/api_handler_object.go b/objectnode/api_handler_object.go index f414bd570..23b80db67 100644 --- a/objectnode/api_handler_object.go +++ b/objectnode/api_handler_object.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/api_middleware.go b/objectnode/api_middleware.go index 4b440975c..4469fba6a 100644 --- a/objectnode/api_middleware.go +++ b/objectnode/api_middleware.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/auth.go b/objectnode/auth.go index fd58229d6..c8d97f26f 100644 --- a/objectnode/auth.go +++ b/objectnode/auth.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/auth_signature_v2.go b/objectnode/auth_signature_v2.go index a2d3b9ec0..13188c64b 100644 --- a/objectnode/auth_signature_v2.go +++ b/objectnode/auth_signature_v2.go @@ -1,6 +1,6 @@ /* * MinIO Cloud Storage, (C) 2018 MinIO, Inc. - * Modifications copyright 2019 The ChubaoFS Authors. + * Modifications copyright 2019 The CubeFS Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/objectnode/auth_signature_v4.go b/objectnode/auth_signature_v4.go index dcd6946cf..0bd8f42d2 100644 --- a/objectnode/auth_signature_v4.go +++ b/objectnode/auth_signature_v4.go @@ -1,6 +1,6 @@ /* * MinIO Cloud Storage, (C) 2018 MinIO, Inc. - * Modifications copyright 2019 The ChubaoFS Authors. + * Modifications copyright 2019 The CubeFS Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/objectnode/chunk.go b/objectnode/chunk.go index 69274b8f3..d2e9cfa8e 100644 --- a/objectnode/chunk.go +++ b/objectnode/chunk.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/const.go b/objectnode/const.go index 57816179f..df3e368ff 100644 --- a/objectnode/const.go +++ b/objectnode/const.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -74,7 +74,7 @@ const ( ) const ( - HeaderValueServer = "ChubaoFS" + HeaderValueServer = "CubeFS" HeaderValueAcceptRange = "bytes" HeaderValueTypeStream = "application/octet-stream" HeaderValueContentTypeXML = "application/xml" diff --git a/objectnode/etag_test.go b/objectnode/etag_test.go index 76f5fa793..35842a9e7 100644 --- a/objectnode/etag_test.go +++ b/objectnode/etag_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The ChubaoFS Authors. +// Copyright 2020 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/fs.go b/objectnode/fs.go index d47ee039e..0f150879f 100644 --- a/objectnode/fs.go +++ b/objectnode/fs.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/fs_manager.go b/objectnode/fs_manager.go index 0d3c82f0c..dfbe966f2 100644 --- a/objectnode/fs_manager.go +++ b/objectnode/fs_manager.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/fs_store.go b/objectnode/fs_store.go index 56bddf454..e8e647b9a 100644 --- a/objectnode/fs_store.go +++ b/objectnode/fs_store.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/fs_store_object.go b/objectnode/fs_store_object.go index 0c54c86d4..e71fb5a52 100644 --- a/objectnode/fs_store_object.go +++ b/objectnode/fs_store_object.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/fs_store_user.go b/objectnode/fs_store_user.go index ed036d554..79fa6e523 100644 --- a/objectnode/fs_store_user.go +++ b/objectnode/fs_store_user.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/fs_store_xattr.go b/objectnode/fs_store_xattr.go index 5eb7dc921..e295cd151 100644 --- a/objectnode/fs_store_xattr.go +++ b/objectnode/fs_store_xattr.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/fs_volume.go b/objectnode/fs_volume.go index 88ecad912..993a2cf26 100644 --- a/objectnode/fs_volume.go +++ b/objectnode/fs_volume.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/fs_volume_meta.go b/objectnode/fs_volume_meta.go index 59b6d3cd3..8d2768f6b 100644 --- a/objectnode/fs_volume_meta.go +++ b/objectnode/fs_volume_meta.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/fs_volume_test.go b/objectnode/fs_volume_test.go index d8cd5e9eb..387abefcc 100644 --- a/objectnode/fs_volume_test.go +++ b/objectnode/fs_volume_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/policy.go b/objectnode/policy.go index 1a45ce274..d33e92920 100644 --- a/objectnode/policy.go +++ b/objectnode/policy.go @@ -1,6 +1,6 @@ /* * MinIO Cloud Storage, (C) 2018 MinIO, Inc. - * Modifications copyright 2019 The ChubaoFS Authors. + * Modifications copyright 2019 The CubeFS Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/objectnode/policy_condition.go b/objectnode/policy_condition.go index d086cf835..b5938c08a 100644 --- a/objectnode/policy_condition.go +++ b/objectnode/policy_condition.go @@ -1,6 +1,6 @@ /* * MinIO Cloud Storage, (C) 2018 MinIO, Inc. - * Modifications copyright 2019 The ChubaoFS Authors. + * Modifications copyright 2019 The CubeFS Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/objectnode/policy_handler.go b/objectnode/policy_handler.go index ca73a0de0..c4034cc59 100644 --- a/objectnode/policy_handler.go +++ b/objectnode/policy_handler.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/policy_handler_test.go b/objectnode/policy_handler_test.go index d8cd5e9eb..387abefcc 100644 --- a/objectnode/policy_handler_test.go +++ b/objectnode/policy_handler_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/policy_statement.go b/objectnode/policy_statement.go index 54a7fc9ef..0b6a7b8f9 100644 --- a/objectnode/policy_statement.go +++ b/objectnode/policy_statement.go @@ -1,6 +1,6 @@ /* * MinIO Cloud Storage, (C) 2018 MinIO, Inc. - * Modifications copyright 2019 The ChubaoFS Authors. + * Modifications copyright 2019 The CubeFS Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/objectnode/policy_test.go b/objectnode/policy_test.go index 88f0d1977..b58296cbe 100644 --- a/objectnode/policy_test.go +++ b/objectnode/policy_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/result.go b/objectnode/result.go index 1ecbf04fc..5c890bbf1 100644 --- a/objectnode/result.go +++ b/objectnode/result.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/result_error.go b/objectnode/result_error.go index b508003da..46af5e345 100644 --- a/objectnode/result_error.go +++ b/objectnode/result_error.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/result_test.go b/objectnode/result_test.go index eec07ad67..ac0bdf7a1 100644 --- a/objectnode/result_test.go +++ b/objectnode/result_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/router.go b/objectnode/router.go index d14d6ea79..f5ebcde94 100644 --- a/objectnode/router.go +++ b/objectnode/router.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -67,7 +67,7 @@ func (o *ObjectNode) registerApiRouters(router *mux.Router) { HandlerFunc(o.getObjectTaggingHandler) // Get object XAttr - // Notes: ChubaoFS owned API for XAttr operation + // Notes: CubeFS owned API for XAttr operation r.NewRoute().Name(ActionToUniqueRouteName(proto.OSSGetObjectXAttrAction)). Methods(http.MethodGet). Path("/{object:.+}"). @@ -323,7 +323,7 @@ func (o *ObjectNode) registerApiRouters(router *mux.Router) { HandlerFunc(o.putObjectTaggingHandler) // Put object xattrs - // Notes: ChubaoFS owned API for XAttr operation + // Notes: CubeFS owned API for XAttr operation r.NewRoute().Name(ActionToUniqueRouteName(proto.OSSPutObjectXAttrAction)). Methods(http.MethodPut). Path("/{object:.+}"). @@ -473,7 +473,7 @@ func (o *ObjectNode) registerApiRouters(router *mux.Router) { HandlerFunc(o.deleteObjectTaggingHandler) // Delete object xattrs - // Notes: ChubaoFS owned API for XAttr operation + // Notes: CubeFS owned API for XAttr operation r.NewRoute().Name(ActionToUniqueRouteName(proto.OSSDeleteObjectXAttrAction)). Methods(http.MethodDelete). Path("/{object:.+}"). diff --git a/objectnode/server.go b/objectnode/server.go index 9a3fa1557..0272e6458 100644 --- a/objectnode/server.go +++ b/objectnode/server.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/signer.go b/objectnode/signer.go index cf6671ce2..89bd1b64f 100644 --- a/objectnode/signer.go +++ b/objectnode/signer.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/util.go b/objectnode/util.go index f0de3e9cb..a9d79d082 100644 --- a/objectnode/util.go +++ b/objectnode/util.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/wildcard.go b/objectnode/wildcard.go index 2913d4d9d..c747bd69e 100644 --- a/objectnode/wildcard.go +++ b/objectnode/wildcard.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/objectnode/wildcard_test.go b/objectnode/wildcard_test.go index f9b417e3d..6b971ac6a 100644 --- a/objectnode/wildcard_test.go +++ b/objectnode/wildcard_test.go @@ -1,4 +1,4 @@ -// Copyright 2019 The ChubaoFS Authors. +// Copyright 2019 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/preload/preload_test.go b/preload/preload_test.go index 7d9f0a91a..0c1bcf9c8 100644 --- a/preload/preload_test.go +++ b/preload/preload_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/preload/sdk/preloadsdk.go b/preload/sdk/preloadsdk.go index e2575445a..6cacea7b7 100644 --- a/preload/sdk/preloadsdk.go +++ b/preload/sdk/preloadsdk.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/preload/sdk/preloadsdk_test.go b/preload/sdk/preloadsdk_test.go index 09ee3ba65..d526376ba 100644 --- a/preload/sdk/preloadsdk_test.go +++ b/preload/sdk/preloadsdk_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto/admin_proto.go b/proto/admin_proto.go index 9ec86edab..0c7165276 100644 --- a/proto/admin_proto.go +++ b/proto/admin_proto.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto/admin_task.go b/proto/admin_task.go index 802bdd2a5..efd110f45 100644 --- a/proto/admin_task.go +++ b/proto/admin_task.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto/auth_proto.go b/proto/auth_proto.go index 77e7e9c09..298c44516 100644 --- a/proto/auth_proto.go +++ b/proto/auth_proto.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto/errors.go b/proto/errors.go index 6e80dcc66..4b351e67c 100644 --- a/proto/errors.go +++ b/proto/errors.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto/extent_key.go b/proto/extent_key.go index 846795650..a69b74594 100644 --- a/proto/extent_key.go +++ b/proto/extent_key.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto/fs_proto.go b/proto/fs_proto.go index 461b2fbb5..33f583a66 100644 --- a/proto/fs_proto.go +++ b/proto/fs_proto.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto/meta_proto.go b/proto/meta_proto.go index 82a354464..9f18646a1 100644 --- a/proto/meta_proto.go +++ b/proto/meta_proto.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto/model.go b/proto/model.go index ea689b1df..63e2146db 100644 --- a/proto/model.go +++ b/proto/model.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto/obj_extent_key.go b/proto/obj_extent_key.go index a30e786ee..1661c3c86 100644 --- a/proto/obj_extent_key.go +++ b/proto/obj_extent_key.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto/packet.go b/proto/packet.go index ad342e151..0c4504e70 100644 --- a/proto/packet.go +++ b/proto/packet.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto/perm_action.go b/proto/perm_action.go index 425dac199..14d216460 100644 --- a/proto/perm_action.go +++ b/proto/perm_action.go @@ -1,4 +1,4 @@ -// Copyright 2020 The ChubaoFS Authors. +// Copyright 2020 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto/status.go b/proto/status.go index dc88a3f38..0f3671dee 100644 --- a/proto/status.go +++ b/proto/status.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto/user_proto.go b/proto/user_proto.go index 5467f762a..2977f14b3 100644 --- a/proto/user_proto.go +++ b/proto/user_proto.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto/version.go b/proto/version.go index 1d9da0fc9..335743308 100644 --- a/proto/version.go +++ b/proto/version.go @@ -13,7 +13,7 @@ var ( ) func DumpVersion(role string) string { - return fmt.Sprintf("ChubaoFS %s\n"+ + return fmt.Sprintf("CubeFS %s\n"+ "Version : %s\n"+ "Branch : %s\n"+ "Commit : %s\n"+ diff --git a/raftstore/config.go b/raftstore/config.go index 261e01cb0..9dc4c583b 100644 --- a/raftstore/config.go +++ b/raftstore/config.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/raftstore/partition.go b/raftstore/partition.go index b03b69e80..fde3f4aa0 100644 --- a/raftstore/partition.go +++ b/raftstore/partition.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/raftstore/raftstore.go b/raftstore/raftstore.go index 38441a09c..208edfced 100644 --- a/raftstore/raftstore.go +++ b/raftstore/raftstore.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/raftstore/resolver.go b/raftstore/resolver.go index 5ea81b2e7..aac10101d 100644 --- a/raftstore/resolver.go +++ b/raftstore/resolver.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/raftstore/store_rocksdb.go b/raftstore/store_rocksdb.go index 02f654ff3..ee05d79c5 100644 --- a/raftstore/store_rocksdb.go +++ b/raftstore/store_rocksdb.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/repl/const.go b/repl/const.go index 408837ccc..6672a9570 100644 --- a/repl/const.go +++ b/repl/const.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/repl/packet.go b/repl/packet.go index 38db0b7e7..50f066357 100644 --- a/repl/packet.go +++ b/repl/packet.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/repl/repl_protocol.go b/repl/repl_protocol.go index e53fe7b89..1d018c4b3 100644 --- a/repl/repl_protocol.go +++ b/repl/repl_protocol.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/auth/client.go b/sdk/auth/client.go index 0280c4ea9..8fa09fc7b 100644 --- a/sdk/auth/client.go +++ b/sdk/auth/client.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/blobstore/blobstore_client.go b/sdk/data/blobstore/blobstore_client.go index c772a8956..972f15b7e 100644 --- a/sdk/data/blobstore/blobstore_client.go +++ b/sdk/data/blobstore/blobstore_client.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/blobstore/blobstore_client_test.go b/sdk/data/blobstore/blobstore_client_test.go index da390c6ec..343e10f5a 100644 --- a/sdk/data/blobstore/blobstore_client_test.go +++ b/sdk/data/blobstore/blobstore_client_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/blobstore/reader.go b/sdk/data/blobstore/reader.go index 79277923a..2dfe2438d 100644 --- a/sdk/data/blobstore/reader.go +++ b/sdk/data/blobstore/reader.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/blobstore/reader_test.go b/sdk/data/blobstore/reader_test.go index 65e8dcd13..bbc9e0bc5 100644 --- a/sdk/data/blobstore/reader_test.go +++ b/sdk/data/blobstore/reader_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/blobstore/task_pool.go b/sdk/data/blobstore/task_pool.go index f01a0e40c..d7fb27c2b 100644 --- a/sdk/data/blobstore/task_pool.go +++ b/sdk/data/blobstore/task_pool.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/blobstore/task_pool_test.go b/sdk/data/blobstore/task_pool_test.go index 1afd8a58c..944abfba6 100644 --- a/sdk/data/blobstore/task_pool_test.go +++ b/sdk/data/blobstore/task_pool_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/blobstore/writer.go b/sdk/data/blobstore/writer.go index 9807f5501..9ea2e1b05 100644 --- a/sdk/data/blobstore/writer.go +++ b/sdk/data/blobstore/writer.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/blobstore/writer_test.go b/sdk/data/blobstore/writer_test.go index 5fabc04d7..b40807c47 100644 --- a/sdk/data/blobstore/writer_test.go +++ b/sdk/data/blobstore/writer_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/stream/extent_cache.go b/sdk/data/stream/extent_cache.go index b54983d79..048909a88 100644 --- a/sdk/data/stream/extent_cache.go +++ b/sdk/data/stream/extent_cache.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/stream/extent_client.go b/sdk/data/stream/extent_client.go index 83c79dae2..dfe716879 100644 --- a/sdk/data/stream/extent_client.go +++ b/sdk/data/stream/extent_client.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/stream/extent_dirtylist.go b/sdk/data/stream/extent_dirtylist.go index c7cff9aca..11bffd149 100644 --- a/sdk/data/stream/extent_dirtylist.go +++ b/sdk/data/stream/extent_dirtylist.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/stream/extent_handler.go b/sdk/data/stream/extent_handler.go index 7aaec2237..bd5ca27d0 100644 --- a/sdk/data/stream/extent_handler.go +++ b/sdk/data/stream/extent_handler.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/stream/extent_reader.go b/sdk/data/stream/extent_reader.go index ceea1d4c2..94b1c395c 100644 --- a/sdk/data/stream/extent_reader.go +++ b/sdk/data/stream/extent_reader.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/stream/packet.go b/sdk/data/stream/packet.go index 5e6eff3b1..17aecd1b7 100644 --- a/sdk/data/stream/packet.go +++ b/sdk/data/stream/packet.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/stream/stream_conn.go b/sdk/data/stream/stream_conn.go index f0736387b..220f1ed37 100644 --- a/sdk/data/stream/stream_conn.go +++ b/sdk/data/stream/stream_conn.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/stream/stream_reader.go b/sdk/data/stream/stream_reader.go index 4f987e6ee..5d20f2b04 100644 --- a/sdk/data/stream/stream_reader.go +++ b/sdk/data/stream/stream_reader.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/stream/stream_writer.go b/sdk/data/stream/stream_writer.go index b16587fff..946e87aa8 100644 --- a/sdk/data/stream/stream_writer.go +++ b/sdk/data/stream/stream_writer.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/wrapper/data_partition.go b/sdk/data/wrapper/data_partition.go index 103adfc04..4cd43fe50 100644 --- a/sdk/data/wrapper/data_partition.go +++ b/sdk/data/wrapper/data_partition.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/wrapper/data_partition_selector.go b/sdk/data/wrapper/data_partition_selector.go index 600a1f66f..d376bec43 100644 --- a/sdk/data/wrapper/data_partition_selector.go +++ b/sdk/data/wrapper/data_partition_selector.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Chubao Authors. +// Copyright 2020 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/wrapper/data_partition_test.go b/sdk/data/wrapper/data_partition_test.go index e035cfa8d..5d3e2badf 100644 --- a/sdk/data/wrapper/data_partition_test.go +++ b/sdk/data/wrapper/data_partition_test.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Chubao Authors. +// Copyright 2020 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/wrapper/default_random_selector.go b/sdk/data/wrapper/default_random_selector.go index 9105ddfcc..9e81fb729 100644 --- a/sdk/data/wrapper/default_random_selector.go +++ b/sdk/data/wrapper/default_random_selector.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Chubao Authors. +// Copyright 2020 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/wrapper/k_faster_random_selector.go b/sdk/data/wrapper/k_faster_random_selector.go index 0efe21ef5..de394cf81 100644 --- a/sdk/data/wrapper/k_faster_random_selector.go +++ b/sdk/data/wrapper/k_faster_random_selector.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/data/wrapper/wrapper.go b/sdk/data/wrapper/wrapper.go index 42dc886d4..79a08fbab 100644 --- a/sdk/data/wrapper/wrapper.go +++ b/sdk/data/wrapper/wrapper.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/master/api_admin.go b/sdk/master/api_admin.go index 6e7e97f9d..e3d5b3321 100644 --- a/sdk/master/api_admin.go +++ b/sdk/master/api_admin.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/master/api_client.go b/sdk/master/api_client.go index b63371ec3..f045fc2cf 100644 --- a/sdk/master/api_client.go +++ b/sdk/master/api_client.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/master/api_node.go b/sdk/master/api_node.go index d8fe4caa8..d539cc8b0 100644 --- a/sdk/master/api_node.go +++ b/sdk/master/api_node.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/master/client.go b/sdk/master/client.go index 7522ea938..ce5f6c462 100644 --- a/sdk/master/client.go +++ b/sdk/master/client.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/master/request.go b/sdk/master/request.go index 128a5c738..11eec0a76 100644 --- a/sdk/master/request.go +++ b/sdk/master/request.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/meta/api.go b/sdk/meta/api.go index e5eb40250..c7dc29043 100644 --- a/sdk/meta/api.go +++ b/sdk/meta/api.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/meta/conn.go b/sdk/meta/conn.go index e99af3acc..90982e237 100644 --- a/sdk/meta/conn.go +++ b/sdk/meta/conn.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/meta/meta.go b/sdk/meta/meta.go index 34914b9ff..a6dc216b8 100644 --- a/sdk/meta/meta.go +++ b/sdk/meta/meta.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/meta/operation.go b/sdk/meta/operation.go index f815aa5a8..e0acf0109 100644 --- a/sdk/meta/operation.go +++ b/sdk/meta/operation.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/meta/partition.go b/sdk/meta/partition.go index 548886697..d5aa76a69 100644 --- a/sdk/meta/partition.go +++ b/sdk/meta/partition.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sdk/meta/view.go b/sdk/meta/view.go index 4af156f3a..072ba68c1 100644 --- a/sdk/meta/view.go +++ b/sdk/meta/view.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/error.go b/storage/error.go index 9ecca6c87..bea242313 100644 --- a/storage/error.go +++ b/storage/error.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/extent.go b/storage/extent.go index 400714f3b..064fcf8cd 100644 --- a/storage/extent.go +++ b/storage/extent.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/extent_cache.go b/storage/extent_cache.go index f4db5507f..96a45ed6a 100644 --- a/storage/extent_cache.go +++ b/storage/extent_cache.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/extent_store.go b/storage/extent_store.go index 915678c63..e6533b95c 100644 --- a/storage/extent_store.go +++ b/storage/extent_store.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/fallocate_darwin.go b/storage/fallocate_darwin.go index 4b6468472..a037c2dc2 100644 --- a/storage/fallocate_darwin.go +++ b/storage/fallocate_darwin.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/fallocate_linux.go b/storage/fallocate_linux.go index 6fae7c384..346a43d90 100644 --- a/storage/fallocate_linux.go +++ b/storage/fallocate_linux.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/fallocate_windows.go b/storage/fallocate_windows.go index 9031da9e6..ccf9fa6a1 100644 --- a/storage/fallocate_windows.go +++ b/storage/fallocate_windows.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/storage/persistence_crc.go b/storage/persistence_crc.go index f841b9075..7173b0411 100644 --- a/storage/persistence_crc.go +++ b/storage/persistence_crc.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/config/config.go b/util/config/config.go index 9112e5437..a83888641 100644 --- a/util/config/config.go +++ b/util/config/config.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/conn_pool.go b/util/conn_pool.go index 93aa4c7ec..e268399f0 100644 --- a/util/conn_pool.go +++ b/util/conn_pool.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/cryptoutil/const.go b/util/cryptoutil/const.go index 8aa0c75cd..87172989b 100644 --- a/util/cryptoutil/const.go +++ b/util/cryptoutil/const.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/cryptoutil/cryptoutil.go b/util/cryptoutil/cryptoutil.go index 61922bafa..c1363ec27 100644 --- a/util/cryptoutil/cryptoutil.go +++ b/util/cryptoutil/cryptoutil.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/cryptoutil/ticket.go b/util/cryptoutil/ticket.go index 2704a6821..4a589e781 100644 --- a/util/cryptoutil/ticket.go +++ b/util/cryptoutil/ticket.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/errors/errors.go b/util/errors/errors.go index d7f103201..bbcedffab 100644 --- a/util/errors/errors.go +++ b/util/errors/errors.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/exporter/alarm.go b/util/exporter/alarm.go index 8638a2748..866cba011 100644 --- a/util/exporter/alarm.go +++ b/util/exporter/alarm.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/exporter/consul_register.go b/util/exporter/consul_register.go index add643779..3b01b0b9e 100644 --- a/util/exporter/consul_register.go +++ b/util/exporter/consul_register.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/exporter/counter.go b/util/exporter/counter.go index 3c7167468..4a89bf1a2 100644 --- a/util/exporter/counter.go +++ b/util/exporter/counter.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/exporter/exporter.go b/util/exporter/exporter.go index c1f75f084..0c2b01dee 100644 --- a/util/exporter/exporter.go +++ b/util/exporter/exporter.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/exporter/exporter_test.go b/util/exporter/exporter_test.go index 004abbe60..e39284106 100644 --- a/util/exporter/exporter_test.go +++ b/util/exporter/exporter_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/exporter/gauge.go b/util/exporter/gauge.go index c3c381e8c..9f7fb1765 100644 --- a/util/exporter/gauge.go +++ b/util/exporter/gauge.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/exporter/timepoint.go b/util/exporter/timepoint.go index 9ffa841d2..2717e2ed6 100644 --- a/util/exporter/timepoint.go +++ b/util/exporter/timepoint.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/exporter/util.go b/util/exporter/util.go index a734c48d0..ec805e31a 100644 --- a/util/exporter/util.go +++ b/util/exporter/util.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/iputil/addrselect.go b/util/iputil/addrselect.go index 04be0a280..4217f1609 100644 --- a/util/iputil/addrselect.go +++ b/util/iputil/addrselect.go @@ -1,6 +1,6 @@ // Copyright 2015 The Go Authors. All rights reserved. // -// Modified by 2020 The Chubao Authors. +// Modified by 2020 The CubeFS Authors. // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. diff --git a/util/iputil/ip.go b/util/iputil/ip.go index 24b6c7aaa..2b62f76d4 100644 --- a/util/iputil/ip.go +++ b/util/iputil/ip.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/log/log.go b/util/log/log.go index dd2f4ba2b..0211140b0 100644 --- a/util/log/log.go +++ b/util/log/log.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/log/log_get.go b/util/log/log_get.go index 212b53aa7..80dd66bba 100644 --- a/util/log/log_get.go +++ b/util/log/log_get.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Chubao Authors. +// Copyright 2020 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/log/log_test.go b/util/log/log_test.go index 37145c2bd..731a7cd58 100644 --- a/util/log/log_test.go +++ b/util/log/log_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/log/rotate.go b/util/log/rotate.go index aa2f06d10..8a8e51b24 100644 --- a/util/log/rotate.go +++ b/util/log/rotate.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/master_helper.go b/util/master_helper.go index 57e2c9c66..d02200d05 100644 --- a/util/master_helper.go +++ b/util/master_helper.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/mem.go b/util/mem.go index 77c5bf49a..e06fc40ba 100644 --- a/util/mem.go +++ b/util/mem.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/multipart.go b/util/multipart.go index fefa762dc..15921a958 100644 --- a/util/multipart.go +++ b/util/multipart.go @@ -1,4 +1,4 @@ -// Copyright 2020 The Chubao Authors. +// Copyright 2020 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/smux_conn_pool.go b/util/smux_conn_pool.go index 3548e0ef8..cae6e30bc 100644 --- a/util/smux_conn_pool.go +++ b/util/smux_conn_pool.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/stat/statistic.go b/util/stat/statistic.go index f83e1b8ae..726c5267a 100644 --- a/util/stat/statistic.go +++ b/util/stat/statistic.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/stat/statistic_test.go b/util/stat/statistic_test.go index 0701f1812..3264c19a5 100644 --- a/util/stat/statistic_test.go +++ b/util/stat/statistic_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The ChubaoFS Authors. +// Copyright 2022 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/string.go b/util/string.go index 8ae4aaa76..aab9b9ef4 100644 --- a/util/string.go +++ b/util/string.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/synclist/synclist.go b/util/synclist/synclist.go index 969dc7b24..8e5582007 100644 --- a/util/synclist/synclist.go +++ b/util/synclist/synclist.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/synclist/synclist_test.go b/util/synclist/synclist_test.go index 5c16d1a58..4d37bb5e1 100644 --- a/util/synclist/synclist_test.go +++ b/util/synclist/synclist_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/sys/dup_darwin.go b/util/sys/dup_darwin.go index 3c8e18749..8e81d9bc1 100644 --- a/util/sys/dup_darwin.go +++ b/util/sys/dup_darwin.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/sys/dup_linux.go b/util/sys/dup_linux.go index c6ed3eed8..25b501e79 100644 --- a/util/sys/dup_linux.go +++ b/util/sys/dup_linux.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/sys/dup_windows.go b/util/sys/dup_windows.go index 509b3cc50..f773501e0 100644 --- a/util/sys/dup_windows.go +++ b/util/sys/dup_windows.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/ump/ump.go b/util/ump/ump.go index 67301e83e..dcbd87307 100644 --- a/util/ump/ump.go +++ b/util/ump/ump.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/ump/ump_async_log.go b/util/ump/ump_async_log.go index 207796260..3e4d58453 100644 --- a/util/ump/ump_async_log.go +++ b/util/ump/ump_async_log.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/util/unit.go b/util/unit.go index 6d7afe4c8..ba56a9eba 100644 --- a/util/unit.go +++ b/util/unit.go @@ -1,4 +1,4 @@ -// Copyright 2018 The Chubao Authors. +// Copyright 2018 The CubeFS Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.