-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix issue where query get interrupted during prepare. #973
Merged
Conversation
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
rschili
reviewed
Jan 23, 2025
rschili
reviewed
Jan 23, 2025
/azp run imodel-native |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run imodel-native |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run imodel-native |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run imodel-native |
Azure Pipelines successfully started running 1 pipeline(s). |
ColinKerr
approved these changes
Jan 31, 2025
calebmshafer
approved these changes
Jan 31, 2025
@Mergifyio backport release/4.11.x release/4.10.x |
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
Feb 4, 2025
* do not interrupt query during prepare * fix * add debug arg to simulate interrupt * fix * fix a thread lockup when reading config. Config is no more stored on connection. * update api --------- Co-authored-by: Affan Khan <khanaffan@users.noreply.github.com> (cherry picked from commit d5e7430) # Conflicts: # iModelCore/ECDb/ECDb/ConcurrentQueryManagerImpl.cpp # iModelCore/ECDb/Tests/NonPublished/ConcurrentQueryTest_V2.cpp # iModelJsNodeAddon/IModelJsNative.cpp
mergify bot
pushed a commit
that referenced
this pull request
Feb 4, 2025
* do not interrupt query during prepare * fix * add debug arg to simulate interrupt * fix * fix a thread lockup when reading config. Config is no more stored on connection. * update api --------- Co-authored-by: Affan Khan <khanaffan@users.noreply.github.com> (cherry picked from commit d5e7430) # Conflicts: # iModelCore/ECDb/ECDb/ConcurrentQueryManagerImpl.cpp # iModelCore/ECDb/Tests/NonPublished/ConcurrentQueryTest_V2.cpp # iModelJsNodeAddon/IModelJsNative.cpp
khanaffan
added a commit
that referenced
this pull request
Feb 4, 2025
* do not interrupt query during prepare * fix * add debug arg to simulate interrupt * fix * fix a thread lockup when reading config. Config is no more stored on connection. * update api --------- Co-authored-by: Affan Khan <khanaffan@users.noreply.github.com>
khanaffan
added a commit
that referenced
this pull request
Feb 4, 2025
* do not interrupt query during prepare * fix * add debug arg to simulate interrupt * fix * fix a thread lockup when reading config. Config is no more stored on connection. * update api --------- Co-authored-by: Affan Khan <khanaffan@users.noreply.github.com>
@Mergifyio backport release/4.10.x release/4.11.x |
❌ No backport have been created
GitHub error:
|
This was referenced Feb 4, 2025
aruniverse
pushed a commit
that referenced
this pull request
Feb 6, 2025
… [release/4.10.x] (#989) * Fix issue where query get interrupted during prepare. (#973) * do not interrupt query during prepare * fix * add debug arg to simulate interrupt * fix * fix a thread lockup when reading config. Config is no more stored on connection. * update api --------- Co-authored-by: Affan Khan <khanaffan@users.noreply.github.com> (cherry picked from commit d5e7430) # Conflicts: # iModelCore/ECDb/ECDb/ConcurrentQueryManagerImpl.cpp # iModelCore/ECDb/Tests/NonPublished/ConcurrentQueryTest_V2.cpp # iModelJsNodeAddon/IModelJsNative.cpp * Fix issue where query get interrupted during prepare. (#973) * do not interrupt query during prepare * fix * add debug arg to simulate interrupt * fix * fix a thread lockup when reading config. Config is no more stored on connection. * update api --------- Co-authored-by: Affan Khan <khanaffan@users.noreply.github.com> * unused --------- Co-authored-by: affank <khanaffan@gmail.com> Co-authored-by: Affan Khan <khanaffan@users.noreply.github.com>
aruniverse
pushed a commit
that referenced
this pull request
Feb 6, 2025
… [release/4.11.x] (#988) * Fix issue where query get interrupted during prepare. (#973) * do not interrupt query during prepare * fix * add debug arg to simulate interrupt * fix * fix a thread lockup when reading config. Config is no more stored on connection. * update api --------- Co-authored-by: Affan Khan <khanaffan@users.noreply.github.com> (cherry picked from commit d5e7430) # Conflicts: # iModelCore/ECDb/ECDb/ConcurrentQueryManagerImpl.cpp # iModelCore/ECDb/Tests/NonPublished/ConcurrentQueryTest_V2.cpp # iModelJsNodeAddon/IModelJsNative.cpp * Fix issue where query get interrupted during prepare. (#973) * do not interrupt query during prepare * fix * add debug arg to simulate interrupt * fix * fix a thread lockup when reading config. Config is no more stored on connection. * update api --------- Co-authored-by: Affan Khan <khanaffan@users.noreply.github.com> * fix --------- Co-authored-by: affank <khanaffan@gmail.com> Co-authored-by: Affan Khan <khanaffan@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
itwinjs-core: iTwin/itwinjs-core#7592
Fixes: iTwin/itwinjs-core#7549
step()
function.ShuttingDown
which cause frontend to retry.delay
use for testing cause every query to delay at least once even when not testing.allowTestingArgs
help simulate a condition for testing.ConcurrentQuery
config is not stored on db connection anymore.The default config look as following. Only new change is
autoShutdowWhenIdealForSeconds: 1800