Skip to content

Commit 67d7999

Browse files
authored
[Release] Bump to v0.3.0 (#293)
1 parent deaa4c3 commit 67d7999

File tree

5 files changed

+41
-8
lines changed

5 files changed

+41
-8
lines changed

CHANGELOG.rst

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,44 @@
22
Changelog
33
=========
44

5-
Next release
6-
============
5+
Version 0.3.0
6+
=============
7+
8+
Breaking changes
9+
****************
10+
11+
- The variables exposed on the metrics endpoint were seriously refactored. The following metrics
12+
were removed:
13+
* pyaleph_processing_pending_messages_gtasks_total
14+
* pyaleph_processing_pending_messages_action_total
15+
* pyaleph_processing_pending_messages_messages_actions_total
16+
* pyaleph_processing_pending_messages_i_total
17+
* pyaleph_processing_pending_messages_j_total
18+
- The `allow_amend` and `code.comment` fields are now mandatory for PROGRAM messages.
19+
20+
New features
21+
************
22+
23+
- Users can now query the programs that respond to Aleph messages using the new /programs/on/messages endpoint.
24+
- Users can now forget aggregates by specifying one or more aggregate keys in the `aggregates` field
25+
of the FORGET message.
26+
- The message processing loop was heavily refactored. Users can now set parallel processing
27+
limits by message type to tune the CCN to their network abilities.
28+
- A lot of improvements were made regarding code quality, by validating user data earlier in the process and using
29+
classes after the validation. This results in minor performance improvements and increases maintainability of
30+
the code base.
31+
- We now use rotating log files. This resolves an issue where nodes could go out of disk space because of the size of
32+
the log files.
33+
- Resolved a 500 error that occurred when feeding an invalid hash format to /storage/raw/{hash}.
34+
35+
36+
Internal changes
37+
****************
738

8-
- Breaking change: the "pyaleph_processing_pending_messages_action_total" and
9-
"pyaleph_processing_pending_messages_action_total" values are no longer part of the metrics.
39+
- A lot more tests!.
40+
- The throughput of the TXs and message processing loops was improved. The jobs are now guaranteed to execute
41+
the same number of tasks over time, instead of a varying amount before.
42+
- We now use unordered bulk inserts when writing to the DB. This potentially improves performance.
1043

1144
Version 0.2.1
1245
=============

deployment/samples/docker-compose/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ volumes:
77
services:
88
pyaleph:
99
restart: always
10-
image: alephim/pyaleph-node:latest
10+
image: alephim/pyaleph-node:v0.3.0
1111
command: --config /opt/pyaleph/config.yml --key-dir /opt/pyaleph/keys -v
1212
ports:
1313
- "127.0.0.1:8000:8000/tcp"

deployment/samples/docker-monitoring/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ volumes:
99
services:
1010
pyaleph:
1111
restart: always
12-
image: alephim/pyaleph-node:latest
12+
image: alephim/pyaleph-node:v0.3.0
1313
command: --config /opt/pyaleph/config.yml --key-dir /opt/pyaleph/keys -vv
1414
ports:
1515
- "127.0.0.1:8000:8000/tcp"

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,5 +293,5 @@
293293

294294

295295
rst_epilog = """
296-
.. |pyaleph_version| replace:: v0.2.1
296+
.. |pyaleph_version| replace:: v0.3.0
297297
"""

src/aleph/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def get_defaults():
1717
"jobs": {
1818
"pending_messages": {
1919
"max_concurrency": 2000,
20-
"store": 100,
20+
"store": 30,
2121
},
2222
"pending_txs": {
2323
"max_concurrency": 20,

0 commit comments

Comments
 (0)