Closed
Bug 784598
Opened 13 years ago
Closed 10 years ago
[meta] outstanding Sync1.1 operational improvements
Categories
(Cloud Services Graveyard :: Server: Sync, defect, P4)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: rfkelly, Unassigned)
References
Details
(Whiteboard: [qa+])
We have been deferring or WONTFIXing quite a few operational improvements for Sync1.1, with the expectation that we can just fix them in Sync2.0. Given that Sync1.1 is going to be with us for some time yet, this bug is for collecting those improvements that we should specifically still target for Sync1.1.
I'll add them as blockers to this bug, y'all speak up if you don't think it's worth implementing them over the remaining lifetime of Sync1.1. (All have been or will be implemented for Sync2.0).
Reporter | ||
Comment 1•13 years ago
|
||
Bug 735085: prevent overlapping writes to same user/collection by different clients
This would involve doing a "SELECT FOR UPDATE" when reading the id for a user's collection, so that no other writes can be performed to that collection while the request is outstanding. No changes required to database schema, but would need some refactoring of how db connections are handled in python. I've basically already done this for Sync2.0 and that would could be partially re-used.
Depends on: 735085
Reporter | ||
Comment 2•13 years ago
|
||
Bug 750964: Prevent a single unresponsive database from bringing down the webheads
This will just involve me refactoring the DB connection code so that we can detect and avoid downed DBs.
Depends on: 750964
Reporter | ||
Comment 3•13 years ago
|
||
Bug 599096: deadlock when delete_objects and store_object collide
I think this will be resolved by the locking suggested in Bug 735085.
Reporter | ||
Comment 4•13 years ago
|
||
Bug 624542: probably faster queries for username, collection, MAX(modified)
I've no idea how or why these queries would be faster, but am happy to bench them when we all get a few free cycles :-)
Depends on: 624542
Reporter | ||
Comment 5•13 years ago
|
||
Bug 624791: Mysql error "Query execution was interrupted" should lead to 503+Retry-After
Since this relates to handling a specific MySQL error code, we should be able to special-case it in the same way as we did for Bug 692544.
Depends on: 624791
Reporter | ||
Comment 6•13 years ago
|
||
Bug 637523: syncserver should never connect to a db marked as down in the adm1 db
This sounds pretty similar to Bug 750964, they may have a common solution.
Depends on: 637523
Reporter | ||
Comment 7•13 years ago
|
||
Bug 693375: Defer deletes to operational discretion
I recall us working around this problem by increasing the worker timeouts, giving them long enough for the deletes to complete successfully. Ops, are you still interested in the deferred-delete solution described in that bug?
Depends on: 693375
Reporter | ||
Comment 8•13 years ago
|
||
Bug 766026: Gracefully handle lots of records with closely-spaced ttls
I think is a specific example of a more generic request: paginate SELECT queries so that one query is able to monopolize all the database resources. We could implement it with an internal-to-the-server variation of the pagination techniques discussed in Bug 735102.
Depends on: 766026
Updated•13 years ago
|
Whiteboard: [qa+]
Reporter | ||
Comment 9•13 years ago
|
||
Note to self, :atoll has identified Bug 750964 as the top priority from this collection so far.
Reporter | ||
Updated•13 years ago
|
Updated•12 years ago
|
QA Contact: jbonacci
Reporter | ||
Comment 10•12 years ago
|
||
Adding Bug 668664. Bob or Toby, anything in this list that we want to revive after the latest round of adventures?
Depends on: 668664
Updated•11 years ago
|
Priority: -- → P1
Reporter | ||
Comment 11•11 years ago
|
||
Unlinking this from the sync1.5-prod-ready tree, I've added the relevant sub-bugs directly to it.
No longer blocks: 907479
Updated•10 years ago
|
Priority: P1 → P4
Reporter | ||
Comment 12•10 years ago
|
||
sync is dead, long live sync
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Updated•2 years ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•