Wang Xixu has uploaded this change for review. ( http://gerrit.cloudera.org:8080/20282
Change subject: KUDU-3498 Scanner keeps alive in periodically ...................................................................... KUDU-3498 Scanner keeps alive in periodically Kudu caches the scanner id in the tablet server for continuing reading. It will be expired if the idle time is over the defined scanner ttl time. Sometimes the client reads a batch of data, if the data is every large, it takes a long time to handle it. Then the client reads the next batch using the same scanner, the scanner will be expired even if it has send a keep alive requests. This patch supports to keep scanner alive in periodically. It uses a timer to send keep alive requests background.So, it will never be expired. Change-Id: I1165d96814eb4bcd5db9b5cb60403fffc5b18c81 --- M src/kudu/client/client-test.cc M src/kudu/client/client.cc M src/kudu/client/client.h M src/kudu/client/scanner-internal.cc M src/kudu/client/scanner-internal.h 5 files changed, 77 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/82/20282/1 -- To view, visit http://gerrit.cloudera.org:8080/20282 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I1165d96814eb4bcd5db9b5cb60403fffc5b18c81 Gerrit-Change-Number: 20282 Gerrit-PatchSet: 1 Gerrit-Owner: Wang Xixu <[email protected]>
