Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Added

- Method truncate() to clean tubes (#78).

### Changed

### Fixed
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ installed and the feature is not disabled by the configuration.
`{name = "tube_name", state = "request_type"}`

A list of possible request types: `done`, `take`, `kick`, `bury`, `put`,
`delete`, `touch`, `ack`, `release`. The metric on the `sharded_queue.api`
`delete`, `touch`, `ack`, `release`, `truncate`. The metric on the `sharded_queue.api`
role accumulates values from all buckets.

* Metric `tnt_sharded_queue_router_statistics_tasks` is a gauge with
Expand All @@ -224,7 +224,7 @@ installed and the feature is not disabled by the configuration.
`{name = "tube_name", method = "api_call_method", status = "ok" or "error"}`

A list of possible call methods: `put`, `take`, `delete`, `release`, `touch`,
`ack`, `bury`, `kick`, `peek`, `drop`.
`ack`, `bury`, `kick`, `peek`, `drop`, `truncate`.

### Storage (`roles.sharded-queue-storage` or `sharded_queue.storage` for the Cartridge)

Expand All @@ -235,7 +235,7 @@ installed and the feature is not disabled by the configuration.
`{name = "tube_name", state = "request_type"}`

A list of possible request types: `done`, `take`, `kick`, `bury`, `put`,
`delete`, `touch`, `ack`, `release`. The metric on the `sharded_queue.storage`
`delete`, `touch`, `ack`, `release`, `truncate`. The metric on the `sharded_queue.storage`
role shows actual values on the instance.

* Metric `tnt_sharded_queue_storage_statistics_tasks` is a gauge with
Expand All @@ -255,7 +255,7 @@ installed and the feature is not disabled by the configuration.
`{name = "tube_name", method = "api_call_method", status = "ok" or "error"}`

A list of possible call methods: `statistic`, `put`, `take`, `delete`,
`release`, `touch`, `ack`, `bury`, `kick`, `peek`, `drop`.
`release`, `touch`, `ack`, `bury`, `kick`, `peek`, `drop`, `truncate`.

## API extensions (compared to tarantool/queue)

Expand Down
2 changes: 1 addition & 1 deletion test/simple_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -293,4 +293,4 @@ function g.test_truncate()
local stat = g.queue_conn:call('queue.statistics', { tube_name })
t.assert_equals(stat.calls.put, task_count)
t.assert_equals(stat.calls.truncate, 2)
end
end
Loading