Comments (13)
@VasuDevrani Looks good, you can go ahead to improve this.
from kvrocks.
do we have ability to recovery from error if Resume() failed for one-times?
There might be some cases (disk no space?) where it needs to be done externally for the Resume()
to succeed.
from kvrocks.
@VasuDevrani Cool, don't hesitate to raise if you have any ideas.
from kvrocks.
@VasuDevrani Looks good, you can go ahead to improve this.
See, the code proposed as solution just prints ERROR in else block.
How about we add a set number of retry for resuming DB operation in case of failure, and if it still fails after retries, then we log a CRITICAL error finally.
from kvrocks.
I'm wondering if it's a good idea to do that. I prefer letting users determine whether to terminate themself instead of by default N times retry. @PragmaTwice @caipengbo @torwig What do you think?
from kvrocks.
Yes, I also don't think it's necessary to set a number of retries. Alternatively, we could provide a RESUME
command, which would give administrators more options.
from kvrocks.
Out-of curiousity, do we have ability to recovery from error if Resume()
failed for one-times? Seems we can only recover from merely case like Compaction output error or flush error?
from kvrocks.
Thats a good point, so we should let user decide what to do during this case...
from kvrocks.
@VasuDevrani As discussed above, improving the logging message is good, but don't expect to escalate the FATAL error after N time tries. What do you think?
from kvrocks.
@VasuDevrani As discussed above, improving the logging message is good, but don't expect to escalate the FATAL error after N time tries. What do you think?
Yeah I've considered above conversation. I'm learning a bit more about Kvrocks, its internals. will update here with my thoughts after a while. Thanks for following up.
from kvrocks.
@VasuDevrani As discussed above, improving the logging message is good, but don't expect to escalate the FATAL error after N time tries. What do you think?
I agree with just improving the logging message for now. (should i make continue with a PR?)
@VasuDevrani Cool, don't hesitate to raise if you have any ideas.
Later, if need arise we can go with idea of having RESUME
command for admins as suggested by @caipengbo
or, we can add a configuration option for max_number_of_retry
for this operation
from kvrocks.
I agree with just improving the logging message for now. (should i make continue with a PR?)
Sure, you can continue improving the logging message.
from kvrocks.
I agree with just improving the logging message for now. (should i make continue with a PR?)
Yes, RESUME is not a high priority.
from kvrocks.
Related Issues (20)
- Move the performance benchmark to website HOT 3
- Optimize the implementation of IntervalSet intersection HOT 2
- [Build] Add supports for build kvrocks with UBSAN
- [Tools] Add a git commit hook for clang-format checking HOT 4
- Add option to INFO to return a json payload HOT 13
- should we start the compaction_checker_range thread if it's not configed. HOT 3
- TLS test case seems broken
- Improve consistency and isolation semantics by adding Context parameter to DB API HOT 19
- Add support for the TOUCH command HOT 2
- Potential data inconsistency issues? HOT 2
- Transaction with FlushDB:DeleteRange unsupported in WriteBatchWithIndex
- A new version of search key and metadata encoding
- Is stream column family useful to be a seperate cf instead of merging into subkey cf? HOT 4
- [OSPP 2024] Tracking issues: Enhance Kvrocks Transaction Syntax
- Improve and unify the RESP error message HOT 3
- Force PR titles to follow the conventional commit format HOT 1
- Docker images with Debian or Ubuntu HOT 4
- [Bug] XINFO overflow when deleting pending message and consumer HOT 5
- Support passing a slot range in CLUSTERX MIGRATE HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kvrocks.