-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adds close state checking for snapshot reader and writer (#1114)
- Loading branch information
1 parent
6be4448
commit 687446e
Showing
5 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
import com.alipay.sofa.jraft.entity.RaftOutter.SnapshotMeta; | ||
|
||
/** | ||
* Snapshot reader. | ||
* Snapshot reader.<strong>Note: it's not thread-safe.</strong> | ||
* | ||
* @author boyan ([email protected]) | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
import com.google.protobuf.Message; | ||
|
||
/** | ||
* Snapshot writer. | ||
* Snapshot writer. <strong>Note: it's not thread-safe.</strong> | ||
* | ||
* @author boyan ([email protected]) | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
import com.alipay.sofa.jraft.util.ByteBufferCollector; | ||
|
||
/** | ||
* Snapshot file reader | ||
* Snapshot file reader. <strong>Note: it's not thread-safe.</strong> | ||
* | ||
* @author boyan ([email protected]) | ||
* | ||
|