-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCHANGELOG
More file actions
239 lines (222 loc) · 11.7 KB
/
CHANGELOG
File metadata and controls
239 lines (222 loc) · 11.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
# CHANGELOG UPDATES
## 3.3.1
* WARNING: the `--orphan` from `phobos extent list` changed to `--state`. It
allows the filtering of the extents with their states.
* Add `phobos_admin_extent_list` in the store API to list only the extents
* Add a "--force" option to "phobos dir delete" to delete dir even if the
local path does not exist.
* Add size column to deprecated object list query
* HSM improvements: split configuration per copies couple, log errors into a
file, stdout only mode with grouping and metadata with base64
* Profile of the default copy name is now taken into account
* Cleanup put param filling
* CLI: allow object list with UUID and without OID
## 3.3.0
* WARNING: the db schema moves from 3.2 to 3.3 and a migration is needed
* Metrology is now available
* TLC can be secured by the use of multiple devices
* Add a way to mark a tape as lost
* LRS is strengthened against client error. LRS releases the resources on
client disconnection. LRS is resistant to client crash when sending message.
* Store clients support input file size errors
* Add grouping_on_dir configuration parameter to disengage dir from grouping
* Add sort option to dss_extent_get, and delete dss_get_extents_order_by_ctime
function
* Lock update management
* hsm sync by grouping option
* hsm sync does not update the sync time on error
* Fix locate with grouping by adding grouping copy to media info duplication
## 3.2.0
* WARNING: the db schema moves from 3.0 to 3.2 and a migration is needed
* WARNING: change the `phobos ping [phobosd|tlc]` command to
`phobos phobosd ping` and `phobos tlc ping`
* New phobos_hsm_sync_dir command to copy objects from local dir to other
media
* ctime ordered grouped read
* ctime ordered repack
* We manage a last locate timestamp and the corresponding delay in the LRS to
prevent after locate resource starvation.
* Added object size to object table in DSS. Same field is added to deprecated
objects.
* adding creation_time to extent table into DSS. This ctime is inherited from
the corresponding existing copy creation_time.
* store: existing object grouping is now taken into account when creating a
copy
* fix management of extent and object registration on partial release failure
* prevent negative physical space free update
* scale orphan extent detection at repack
* lrs: make some fields of the lrs_dev and pho_resource structures atomic to
prevent data races between a scheduler thread and a device thread using these
structures.
* sched gets new medium health only on the chosen medium
* add 'adm_status' to phobos drive status output
* make global 'phobos_context' thread-safe
* make 'libpho_core' a shared library
* Added macros to get the version Phobos from the API (major, minor and patch)
and macros to check the current version is higher than a given one
## 3.1.0
* limited number of write per grouping: the new "fifo_max_write_per_grouping"
configuration parameter allows to limit the number of concurrent writes per
grouping on one phobosd instance. The default 0 value reproduces the
previous unlimited behaviour.
* fix large sends (e.g. during a 'lib scan" with over 1500 slots)
* handle external command errors better by using the glib2
spawn_check_wait_status function
* use the io_block_size parameter to set the write size of new objects on media
## 3.0.0
* WARNING: the db schema moves from 2.2 to 3.0 and a migration is needed
* WARNING: TLC section names in the configuration file are changed from
[tlc_libname] to [tlc "libname"]
* WARNING: phobos_locate has a new argument: the copy_name. The API
compatibility is broken. (The lhsm_phobos copytool must be also updated.)
* object copy create/list/delete is available, with "--copy-name" at locate,
put and get, "get_preferred_order" configuration option taken into account at
get
* config man page is now available
* autocompletion is added to CLI (check the README.md for more information on
how to activate it)
* the CLI arguments are homogenized between commands operating on the same
target
* fix client crash on "del --hard"
* cli,api: default library for lib scan/refresh and ldm open is available
* lrs: fix fifo find_write_device for unloaded tape without grouping
* raid: check the real size of an extent against the expected size
* locate: avoid locking media not compatible
* fix miscellaneous memory leaks fix
* bugfix: incomplete set of orphan extents when deleting with several replicas
* lrs: bugfix when requeuing a format request
* lrs: do not decrement the health counter without TLC
* doc: add tutorial on automatic failover setup
* autotools: add `cli` files when doing `make install`
* add get to DSS schema migration continuous integration test
* cli: internal code reorganization
* podman: add a containerfile and postgres script
* add repack and copy test to acceptance test
## 2.2.0
* WARNING: the db schema moves from 2.1 to 2.2 and a migration is needed
* WARNING: XFER structure is modified to old N objects and the API
compatibility is broken. (For example, the lhsm_phobos copytool must be
also updated to version 1.3 or greater.)
* WARNING: the `alias` feature is renamed `profile`. In that extent, all
`-a`/`--alias` options are renamed `-p`/`--profile`.
* WARNING: the `-p` option, standing for `--lyt-params`, is uppercased, thus
changed to `-P`.
* WARNING: the mput is replaced by `put --file`
* WARNING: tlc daemon is renamed phobos_tlc
* grouping: this new feature is available to group objects on similar media.
* no-split: we add a new `no-split` mode to put a list of object on the same
medium.
* `--new-library`: this new admin option is available to change the library of
a drive, a dir, a tape or a rados pool.
* `library` parameter is added to alias.
* `distutils` dependency is changed to `setuptools`.
* `io_block_size` parameter is extended by family.
* `dir_full_threshold` and `rados_pool_full_threshold` options complete the
`tape_full_threshold` option.
* `listen_interface` setting is added for tlc.
* `--library` option is added to phobos extent list.
* `--errors` option is added to clear logs.
* `--status` option is added to `phobos media list` and `phobos drive list`.
* m4 scripts are updated.
* build output are added to .gitignore.
* refactoring of the CLI code has begun.
* object copy feature developpement has begun.
## 2.1.0
* WARNING: the db schema moves from 2.0 to 2.1 and a migration is needed
* DSS code was rewritten to merge common code and create a specific file per
resource type.
* Multilibrary: Resource (tape or drive for example) can now belong to
different libraries. Default libraries per family must be set in phobos.conf.
* Rename: we can change the object id of an existing object.
* Repack: we can copy non deprecated object of one tape
to a new one and format the old tape to remove deprecated objects.
* RAID4: a new 2+1 layout is available. Object is split on two media and a
third one contains XOR.
* --sort/--rsort: phobos extent/media/drive/object lists can be sorted.
* Empty dir/tape/rados_pool deletion: medium without any extent can be deleted.
* LTFS release: a phobos cli command is available to release the ltfs lock
of one drive.
* Hard deletion: --hard option is added to the delete command.
* Object creation and access times are managed by phobos.
* path normalization: dir path normalization (trailing "/" or relative path
for example) are managed by phobos CLI and API.
## 2.0.0
* WARNING: the db schema moves from 1.95 to 2.0 and a migration is needed
* Device, medium: errors are now logged into the DSS and managed through a
health counter
* TLC: Library is now accessed through the Tape Library Controler
* Extent migration between tapes is now ready and paves the road for the future
tape repack feature.
* Tape import: we can now import into a Phobos system a tape from an other
Phobos system (recovery or transfer).
* Phobosd media cache: to improve concurrency management, all components of the
phobosd daemon (scheduler or device threads) share media info through a media
cache.
## 1.95.1
* common: add xmalloc, xstrdup, xcalloc...
* ltfs: improve ltfs log with serial number
* ltfs: return an error if labels are different at mount operation
* pho_srl_lrs : fixed typedef name that was already used
* store, admin, cli: fix store and admin global context share
* LRS : fix unloading a tape from a source which is not a slot
* compilation : fix gcc compilation warning on RHEL 9 based system
* doc : add documentation for the currently_dedicated_to option
* tests: fix acceptance invalid bash syntax
* tests: fix an issue between test_store and test-driver
* tests: verify database after migration is as expected
* TLC (Tape Library Controler): introduce first features of this component even
if the daemon is still unused (library open/close, drive_lookup, load)
## 1.95
* WARNING: the db schema moves from 1.93 to 1.95 and a migration is needed.
* Unused 'disk' value is removed from media and device family.
* compute XXH128 extent checksum in raid1 layout during put
* compute MD5 extent checksum in raid1 layout during put
* Retrieve MD5 and XXH128 checksums at extent listing
* Phobos API has been changed. Any call to a Phobos function must be done after
initializing its context using `phobos_init()`. To release the context, use
`phobos_fini()`.
* Add scripts and a binary to test tape library
* The "phobos_admin_format" API function has been modified to be able to format
media whose status is not blank. A "force" parameter is added to manage this.
* Locate update for pre-locking
- We add two new parameters to the "phobos_locate" API call: 'focus_host'
and 'nb_new_lock'.
- We add the '--focus-host' option to the "phobos locate obj" command.
* Phobos CLI is updated. The options '--layout' and '--lyt-params' can also
be respectively spelled '--lyt' and '--layout-params' for consistency.
* Creation of I/O schedulers for efficient request handling by the LRS:
- FIFO and Group Read
- Fair Share
* Added tape library certification tests to verify Phobos is usable with the
targeted library
* Added designs for the media statistics, SCSI error management, Tape Library
Controler.
* Add SCSI logs.
* Add TLC daemon unused and incomplete draft version.
## 1.94.1
* Added RADOS as data storage backend (no package available yet)
* Added module-loader to manage io, fs, dev, lib and layout adapters dynamically
* Added drive migrate command
* Improved command documentation
* Internal LRS parallelization (read, write and format managed by device
threads)
* Added locate modification design
* Modified drive lock API and command:
- The "phobos xxx lock" API has changed: '--force' option is removed. The
option was only considered with devices, so removing it for media will not alter
its behavior.
- The "phobos drive lock" API has changed: '--wait' option is added. Its
behavior is the same as the previous '--force' option.
## 1.94
* The "phobos_admin_format" API function has been modified to be able to send
multiple format requests in a single call. The medium id provided thus becomes
an array of medium ids, and the length of that array is added as a parameter.
* The "phobos_admin_format" API function has been modified to be able to limit
the number of concurrent format sent to the phobosd. A "nb_streams" parameter
is added to the parameters of the function, with 0 signifying "send all requests
at once".
## 1.93
* The "simple" layout is no longer available. It cannot be used through the CLI
and will not be recognized in the API anymore. Instead, an alias has been
provided in the default template.conf, emulating the "simple" layout behaviour.
The layout used is "raid1", with a replica count set to 1.