-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move (copy|transform)-object interface
* remove data-mover typecast * simplify and refactor Signed-off-by: Alex Aizman <[email protected]>
- Loading branch information
1 parent
d9a141c
commit 7fa3cb3
Showing
14 changed files
with
127 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Package xs is a collection of eXtended actions (xactions), including multi-object | ||
// operations, list-objects, (cluster) rebalance and (target) resilver, ETL, and more. | ||
/* | ||
* Copyright (c) 2018-2024, NVIDIA CORPORATION. All rights reserved. | ||
*/ | ||
package xs | ||
|
||
import ( | ||
"github.com/NVIDIA/aistore/cmn" | ||
"github.com/NVIDIA/aistore/core" | ||
"github.com/NVIDIA/aistore/core/meta" | ||
"github.com/NVIDIA/aistore/transport/bundle" | ||
) | ||
|
||
type ( | ||
CoiParams struct { | ||
DP core.DP // copy or transform via data provider, see impl-s: (ext/etl/dp.go, core/ldp.go) | ||
Xact core.Xact | ||
Config *cmn.Config | ||
BckTo *meta.Bck | ||
ObjnameTo string | ||
Buf []byte | ||
OWT cmn.OWT | ||
Finalize bool // copies and EC (as in poi.finalize()) | ||
DryRun bool | ||
LatestVer bool // can be used without changing bucket's 'versioning.validate_warm_get'; see also: QparamLatestVer | ||
Sync bool // ditto - bucket's 'versioning.synchronize' | ||
} | ||
|
||
COI interface { | ||
CopyObject(lom *core.LOM, dm *bundle.DataMover, coi *CoiParams) (int64, error) | ||
} | ||
) |
Oops, something went wrong.