Clayton Coleman
bbd8096065
DeltaFIFO should not report HasSynced until deletes are reported
...
Deletions identified by knownObjects on the initial sync replace
(immediately after the List from a reflector) should be considered part
of the initial sync since we have the information available at the time
we do the deletion.
An error during Replace() can result in Populated not being set, but it
was incorrect before (population would be wrong) and queueActionLocked
does not error except on "my cache is broken because I gave an incorrect
keyFunc".
2016-09-27 12:56:17 -04:00
Wojciech Tyczynski
e0779df721
Fix race in DeltaFIFO
2016-09-06 20:48:18 +02:00
Daniel Smith
edc598a359
Do not hold the lock for a long time
2016-08-18 17:40:33 -07:00
Daniel Smith
3e69c5a9b8
queueActionLocked requires write lock
2016-08-17 17:34:49 -07:00
Clayton Coleman
2132ecc28d
Allow a FIFO client to requeue under lock
...
The Pop method should allow a caller to requeue an item while under the
fifo lock, to avoid races on deletes.
2016-07-10 17:32:21 -04:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Wojciech Tyczynski
ccd42e9236
Fix bugs in DeltaFIFO
2016-06-15 15:08:21 +02:00
Wojciech Tyczynski
5d702a32c1
Fix race in informer
2016-06-14 16:40:12 +02:00
Chao Xu
1665546d2d
add finalizer logics to the API server and the garbage collector; handling DeleteOptions.OrphanDependents in the API server
2016-05-24 13:07:28 -07:00
Robert Rati
e388c137bb
Separate sync and list functionality in the reflector. #23394
2016-05-19 07:41:24 -04:00
Vincent Behar
efe7775578
fix typo
2016-04-04 14:40:01 +02:00
mqliang
8e615df000
fix the HasSynced() bug for Informer
2016-02-03 11:40:11 +08:00
Daniel Smith
57c6dd93ea
Switch type; add comments & disclaimer
2015-10-14 16:18:56 -07:00
Daniel Smith
4bdb1259a7
fix delta fifo & various fakes for go1.5.1
2015-10-14 16:07:46 -07:00
Daniel Smith
15b30b8b09
Move version agnostic parts of client
...
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
Kris Rousey
7ba5b058cc
Moving client libs to unversioned dir
2015-08-18 10:03:19 -07:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Prashanth B
6c209ec193
Revert "Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones""
2015-05-29 09:24:39 -07:00
Tim Hockin
b69fad211e
Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones"
2015-05-28 10:23:55 -07:00
Prashanth Balasubramanian
8fa66bd962
Delta fifo includes objects in DeleteFinalStateUnknow, rcs stop faster
2015-05-27 16:45:51 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
markturansky
e5f280b79e
fixed typos
2015-04-08 21:00:48 -04:00
markturansky
8f24fbc40c
fixed typo
2015-04-07 12:38:09 -04:00
Daniel Smith
68287713a0
Add a "delta fifo", which queues up object changes
...
Test coverage for module at 80%.
2015-03-31 10:25:29 -07:00