diff --git a/docs/api-status.json b/docs/api-status.json index cc1e6fb..0d58cfc 100644 --- a/docs/api-status.json +++ b/docs/api-status.json @@ -1012,15 +1012,15 @@ { "name": "IOContext.SetLocator", "comment": "SetLocator sets the key for mapping objects to pgs within an io context.\nUntil a different locator key is set, all objects in this io context will be placed in the same pg.\nTo reset the locator, an empty string must be set.\n\nImplements:\n void rados_ioctx_locator_set_key(rados_ioctx_t io, const char *key);\n" - } - ], - "preview_api": [ + }, { "name": "IOContext.SetAllocationHint", "comment": "SetAllocationHint sets allocation hint for an object. This is an advisory\noperation, it will always succeed (as if it was submitted with a\nLIBRADOS_OP_FLAG_FAILOK flag set) and is not guaranteed to do anything on\nthe backend.\n\nImplements:\n int rados_set_alloc_hint2(rados_ioctx_t io,\n const char *o,\n uint64_t expected_object_size,\n uint64_t expected_write_size,\n uint32_t flags);\n", "added_in_version": "v0.17.0", - "expected_stable_version": "v0.19.0" - }, + "became_stable_version": "v0.19.0" + } + ], + "preview_api": [ { "name": "WriteOp.SetAllocationHint", "comment": "SetAllocationHint sets allocation hint for an object. This is an advisory\noperation, it will always succeed (as if it was submitted with a\nLIBRADOS_OP_FLAG_FAILOK flag set) and is not guaranteed to do anything on\nthe backend.\n\nImplements:\n void rados_write_op_set_alloc_hint2(rados_write_op_t write_op,\n uint64_t expected_object_size,\n uint64_t expected_write_size,\n uint32_t flags);\n", diff --git a/docs/api-status.md b/docs/api-status.md index e33a8b7..9fc3dc5 100644 --- a/docs/api-status.md +++ b/docs/api-status.md @@ -16,7 +16,6 @@ No Preview/Deprecated APIs found. All APIs are considered stable. Name | Added in Version | Expected Stable Version | ---- | ---------------- | ----------------------- | -IOContext.SetAllocationHint | v0.17.0 | v0.19.0 | WriteOp.SetAllocationHint | v0.17.0 | v0.19.0 | IOContext.Alignment | v0.17.0 | v0.19.0 | IOContext.RequiresAlignment | v0.17.0 | v0.19.0 | diff --git a/rados/ioctx_set_alloc_hint.go b/rados/ioctx_set_alloc_hint.go index dbb7518..7cc2df5 100644 --- a/rados/ioctx_set_alloc_hint.go +++ b/rados/ioctx_set_alloc_hint.go @@ -1,6 +1,3 @@ -//go:build ceph_preview -// +build ceph_preview - package rados // #cgo LDFLAGS: -lrados