Commit graph

429 commits

Author SHA1 Message Date
Airat Arifullin
2efdc8fedb [#56] object: Introduce Patch method
* Introduce rpc `Patch` and corresponding types;
* Generate docs.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2024-07-29 13:37:38 +00:00
8dd63c451c [#57] container: Remove deprecated methods
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-07-26 10:12:27 +03:00
4a4a7612f6 [#57] *: Format with clang-format
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-07-26 10:12:27 +03:00
Airat Arifullin
0916cb5398 [#49] status: Introduce new common status code
* Introduce `INVALID_ARGUMENT` for common status section;
* Regenerate docs.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2024-06-17 15:30:06 +00:00
Airat Arifullin
c7473ed98c [#52] object: Add parent_attributes field to EC-header
Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2024-05-30 11:16:15 +03:00
Airat Arifullin
4c2193443e [#54] acl: Add APE chains to Bearer token
Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2024-05-30 08:09:00 +00:00
Airat Arifullin
393c95899f [#54] apemanager: Move APE specific types to separate package
* Introduce `ape` package and move `apemanager/types.proto`
  to `ape/`;
* Fix `apemanager/service.proto`.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2024-05-30 08:09:00 +00:00
e199ad2914 [#53] proto-docs: Regenerate docs
Also, remove obsolete ones.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-05-28 16:26:54 +03:00
Airat Arifullin
fd316479e2 [#51] object: Introduce parentSplitParentID field in EC
* Replace `parentSplitIndex` by `parentSplitParentID` as the first
  one is inappropriate;
* Regenerate docs.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2024-05-16 16:22:58 +03:00
Airat Arifullin
cfb148ea0c [#48] object: Introduce parent_split_id and parent_index for EC
* Introduce new fields for `EC`-header for `Object` service;
* Regenerate docs.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2024-05-08 15:02:23 +03:00
Airat Arifullin
b182533828 [#47] object: Specify ec_parent attribute for Object.Search
* Add $Object:ec.parent attribute to Object.Search specification.
* Update docs for Object.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2024-05-03 10:07:33 +00:00
Airat Arifullin
c94b8ab6ae [#46] apemanager: Introduce proto-s for apemanager service
* Introduce proto-s for `APEManagerService` and related types.
* Introduce a new status section related to `APEManagerService`.
* Generate proto-docs.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2024-04-27 13:48:04 +00:00
9802fd23ae audit: Remove deprecated service
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-04-20 13:42:24 +03:00
4bae9dd78a [#43] Improve table of contents in proto documentation template
Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
2024-04-03 11:21:40 +03:00
Airat Arifullin
433b2e6a47 [#42] netmap: Renumerate Replica message fields
* Reassign ec_data_count and ec_parity_count to 3 and 4.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2024-03-27 10:17:28 +03:00
Airat Arifullin
07eb6a438c [#40] status: Introduce CONTAINER_ACCESS_DENIED status
* Add a new status CONTAINER_ACCESS_DENIED.
* Fix descriptions for methods of container and object services.
* Also regenerate md docs.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
2024-03-20 12:24:51 +03:00
46dd3885d2 [#41] netmap: Add well-known EC-related network settings
Because big number of chunks can lead to excessive CPU/RAM usage, we
restrict EC policies via network settings.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-03-18 15:41:02 +03:00
063d236c87 [#41] netmap: Support EC policy
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-03-18 15:41:02 +03:00
f56ccf36b1 [#41] object: Support erasure codes
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-03-18 15:41:01 +03:00
4c68d92468 [#39] Makefile: Add fmt target
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-02-28 18:54:53 +03:00
188f580e46 [#2] object: Clarify locked object expiration
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-09-05 09:56:11 +03:00
51d330b06a [#19] Remove storage groups
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-08-17 11:04:47 +03:00
f2a60016ab [#9] object service: Add PutSingle RPC
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-07-04 11:08:35 +03:00
b471eaaba9 [#29] object: Extend Delete rpc specification
* Add OBJECT_NOT_FOUND status specification

Signed-off-by: Airat Arifullin a.arifullin@yadro.com
2023-06-28 13:30:49 +03:00
dbfa9c944b [#26] netmap: Add NOT and UNIQUE keywords
Signed-off-by: Airat Arifullin a.arifullin@yadro.com
2023-05-31 11:57:27 +03:00
7f59b8aaeb [#25] subnet: Drop fields and types
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-04-18 13:17:08 +03:00
Pavel Karpy
b5be17014e [#22] reputation: Drop reputation system support
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
2023-04-18 10:15:11 +00:00
bd50db1151 [#18] acl: Add impersonate field to bearer token
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-04-13 11:42:33 +03:00
Pavel Karpy
cbc038f84e [#17] object: Allow set copy_number for every placement vector
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
2023-04-07 10:59:26 +03:00
fc393d4605 [#16] Add Issue Template
Add bug report and feature request templates

Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-03-23 12:14:27 +03:00
5fd4059061 [#14] Rename __FROSTFS__ to __SYSTEM__
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-03-14 10:24:35 +03:00
3adb55c38a [#12] Add __FROSTFS__ system prefix
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-03-07 15:40:40 +03:00
eafcbff11f Rename go package names
Due to source code relocation from GitHub.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-03-07 11:50:02 +03:00
90be159ed4 Change logo
Signed-off-by: Stanislav Bogatyrev <s.bogatyrev@yadro.com>
2023-01-08 10:35:08 +03:00
7431075ca1 Rename go package names
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2022-12-11 12:18:48 +03:00
653e1f92aa Rebranding
FrostFS continues the development of NeoFS.

Signed-off-by: Stanislav Bogatyrev <s.bogatyrev@yadro.com>
2022-12-08 15:21:43 +03:00
dcabc511f3 Fix CODEOWNERS
Signed-off-by: Stanislav Bogatyrev <s.bogatyrev@yadro.com>
2022-12-08 15:21:40 +03:00
anastasia prasolova
813c04bea4 Add CODEOWNERS file
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-10-16 21:02:11 +03:00
Leonard Lyubich
d95228c402 Release v2.14.0 - Anmado (안마도, 鞍馬島)
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-09-26 09:59:20 +04:00
Leonard Lyubich
ae38b06f9b *: Re-generate protobuf docs
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-09-26 09:59:20 +04:00
Leonard Lyubich
35a012b0fe [#214] netmap: Define keys of NetworkConfig.Parameter
There is a need to declare all system parameters stored as raw key-value
parameters in `NetworkConfig` messages. So applications can interpret
raw configurations in a controlled manner.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-09-23 18:47:57 +04:00
Evgenii Stratonikov
4d0140902f [#235] netmap: Add a well-known attribute for additional addresses
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-09-22 11:35:51 +03:00
Leonard Lyubich
b4cdca989f [#202] session: Support sessions issued for an object group
Sometimes it is useful to open single session which covers several
objects in the container. In previous implementation it could be done:
 * by opening container-global session
 * by opening N per-object sessions

Both approaches are not optimal for the mentioned need.

Define `ObjectSessionContext.Target` which is backward compatible with
`refs.Address` in binary format. Replace `address` field of
`refs.Address` type in `ObjectSessionContext` message with `target`
field of `ObjectSessionContext.Target` type. This change saves backward
compatibility in binary format, but break the JSON one. Such a breakage
is considered admissible for now since NeoFS API protocol hasn't
declared JSON compatibility yet.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-09-20 15:02:05 +04:00
Leonard Lyubich
d6090eb2fc [#202] session: Allow to spread object session to the whole container
Object sessions for `PUT` and `SEARCH` ops are spread to the whole
container due to op semantics. Sometimes it is convenient to spread the
session to all objects of the container for other operations. Thus,
object sessions for the whole container can be unified.

Modify docs of `ObjectSessionContext.address` field:
 * require `container_id` field to be correctly set;
 * require `object_id` field to be correctly field if set;
 * allow `object_id` field to be unset and make this case equivalent to
   the container-global session.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-09-20 15:02:05 +04:00
Leonard Lyubich
b8b1a90075 [#198] object: Sort statuses by codes
Description of statuses sorted by sections and codes looks more logical.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-09-19 11:04:15 +04:00
Evgenii Stratonikov
4d8dd727ea [#237] status: Add NODE_UNDER_MAINTENANCE status code
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-09-15 15:29:54 +03:00
Evgenii Stratonikov
d939c47ee5 [#237] netmap: Add MAINTENANCE node state
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-09-15 15:29:54 +03:00
Stanislav Bogatyrev
15eaf93ba1 [#238] Add FilePath object attribute
FilePath attribute is already used by S3 and HTTP protocol gateways.
Also seen in [Gaspump](https://github.com/configwizard/gaspump-api/).

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2022-08-26 12:55:34 +03:00
Stanislav Bogatyrev
c03a53813a [#228] Add netmap snapshot request
Clients need an easy way of getting network map to get connection
endpoints form Node's attributes.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
2022-08-17 12:06:36 +03:00
anastasia prasolova
4de2570e1a [#232] Comments fix for ACL
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
2022-08-02 17:49:54 +03:00