Skip to content

Commit 25a80a8

Browse files
authored
Merge pull request #26 from tonlabs/0.27.2-rc
Version 0.27.2
2 parents f579aa6 + a1cfd00 commit 25a80a8

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Release Notes
22
All notable changes to this project will be documented in this file.
33

4+
## 0.27.2 Apr 28, 2021
5+
### Fixed
6+
- Transaction could be lost if it was created near the end of block producing interval. Again
7+
48
## 0.27.1 Apr 28, 2021
59
### Fixed
610
- Subscriptions for blocks, transactions and messages do not trigger multiple times any more.

ton-node-se/ton_node/src/node_engine/messages.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,8 @@ let now = Instant::now();
372372
seq_no, prev_ref, 0, Option::None,
373373
required_block_at));
374374

375+
let mut is_empty = true;
376+
375377
while start_time.elapsed() < timeout {
376378

377379
if let Some(msg) = self.queue.dequeue_first_unused() {
@@ -407,6 +409,7 @@ let now = Instant::now();
407409

408410
pool.execute(th);
409411

412+
is_empty = false;
410413
} else {
411414
thread::sleep(Duration::from_nanos(100));
412415
}
@@ -419,7 +422,7 @@ let time0 = now.elapsed().as_micros();
419422
self.executors.lock().clear();
420423
self.queue.locks_clear();
421424

422-
if !builder.is_empty() {
425+
if !is_empty {
423426
let new_shard_state = std::mem::take(&mut *new_shard_state.lock());
424427
let (block, count) = builder.finalize_block(shard_state, &new_shard_state)?;
425428
info!(target: "profiler",

ton-node-se/ton_node_startup/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
build = "../build/build.rs"
33
name = "ton_node_startup"
4-
version = "0.27.1"
4+
version = "0.27.2"
55

66
[dependencies]
77
clap = "2.32.0"

0 commit comments

Comments
 (0)