-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-51745] Enforce State Machine for RocksDBStateStore #50497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ericm-db
wants to merge
93
commits into
apache:master
Choose a base branch
from
ericm-db:state-machine-hardening
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
93 commits
Select commit
Hold shift + click to select a range
248fa8e
impl and unit test
liviazhu 52085cb
fix unit tests
liviazhu c294c9f
remove store from loadedProviders from task thread
liviazhu 44ddf22
impl and unit test
liviazhu a5495ee
fix unit tests
liviazhu 75f7aaa
remove store from loadedProviders from task thread
liviazhu c70af5f
state store impl
liviazhu 1c0106a
[WIP] Lock Hardening
ericm-db cbd35a0
correcting tests
ericm-db f6a35a0
Merge remote-tracking branch 'upstream/master' into state-machine-har…
ericm-db 28210e5
formatting and other stuff
ericm-db 5ca6244
adding tests
ericm-db 5fab410
removing state_store_lock_violation
ericm-db e524ed3
Provider state machine (#25)
ericm-db dc03440
removing tests
ericm-db 9016424
tests
ericm-db 8a2887e
removing import
ericm-db 3548ca3
nits
ericm-db c8c0a4e
addressing shutdown
ericm-db 817030d
adding condition
ericm-db e53eaba
fixing state data source read suite
ericm-db 17813c8
closing store in suite
ericm-db 7dcb927
fix
ericm-db 0808d04
v2 tests pass
ericm-db a2665ae
comments
ericm-db d42cc50
resolving conflicts
ericm-db 9efeefd
removing unnecessary logging
ericm-db 7b008b3
adding more docs
ericm-db 3482480
removing unnecessary comment
ericm-db ccdabc9
refactoring to use private helper func
ericm-db a0ea879
updating doc
ericm-db 02e8a91
removing param
ericm-db d774869
moving test back
ericm-db ba130a8
indentation
ericm-db 642f3b4
addressing comments
ericm-db 7f26f40
imports
ericm-db 78af7fe
addressing Livia's comment
ericm-db ca302f6
feedback
ericm-db 86f7e64
replacing log line
ericm-db c12a6ae
provider -> provider_id
ericm-db 1f7c3de
removing taskContext since it's null
ericm-db a74f935
Merge remote-tracking branch 'upstream/master' into maintenance-changes
ericm-db d17e476
removing taskContext since it's null
ericm-db c363483
adding back tc
ericm-db 7079852
adding test
ericm-db 40fc8fb
state_store_provider_id -> task_id
ericm-db eb8f3e1
initial feedback
ericm-db 31198b1
with timeout
ericm-db b241e33
adding queue
ericm-db 6823586
resolving merge conflicts
ericm-db 08f6afa
imports
ericm-db c3c160c
adding test case
ericm-db e1ebd4a
queueing changes
ericm-db db2506f
seconds -> ms
ericm-db 7d5f168
boolean to enum and other feedback
ericm-db dab9e8f
thanks livia
ericm-db 172ee83
waiting for timeout
ericm-db b051d5a
wrapping in synch block
ericm-db 7384a84
adding condition on submitMaintenance
ericm-db 46b300a
adding comment
ericm-db b3c584b
using threadlocal instead
ericm-db 63573db
unnecessary change
ericm-db f7d0e70
removing clera
ericm-db 560c5c7
Added cleanup
ericm-db 81c0eed
adding assertion
ericm-db 0465454
setting usedForWriteStore in StateStoreRDD
ericm-db 93f014a
case class
ericm-db 226f99b
changes
ericm-db a892142
test
ericm-db 768346a
upgradeable read store
ericm-db 776ad6b
code feedback
ericm-db 4946f9b
adding parens
ericm-db 411cce2
removing test
ericm-db 55664c4
adding state
ericm-db 9faf0a4
adding test
ericm-db 2c34e9b
merging
ericm-db bda4234
merging
ericm-db 545f9b1
building after merge
ericm-db 2b5b095
added logs
ericm-db ecf5e0f
removing acquire and release calls
ericm-db a81fa47
moving clearStore to only mapPartitionsWithReadStateStore
ericm-db 25f623b
ignoring other test
ericm-db 253d70b
rm acquirelock from rocksdb and move tests (#26)
liviazhu 3f1f985
removing abort failure listener from mapPartitionsWithReadStateStore
ericm-db bbce1fd
adding tasklistener changes
ericm-db 0dcdf0e
printing log only if transition != Update
ericm-db e2dbaf0
adding transition logkey
ericm-db 5839a88
adding condition on failure listener
ericm-db d909bf0
Merge branch 'master' into state-machine-hardening
ericm-db 5fa6ea4
validateAndTransitionState before rollback()
ericm-db 6de4e29
Merge branch 'state-machine-hardening' of github.com:ericm-db/spark i…
ericm-db 42c3adc
adding more logs
ericm-db f43c8e9
logs
ericm-db File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we abort here? Can you leave a comment?