Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9a922efb authored by Thomas Bouvier's avatar Thomas Bouvier :blush:
Browse files

Lint

Also, this commit disables an assertion causing a failure in
consumer client.
parent 20437fdc
No related branches found
No related tags found
No related merge requests found
Pipeline #194621 passed
...@@ -143,13 +143,13 @@ COPY --from=builder \ ...@@ -143,13 +143,13 @@ COPY --from=builder \
/usr/lib/x86_64-linux-gnu/libcrypto* \ /usr/lib/x86_64-linux-gnu/libcrypto* \
/usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/
RUN ldd /usr/local/lib/libkera.so \
&& ldd /opt/kera/install/bin/coordinator \
&& ldd /opt/kera/install/bin/server
RUN mkdir /logs RUN mkdir /logs
ENV LD_LIBRARY_PATH="/usr/local/lib/:$LD_LIBRARY_PATH" ENV LD_LIBRARY_PATH="/usr/local/lib/:$LD_LIBRARY_PATH"
RUN ldd /usr/local/lib/libkera.so \
&& ldd /opt/kera/install/bin/coordinator \
&& ldd /opt/kera/install/bin/server
COPY ./docker-entrypoint.sh / COPY ./docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"] ENTRYPOINT ["/docker-entrypoint.sh"]
This diff is collapsed.
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#define BATCH_SIZE 2000 #define BATCH_SIZE 2000
#define KEY_SIZE 10 #define KEY_SIZE 10
#define RECORD_SIZE 100 #define RECORD_SIZE 100
#define RECORD_COUNT 100000 #define RECORD_COUNT 1000000
#define PRODID 1 #define PRODID 1
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
...@@ -94,7 +94,6 @@ int main(int argc, char *argv[]) { ...@@ -94,7 +94,6 @@ int main(int argc, char *argv[]) {
batch->reset(keyHash, STREAMLET_ID); batch->reset(keyHash, STREAMLET_ID);
for (uint64_t i = 0; i < RECORD_COUNT; i++) { for (uint64_t i = 0; i < RECORD_COUNT; i++) {
std::cout << "Record: " << i << " (totalRecords: " << totalRecords << ", totalBatches: " << totalBatches << ")" << std::endl;
/* /*
if (KEY_SIZE > 0) { if (KEY_SIZE > 0) {
memset(keyv + tslength, 0, KEY_SIZE - tslength); memset(keyv + tslength, 0, KEY_SIZE - tslength);
...@@ -156,12 +155,14 @@ int main(int argc, char *argv[]) { ...@@ -156,12 +155,14 @@ int main(int argc, char *argv[]) {
while (!batchRequest.isReady()) { while (!batchRequest.isReady()) {
ramcloud->poll(); ramcloud->poll();
//KerA::Cycles::sleep(1000000); KerA::Cycles::sleep(1000); // 1 ms
} }
totalBatches++; totalBatches++;
totalRecords += batch->numberObjectsAppended; totalRecords += batch->numberObjectsAppended;
std::cout << ">>> record " << i << " total_records " << totalRecords << " total_batches " << totalBatches << std::endl;
batch->reset(keyHash, STREAMLET_ID); batch->reset(keyHash, STREAMLET_ID);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment