Commit Graph

2730 Commits

Author SHA1 Message Date
Erik Arvidsson 6b6c409d16 Splore Blobs and more (#2279)
- Display the prolly-tree for Blobs
- Fix fallout from sha1-xxx to xxxx
- Make the hashes links to splore rooted at that hash

Fixes #2218
Fixes #1321
2016-08-05 11:41:33 -07:00
Mike Gray 8c5de64bda adding readme for nomsfs (#2280) 2016-08-05 10:55:42 -07:00
Ben Kalman b9d53a82b4 Remove 2nd slack badge from README.md (#2286) 2016-08-05 10:33:53 -07:00
Ben Kalman c386725d4e Fix struct diff (#2281)
It inverted the added/removed order.
Fixes https://github.com/attic-labs/noms/issues/2278.
2016-08-04 16:11:11 -07:00
Aaron Boodman eefd79d1a0 Update README.md 2016-08-04 15:07:00 -07:00
Aaron Boodman 4ec02b267d Update README.md 2016-08-04 15:05:32 -07:00
Aaron Boodman a417e55c5f Update README.md 2016-08-04 15:04:32 -07:00
Aaron Boodman 9d8aa213e9 Update README.md 2016-08-04 15:03:39 -07:00
Ben Kalman 073ceadf00 Add slack badge to top of readme (#2275) 2016-08-04 14:57:47 -07:00
Benjamin Kalman 31790e8f37 Bump JS to v56.2.0 to pick up img change 2016-08-04 14:47:39 -07:00
Ben Kalman 0ed95244a5 Fix image in JS (#2277) 2016-08-04 14:45:46 -07:00
cmasone-attic b89aa7dda0 Merge pull request #2261 from cmasone-attic/dataset_cleanup
Dataset cleanup
2016-08-04 10:05:31 -07:00
cmasone-attic c3a3d11e2c Merge pull request #2268 from cmasone-attic/commentfix
Comment fix: RefCommit -> Ref<Commit>
2016-08-04 09:41:35 -07:00
Chris Masone 26211aadd5 Comment fix: RefCommit -> Ref<Commit> 2016-08-04 09:37:48 -07:00
cmasone-attic 4ccaa7014a Rate-limit LevelDBStore read operations as well (#2239)
Under load, our server can exhaust the number of file descriptors it's
allowed to have open at one time. Part of this is because of how many
incoming connections it's handling, but we believe that handling lots
of simultaneous reads to leveldb is the larger part of the issue.

This patch applies the rate limit we were using for writing to both
read and write operations.

Fixes #2227
2016-08-04 09:35:35 -07:00
Ben Kalman 1116a05792 Fix Splore node labels in Firefox (#2264) 2016-08-03 22:54:03 -07:00
Aaron Boodman 5950eac64c Update faq.md 2016-08-03 22:11:55 -07:00
Surya Gaddipati 3f9d85359a Fix command line flag (#2266) 2016-08-03 18:32:33 -07:00
Chris Masone 0f910239d8 Dataset cleanup
1) ValueStore now maintains validation cache info across Commit() calls,
   so we can remove a workaround in Dataset.Commit()
2) Update comment for setNewHead
2016-08-03 13:06:11 -07:00
Mike Gray 66100a9625 pointer to godoc reference (#2260) 2016-08-03 10:09:53 -07:00
Ben Kalman 02f7e9556c Tweak "Deleted dataset..." message (#2255)
It (a) had a spurious blank line, (b) should print the dataset path not
just its ID, (c) should include the # for the hash. Now it says:
```
> noms ds -d path/to/db::my-dataset
Deleted path/to/db::my-dataset (was #lvnbmpj94r9h3nuaj1t0m4jeqp25o1ve)
>
```
2016-08-02 18:22:20 -07:00
Ben Kalman 7c10334472 Make sure that set/map diff has completed before returning from noms log (#2249)
This fixes https://github.com/attic-labs/noms/issues/2235 where set/map
diff was still running when noms log has finished, and already closed
its database. Commonly this would crash.

I've removed panic-based control flow to make error handling explicit,
and added a "DiffLeftRight" method to set/map so that noms log completes
ASAP. See the issue for details.
2016-08-02 18:14:09 -07:00
Adam Leventhal c6d99f2fab noms-based fuse implementation (#2256) 2016-08-02 17:50:39 -07:00
Ben Kalman 07be381117 Support reading from stdin in url-fetch
I need this in the short term because CSV raw files are too large to
check into github, so they need to be split up. It's easier to just do
"cat * | url-fetch -stdin" than recombining them on the file system.
2016-08-02 17:29:10 -07:00
Adam Leventhal cb10a6ae7f vendor github.com/hanwen/go-fuse (#2245) 2016-08-02 17:14:10 -07:00
Adam Leventhal 117eafebbc add Blob.Splice() (#2242) 2016-08-02 16:58:41 -07:00
Will Glynn eea4d92804 Change "Amazon Dynamo" to "Amazon DynamoDB" (#2246) 2016-08-02 16:39:51 -07:00
mgedigian 321350d7e5 fixing typos, stale comments, broken link (#2250) 2016-08-02 15:47:04 -07:00
Erik Arvidsson d0641a4e5c Update CONTRIBUTING.md
Link to individual and corporation CLAs
2016-08-02 15:04:42 -07:00
Erik Arvidsson 020df6e936 Create CONTRIBUTING.md 2016-08-02 15:01:44 -07:00
cmasone-attic 160d89c639 Merge pull request #2251 from cmasone-attic/readme
Hashes aren't sha1 anymore, and aren't prefixed with algo
2016-08-02 14:22:26 -07:00
Chris Masone 4043512b9c Hashes aren't sha1 anymore, and aren't prefixed with algo
Also, they're only 32 characters long.
2016-08-02 14:21:32 -07:00
Erik Arvidsson 7c068f311a Update README.md (#2248) 2016-08-02 14:02:30 -07:00
Adam Leventhal 6f46c0eba3 clean up human readable output (#2244) 2016-08-02 13:31:19 -07:00
cmasone-attic 6183c6c69d Merge pull request #2241 from cmasone-attic/issue2116
Fix some comments in remote_database_handlers.go
2016-08-02 11:45:17 -07:00
Chris Masone 7da80c971e Fix some comments in remote_database_handlers.go 2016-08-02 11:44:29 -07:00
cmasone-attic e7430225aa Merge pull request #2232 from cmasone-attic/issue2116
Validate type of new Root in root/ POST handler
2016-08-02 11:43:24 -07:00
Aaron Boodman 29e8e7bfac Update README.md 2016-08-02 09:19:48 -07:00
Aaron Boodman 4ca89bfd7d add splore pic 2016-08-02 09:18:49 -07:00
Aaron Boodman 3f8ac34da5 Update README.md 2016-08-01 23:06:34 -07:00
Chris Masone 4f073aee3d Validate type of new Root in root/ POST handler
In the server side of the Remote Databse, the handler for
UpdateRoot now verifies that the new proposed Root is of a
legal type: empty map OR Map<String, Ref<Commit-like>>

Fixes #2116
2016-08-01 16:05:37 -07:00
Dan Willhite 968e12d9c6 Merge pull request #2231 from willhite/work
Fix noms log output when --online is used. Fixes #2150
2016-08-01 15:52:36 -07:00
Dan Willhite e4266a0d3b Add test 2016-08-01 15:30:25 -07:00
cmasone-attic 0b102403b3 loadtest.go: add IP into seed (#2230)
When running loadtest on a number of machines all at once, machines that
start at the same time tend to wind up with the same random seed, leading
to the same sequence of operations.

Mixing in the IP address perturbs the seed enough to change things up.
2016-08-01 15:19:31 -07:00
Dan Willhite 8d09fd770b Fix noms log output when --online is used. Fixes #2150 2016-08-01 14:19:09 -07:00
Aaron Boodman af6f702e78 Update README.md 2016-08-01 13:32:16 -07:00
Dan Willhite 8fee5ca80b Merge pull request #2225 from willhite/work
Increase performance of walk.AllP() for large collections.
2016-08-01 12:00:01 -07:00
cmasone-attic 55025ee801 Add caching layer to demo-server (#2228)
This patch creates a new kind of chunks.Factory that demo-server
uses to vend ChunkStore instances that all share the same
MemoryStore-based Chunk cache. This cache _will_ grow without bound,
but the current RAM/data ratio on demo.noms.io means that, in practice,
we will be fine for a bit.

This will need to be removed in favor of a real solution in Issue #2227

Fixes #2009
2016-08-01 11:55:16 -07:00
Dan Willhite e87cbb7574 Increase performance of walk.AllP() for large collections.
Call IterAll() on collections rather than ChildValues().
2016-08-01 11:44:38 -07:00
Rafael Weinstein 1c1d1920bf Make Pull step down one level at a time, de-dup source DB work queue (#2226)
It turns out Pull() was making some bad assumptions about how the Go
heap package used its backing storage. Since it wasn't really relying
on heap guarantees anyway, this changes the code to use a slice of Ref
that's sorted in order of increasing ref-height: RefByHeight.
2016-08-01 11:28:29 -07:00